aboutsummaryrefslogtreecommitdiff
path: root/security/clamav-unofficial-sigs/Makefile
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-09-05 15:33:39 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-09-05 15:33:39 +0000
commitaaa2f12666da88c99936ecfbf3136cb644cec13d (patch)
tree44596ca6afa577b9a201460a9be288698683346c /security/clamav-unofficial-sigs/Makefile
parent1d1c9d8fd9ffda0fb391fdc46ba598da138fdbad (diff)
downloadports-aaa2f12666da88c99936ecfbf3136cb644cec13d.tar.gz
ports-aaa2f12666da88c99936ecfbf3136cb644cec13d.zip
Notes
Diffstat (limited to 'security/clamav-unofficial-sigs/Makefile')
-rw-r--r--security/clamav-unofficial-sigs/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/security/clamav-unofficial-sigs/Makefile b/security/clamav-unofficial-sigs/Makefile
index 19faef89ade3..8a91a716dee4 100644
--- a/security/clamav-unofficial-sigs/Makefile
+++ b/security/clamav-unofficial-sigs/Makefile
@@ -2,12 +2,9 @@
# $FreeBSD$
PORTNAME= clamav-unofficial-sigs
-PORTVERSION= 3.7.1
-PORTREVISION= 1
+PORTVERSION= 3.7.2
CATEGORIES= security
-MASTER_SITES= http://www.inetmsg.com/pub/ \
- http://www.inetmsg.com/pub/archive/ \
- SF/unofficial-sigs/
+MASTER_SITES= SF/unofficial-sigs/
MAINTAINER= sf@maxempire.com
COMMENT= Update script for third-party ClamAV databases
@@ -17,7 +14,8 @@ RUN_DEPENDS= clamscan:${PORTSDIR}/security/clamav \
curl:${PORTSDIR}/ftp/curl \
gpg:${PORTSDIR}/security/gnupg
-USE_PERL5_RUN= yes
+USES= perl5
+USE_PERL5= run
NO_BUILD= yes
SUB_FILES= pkg-message
@@ -31,6 +29,10 @@ SED_CONF= -e 's|%%CLAM_DBS%%|/var/db/clamav|g' \
-e 's|%%START_CLAMD%%|${PREFIX}/etc/rc.d/clamav-clamd start|g' \
-e 's|%%WORK_DIR%%|/var/db/clamav-unofficial-sigs|g'
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/clamav-unofficial-sigs.sh
@${REINPLACE_CMD} ${SED_CONF} ${WRKSRC}/clamav-unofficial-sigs.conf
@@ -41,7 +43,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/clamav-unofficial-sigs.8 ${MANPREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/clamav-unofficial-sigs.conf ${PREFIX}/etc/clamav-unofficial-sigs.conf.sample
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG INSTALL LICENSE README ${DOCSDIR}
.endif