svn commit: r483149 - head/mail/mailscanner

Chris Rees crees at FreeBSD.org
Sat Oct 27 16:55:45 UTC 2018


Author: crees
Date: Sat Oct 27 16:55:44 2018
New Revision: 483149
URL: https://svnweb.freebsd.org/changeset/ports/483149

Log:
  Fix path for virus scanners
  
  Submitted by:	Samuel Chow <cyschow at shaw.ca>

Modified:
  head/mail/mailscanner/Makefile

Modified: head/mail/mailscanner/Makefile
==============================================================================
--- head/mail/mailscanner/Makefile	Sat Oct 27 16:47:13 2018	(r483148)
+++ head/mail/mailscanner/Makefile	Sat Oct 27 16:55:44 2018	(r483149)
@@ -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:


More information about the svn-ports-all mailing list