summaryrefslogtreecommitdiff
path: root/security/clamav/Makefile
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-07-07 07:37:08 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-07-07 07:37:08 +0000
commit81da6d97d210f747e3e61fcb6a39ef0f82ed3ff5 (patch)
treec992f1910e5e5c34f049876bbc337bcf16937342 /security/clamav/Makefile
parentfix devel/mico: (diff)
Use clamav-milter, but support only gcc30 or higher.
PR: ports/53699 Submitted by: Rob Evers <rob@debank.tv> Approved by: TERAMOTO Masahiro <markun@onohara.to> (maintainer)
Diffstat (limited to 'security/clamav/Makefile')
-rw-r--r--security/clamav/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 9f1a412b6d62..9410673f3962 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -7,6 +7,7 @@
PORTNAME= clamav
PORTVERSION= 0.60
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://clamav.elektrapro.com/stable/ \
http://clamav.essentkabel.com/stable/
@@ -37,6 +38,13 @@ MAN8= clamd.8
.include <bsd.port.pre.mk>
+.if ${OSVERSION} > 500000
+CONFIGURE_ARGS+=--enable-milter
+PLIST_SUB+= CLAMAV-MILTER:=""
+.else
+PLIST_SUB+= CLAMAV-MILTER:="@comment "
+.endif
+
pre-install:
@${ECHO} "===> Creating custom user to run clamav..."
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL