aboutsummaryrefslogtreecommitdiff
path: root/mail/mimedefang/Makefile
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2004-04-05 21:44:45 +0000
committerMichael Haro <mharo@FreeBSD.org>2004-04-05 21:44:45 +0000
commit9b8f622f22a25d236c6e6a8bcd06b7bcbf56a999 (patch)
tree61146199217010cec06fcb360ca77ea7ed1c75d5 /mail/mimedefang/Makefile
parenta85567ede0d04e8f1cb9db7644238df468bf4d0d (diff)
1. Update to 2.42
2. Added perl version check. PR: 65026 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=106254
Diffstat (limited to 'mail/mimedefang/Makefile')
-rw-r--r--mail/mimedefang/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile
index 1c007ee09bc1..213e587799c9 100644
--- a/mail/mimedefang/Makefile
+++ b/mail/mimedefang/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mimedefang
-PORTVERSION= 2.41
+PORTVERSION= 2.42
CATEGORIES= mail
MASTER_SITES= http://www.mimedefang.org/static/ \
http://www.roaringpenguin.com/mimedefang/
@@ -44,10 +44,16 @@ MAN7= mimedefang-protocol.7
MAN8= mimedefang.8 mimedefang.pl.8 mimedefang-multiplexor.8 \
md-mx-ctrl.8 watch-mimedefang.8
+.include <bsd.port.pre.mk>
+
.if !exists( /usr/include/libmilter/mfapi.h )
BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
.endif
+.if ${PERL_LEVEL} < 500601
+IGNORE= Port requires perl 5.6.1 or later. Install lang/perl5 or lang/perl5.8 then try again
+.endif
+
post-install:
@${REINPLACE_CMD} -e 's,# MX_USER=,MX_USER=,g ; \
s,# MX_MAX_RSS=,MX_MAX_RSS=,g ; \
@@ -63,4 +69,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>