aboutsummaryrefslogtreecommitdiff
path: root/mail/postgrey/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2005-01-27 00:03:28 +0000
committerWill Andrews <will@FreeBSD.org>2005-01-27 00:03:28 +0000
commit4d432f55788c61366221c906c0698ad481b06dda (patch)
tree1f915fd984408c08a901e5f94e2089e93284067c /mail/postgrey/Makefile
parent10e45b9ad0b301588b0779d7f7e42600a309f407 (diff)
downloadports-4d432f55788c61366221c906c0698ad481b06dda.tar.gz
ports-4d432f55788c61366221c906c0698ad481b06dda.zip
Notes
Diffstat (limited to 'mail/postgrey/Makefile')
-rw-r--r--mail/postgrey/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index 107b5cd0b09b..b2ae5492f432 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= postgrey
-PORTVERSION= 1.16
+PORTVERSION= 1.17
CATEGORIES= mail
MASTER_SITES= http://isg.ee.ethz.ch/tools/postgrey/pub/
@@ -46,6 +46,12 @@ pre-extract:
.endif
.endif
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Needs perl 5.6.1 or higher, install lang/perl5.8 and try again
+.endif
+
pre-install:
${SED} -e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%RC_SUBR%%#${RC_SUBR}#g' \
${FILESDIR}/postgrey.sh > ${WRKDIR}/postgrey.sh
@@ -70,4 +76,4 @@ do-install:
post-install:
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>