aboutsummaryrefslogtreecommitdiffstats
path: root/mail/procmail
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-06-14 22:18:22 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-06-14 22:18:22 +0800
commit11dbeb88ac422abd53c10aa3e2fa6358e7532188 (patch)
tree395860938653e53051d3dc2a2143e55956831944 /mail/procmail
parent11eeefc2fdf33a0e840cd58c3813692fb54d00db (diff)
downloadfreebsd-ports-gnome-11dbeb88ac422abd53c10aa3e2fa6358e7532188.tar.gz
freebsd-ports-gnome-11dbeb88ac422abd53c10aa3e2fa6358e7532188.tar.zst
freebsd-ports-gnome-11dbeb88ac422abd53c10aa3e2fa6358e7532188.zip
Make procmail follow ${PREFIX}
Bump PORTREVISION PR: 16983 Submitted by: Pete Fritchman <petef@databits.net> Reviewed by: will
Diffstat (limited to 'mail/procmail')
-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>