aboutsummaryrefslogtreecommitdiff
path: root/mail/ripmime/Makefile
blob: ca9420b9713e204495006752644cb6c6cfe9242f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Justin Stanford <jus@security.za.net>
# $FreeBSD$

PORTNAME=	ripmime
PORTVERSION=	1.4.0.10
CATEGORIES=	mail
MASTER_SITES=	http://www.pldaniels.com/ripmime/ \
		GENTOO

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	Extracts attached files out of a MIME encoded email package

MAKE_JOBS_UNSAFE=	yes

PLIST_FILES=	bin/ripmime man/man1/ripmime.1.gz

pre-build:
	@${REINPLACE_CMD} -e 's!CC=!CC?=!; s!/usr/local!${PREFIX}!; \
		s!^CFLAGS=!CFLAGS ?=!' \
		${WRKSRC}/Makefile ${WRKSRC}/ripOLE/Makefile \
		${WRKSRC}/tnef/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ripmime ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/ripmime.1 ${STAGEDIR}${PREFIX}/man/man1/

.include <bsd.port.mk>