aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorwes <wes@FreeBSD.org>2007-07-24 01:27:13 +0800
committerwes <wes@FreeBSD.org>2007-07-24 01:27:13 +0800
commite8cdc9dbf8eb414aaf3a0ca9e4eefb2c41c257a2 (patch)
treecfe139adca32e6fdf614adb5c482a5127a8e0664 /mail
parentca45291ecde0f2816cdb36f21fc9d4e7ee1cd223 (diff)
downloadfreebsd-ports-gnome-e8cdc9dbf8eb414aaf3a0ca9e4eefb2c41c257a2.tar.gz
freebsd-ports-gnome-e8cdc9dbf8eb414aaf3a0ca9e4eefb2c41c257a2.tar.zst
freebsd-ports-gnome-e8cdc9dbf8eb414aaf3a0ca9e4eefb2c41c257a2.zip
Move SpamAssassin LOCAL_STATE_DIR to /var/db where it belongs on FreeBSD.
See also ports/108934. Thanks Robin! PR: ports/114822 Submitted by: Robin Gruyters <r.gruyters@yirdis.nl>
Diffstat (limited to 'mail')
-rw-r--r--mail/mimedefang/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile
index bb66ce429467..31eba87d7124 100644
--- a/mail/mimedefang/Makefile
+++ b/mail/mimedefang/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mimedefang
PORTVERSION= 2.62
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.mimedefang.org/static/
@@ -58,6 +59,9 @@ CONFIGURE_ARGS+= --with-milterlib=${LOCALBASE}/lib
IGNORE= requires perl 5.6.1 or later. Install lang/perl5 or lang/perl5.8 then try again
.endif
+pre-install:
+ @${REINPLACE_CMD} -e '/LOCAL_STATE_DIR/s,/var/lib,/var/db,' ${WRKSRC}/mimedefang.pl
+
post-install:
@${REINPLACE_CMD} -e 's,# MX_USER=,MX_USER=,g ; \
s,# MX_MAX_RSS=,MX_MAX_RSS=,g ; \