aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2018-10-27 16:55:44 +0000
committerChris Rees <crees@FreeBSD.org>2018-10-27 16:55:44 +0000
commit6aa2b28d89ea9b2431d497c29a0a9d2c795ce483 (patch)
treea91190eddebcd113a6f4d0d2a28c47d13ee38822 /mail
parentc981ed0057c22e7d054a9b1e2f809083076283ca (diff)
downloadports-6aa2b28d89ea9b2431d497c29a0a9d2c795ce483.tar.gz
ports-6aa2b28d89ea9b2431d497c29a0a9d2c795ce483.zip
Fix path for virus scanners
Submitted by: Samuel Chow <cyschow@shaw.ca>
Notes
Notes: svn path=/head/; revision=483149
Diffstat (limited to 'mail')
-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: