aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mimedefang/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mimedefang/Makefile')
-rw-r--r--mail/mimedefang/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile
index 19d896882d22..5610ec66a2a4 100644
--- a/mail/mimedefang/Makefile
+++ b/mail/mimedefang/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mimedefang
-PORTVERSION= 2.64
-PORTREVISION= 1
+PORTVERSION= 2.67
CATEGORIES= mail
MASTER_SITES= http://www.mimedefang.org/static/
@@ -32,8 +31,8 @@ SPOOLDIR?= /var/spool/MIMEDefang
QUARANTINEDIR?= /var/spool/MD-Quarantine
CONFIGURE_ENV+= PERL=${PERL}
-CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/mimedefang \
- --with-confsubdir= \
+CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc \
+ --with-confsubdir=mimedefang \
--with-user=${MAILUSER} \
--with-spooldir=${SPOOLDIR} \
--with-quarantinedir=${QUARANTINEDIR} \
@@ -55,6 +54,9 @@ CONFIGURE_ARGS+= --with-milterinc=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-milterlib=${LOCALBASE}/lib
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/fgrep -e/d' ${WRKSRC}/configure
+
pre-install:
@${REINPLACE_CMD} -e '/LOCAL_STATE_DIR/s,/var/lib,/var/db,' ${WRKSRC}/mimedefang.pl