aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mailscanner/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mailscanner/Makefile')
-rw-r--r--mail/mailscanner/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile
index 11829ba60117..8f593e7322a6 100644
--- a/mail/mailscanner/Makefile
+++ b/mail/mailscanner/Makefile
@@ -3,6 +3,7 @@
PORTNAME= MailScanner
PORTVERSION= 5.1.2
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= https://s3.amazonaws.com/msv5/release/
DISTNAME= ${PORTNAME}-${PORTVERSION}-${PATCHLEVEL}.nix
@@ -160,6 +161,8 @@ do-build:
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
${WRKSRC}/usr/lib/${PORTNAME}/wrapper/*
+ @${REINPLACE_CMD} -e 's,/usr$$,&/local,' \
+ ${WRKSRC}/etc/${PORTNAME}/virus.scanners.conf
@${FIND} ${WRKSRC} \( -name "*.bak" -or -name "*.orig" \) -delete
do-install: