summaryrefslogtreecommitdiff
path: root/security/clamav/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-10-25 20:52:32 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-10-25 20:52:32 +0000
commit0f72f48cd64e20bf0bbaa1d29337f6208af5afbc (patch)
tree63cc5ba45603846322be3a561a35ed1c2c38b486 /security/clamav/Makefile
parentAdd a patch to properly obtain the character set on -STABLE. (diff)
- ensure that an stale clamd socket will be deleted. [1]
- Add conflict with clamav-devel port [2] - fix milter on STABLE [3] no response from maintainer PR: 57379, 58037 Submitted by: martin@mail.tradex.sk [1], rob@debank.tv [2], dinoex [3]
Diffstat (limited to 'security/clamav/Makefile')
-rw-r--r--security/clamav/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 114099fcde47..b02ff2a09303 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clamav
PORTVERSION= 0.60
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= clamav
@@ -40,8 +40,13 @@ MAN1= clamscan.1 freshclam.1 sigtool.1 clamdscan.1 clamav-milter.1
MAN5= clamav.conf.5
MAN8= clamd.8
+CLAMD_SOCKET?= /var/run/clamav/clamd
+
+CONFLICTS= clamav-devel-*
+
SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g' \
- -e 's|%%DATADIR%%|${DATADIR}|g'
+ -e 's|%%DATADIR%%|${DATADIR}|g' \
+ -e 's|%%CLAMD_SOCKET%%|${CLAMD_SOCKET}|g'
SED_CONF= -E -e 's|^\#?(Example)$$|\#\1|' \
-e 's|^\#?(LogFile) .*$$|\1 /var/log/clamav/clamd.log|' \
@@ -69,6 +74,7 @@ LDFLAGS+= -lcipher
.endif
.if defined(WITH_MILTER)
+USE_GETOPT_LONG= yes
CONFIGURE_ARGS+= --enable-milter
PLIST_SUB+= CLAMAV-MILTER=""
.else