aboutsummaryrefslogtreecommitdiff
path: root/mail/mimedefang
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-01-02 13:03:30 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-01-02 13:03:30 +0000
commited2f8c79d9851730ae0e2231bfd3160c5a5b3ffe (patch)
treeda636bf9d65b02da77e60d17d97a3e5595e1eba5 /mail/mimedefang
parentb81c8ad0dc50438ae6f5ef2c0e0d90a3098a1281 (diff)
downloadports-ed2f8c79d9851730ae0e2231bfd3160c5a5b3ffe.tar.gz
ports-ed2f8c79d9851730ae0e2231bfd3160c5a5b3ffe.zip
- fix WITH_CLAMAV option handling, that was done before inclusion of bsd.ports.pre.mk [1]
- bump PORTREVISION PR: 163760 [1] Submitted by: John Marshall <john.marshall at riverwillow dot com.au> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=288414
Diffstat (limited to 'mail/mimedefang')
-rw-r--r--mail/mimedefang/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile
index 7085ebbb0af6..79f61d5a7cf7 100644
--- a/mail/mimedefang/Makefile
+++ b/mail/mimedefang/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mimedefang
PORTVERSION= 2.72
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.mimedefang.org/static/
@@ -42,15 +42,6 @@ CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc \
--with-ipheader \
--prefix=${PREFIX}
-.if defined (MIMEDEFANG_DISABLE_CLAMAV) || defined(WITHOUT_CLAMAV)
-CONFIGURE_ARGS+= --disable-antivirus \
- --disable-clamav \
- --disable-clamd
-.else
-BUILD_DEPENDS+= clamscan:${PORTSDIR}/security/clamav
-RUN_DEPENDS+= clamscan:${PORTSDIR}/security/clamav
-.endif
-
MAN1= mimedefang-util.1
MAN5= mimedefang-filter.5
MAN7= mimedefang-notify.7 mimedefang-protocol.7
@@ -71,6 +62,15 @@ BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
CONFIGURE_ARGS+= --with-milterinc=${LOCALBASE}/include --with-milterlib=${LOCALBASE}/lib
.endif
+.if defined (MIMEDEFANG_DISABLE_CLAMAV) || defined(WITHOUT_CLAMAV)
+CONFIGURE_ARGS+= --disable-antivirus \
+ --disable-clamav \
+ --disable-clamd
+.else
+BUILD_DEPENDS+= clamscan:${PORTSDIR}/security/clamav
+RUN_DEPENDS+= clamscan:${PORTSDIR}/security/clamav
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/fgrep -e/d' ${WRKSRC}/configure