aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2018-10-28 00:55:44 +0800
committercrees <crees@FreeBSD.org>2018-10-28 00:55:44 +0800
commitcb580bfede5aa5174386ee3d27bde99e9949f4e7 (patch)
treea91190eddebcd113a6f4d0d2a28c47d13ee38822 /mail
parent9a392ef903ac562333c621ce684af4e4819d665c (diff)
downloadfreebsd-ports-gnome-cb580bfede5aa5174386ee3d27bde99e9949f4e7.tar.gz
freebsd-ports-gnome-cb580bfede5aa5174386ee3d27bde99e9949f4e7.tar.zst
freebsd-ports-gnome-cb580bfede5aa5174386ee3d27bde99e9949f4e7.zip
Fix path for virus scanners
Submitted by: Samuel Chow <cyschow@shaw.ca>
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: