summaryrefslogtreecommitdiff
path: root/mail/ripmime/Makefile
blob: b93b9bca51db1c61cdb92b60fc914a910c2256e2 (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
28
29
30
31
32
# New ports collection Makefile for:	RipMIME
# Date created:				16th March 2001
# Whom: 				Justin Stanford <jus@security.za.net>
#
# $FreeBSD$
#

PORTNAME=	ripmime
PORTVERSION=	1.3.2.2
CATEGORIES=	mail
MASTER_SITES=	http://www.pldaniels.com/ripmime/

MAINTAINER=	jus@security.za.net
COMMENT=	Extracts attached files out of a MIME encoded email package

PLIST_FILES=	bin/ripmime
MAN1=		ripmime.1
USE_REINPLACE=	yes

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

do_install:
	${INSTALL_PROGRAM} ${WRKSRC}/ripmime ${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/ripmime.1 ${MANPREFIX}/man/man1/

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>