summaryrefslogtreecommitdiff
path: root/security/clamav/Makefile
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-12-09 17:07:26 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-12-09 17:07:26 +0000
commitb83a30e56fc240c2b7e936f59c66459f5c179b83 (patch)
tree5b9450a1c4551b9944b69fa2dc38ee871ccbbb97 /security/clamav/Makefile
parentunbreak build on CURRENT (diff)
Fix some bugs in the previous commit...
- correct typo in the name of the socket variable (used to remove a stale socket) - install the startup script with the correct name (important if you use clamav-milter too) Submitted by: Marius Strobl <marius@alchemy.franken.de> Approved by: maintainer (implizit, this is a bugfix for the previous version)
Diffstat (limited to 'security/clamav/Makefile')
-rw-r--r--security/clamav/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index fcfd0e4de443..c5b0a276b747 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clamav
PORTVERSION= 0.65
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= clamav
@@ -41,7 +41,7 @@ MAN1= clamscan.1 freshclam.1 sigtool.1 clamdscan.1
MAN5= clamav.conf.5
MAN8= clamd.8 clamav-milter.8
-CLAMAV_CLAMD_SOCKE?= /var/run/clamav/clamd
+CLAMAV_CLAMD_SOCKET?= /var/run/clamav/clamd
CLAMAV_MILTER_SOCKET?= /var/run/clmilter.sock
CONFLICTS= clamav-devel-*
@@ -110,7 +110,8 @@ pre-install:
${SH} ${PKGINSTALL} ${PREFIX} PRE-INSTALL
post-install:
- @${INSTALL_SCRIPT} ${WRKDIR}/clamav-clamd.sh ${RC_DIR}/clamd${RC_SUFX}
+ @${INSTALL_SCRIPT} ${WRKDIR}/clamav-clamd.sh \
+ ${RC_DIR}/clamav-clamd${RC_SUFX}
@${CHOWN} -R clamav:clamav ${DATADIR}
@[ -f ${PREFIX}/etc/clamav.conf ] || \
${CP} ${PREFIX}/etc/clamav.conf.default ${PREFIX}/etc/clamav.conf