summaryrefslogtreecommitdiff
path: root/mail/procmail/Makefile
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-14 14:18:22 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-06-14 14:18:22 +0000
commit7eb038d68414d2b63c13dd31baa60175759eaa4e (patch)
treeee9418d735288007361f7a4626bb56d5e1e04197 /mail/procmail/Makefile
parentUpdate isync from 0.4 to 0.5 (only verison number and distfile checksum update (diff)
Make procmail follow ${PREFIX}
Bump PORTREVISION PR: 16983 Submitted by: Pete Fritchman <petef@databits.net> Reviewed by: will
Diffstat (limited to 'mail/procmail/Makefile')
-rw-r--r--mail/procmail/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile
index ec330457c88d..c3380e34b2a0 100644
--- a/mail/procmail/Makefile
+++ b/mail/procmail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= procmail
PORTVERSION= 3.15.1
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/
@@ -23,4 +24,9 @@ IS_INTERACTIVE= yes
MAN1= procmail.1 formail.1 lockfile.1
MAN5= procmailex.5 procmailrc.5 procmailsc.5
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-configure:
+ @${PERL} -pi -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/config.h
+
+.include <bsd.port.post.mk>