aboutsummaryrefslogtreecommitdiff
path: root/mail/mimedefang
diff options
context:
space:
mode:
authorWes Peters <wes@FreeBSD.org>2007-07-23 17:27:13 +0000
committerWes Peters <wes@FreeBSD.org>2007-07-23 17:27:13 +0000
commit7aaf0b395f5076ddb808e3ce7b4ed5629a13fa6a (patch)
treeaa0f83a15cf3a5d412f069585a614aad5d69f77c /mail/mimedefang
parentbd0b7743ac8e81a10f9d68de7dbdee41ecb0a34c (diff)
downloadports-7aaf0b395f5076ddb808e3ce7b4ed5629a13fa6a.tar.gz
ports-7aaf0b395f5076ddb808e3ce7b4ed5629a13fa6a.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>
Notes
Notes: svn path=/head/; revision=196137
Diffstat (limited to 'mail/mimedefang')
-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 ; \