diff options
author | garga <garga@FreeBSD.org> | 2009-02-18 20:52:33 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2009-02-18 20:52:33 +0800 |
commit | 8042bc73f77b939502de419c5e0f73d96d068ab7 (patch) | |
tree | f7c762ad5c90fcd066fba666de7a11947f0dddb5 /security/clamav-devel | |
parent | a26960fc78ddbfe54c05e3806f64f14690882045 (diff) | |
download | freebsd-ports-gnome-8042bc73f77b939502de419c5e0f73d96d068ab7.tar.gz freebsd-ports-gnome-8042bc73f77b939502de419c5e0f73d96d068ab7.tar.zst freebsd-ports-gnome-8042bc73f77b939502de419c5e0f73d96d068ab7.zip |
- Fix instalation of clamav-milter.conf when MILTER option is disabled
- Bump PORTREVISION
Reported by: QAT
Diffstat (limited to 'security/clamav-devel')
-rw-r--r-- | security/clamav-devel/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile index 237178c587c0..ddfa4ef6fefd 100644 --- a/security/clamav-devel/Makefile +++ b/security/clamav-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= clamav PORTVERSION= 20090218 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.clamav.net/snapshot/ \ ${MASTER_SITE_LOCAL} @@ -33,6 +34,7 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_RC_SUBR= clamav-clamd clamav-freshclam USE_GMAKE= yes +CONF_FILES= clamd freshclam PORTDOCS= * @@ -137,6 +139,7 @@ CONFIGURE_ARGS+=--without-iconv .if defined(WITH_MILTER) USE_RC_SUBR+= clamav-milter +CONF_FILES+= clamav-milter . if defined(WITH_LDAP) && exists(${LOCALBASE}/lib/libldap.so) USE_OPENLDAP= yes LDFLAGS+= -lldap @@ -178,7 +181,7 @@ pre-su-install: post-install: ${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${PREFIX}/include -.for c in clamd freshclam clamav-milter +.for c in ${CONF_FILES} @[ -f ${PREFIX}/etc/${c}.conf ] || \ ${CP} -v ${PREFIX}/etc/${c}.conf.default ${PREFIX}/etc/${c}.conf .endfor |