summaryrefslogtreecommitdiff
path: root/security/clamav/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2019-10-31 11:22:15 +0000
committerjperkin <jperkin@pkgsrc.org>2019-10-31 11:22:15 +0000
commitc72c996683d2cec44c63440dc4f56cb27eee15ca (patch)
treebf46a67fc3a42f91ff95b14e5768bb4a08da4f5a /security/clamav/Makefile
parentc21f197da23f1750bc5cacdc923e9d71d160b45d (diff)
downloadpkgsrc-c72c996683d2cec44c63440dc4f56cb27eee15ca.tar.gz
clamav: Fix install with the milter option enabled.
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 c20f7405440..9ee00ce75a9 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2019/10/10 15:43:44 prlw1 Exp $
+# $NetBSD: Makefile,v 1.57 2019/10/31 11:22:15 jperkin Exp $
.include "Makefile.common"
@@ -62,6 +62,9 @@ PKG_USERS_VARS= CLAMAV_USER
EGDIR= ${PREFIX}/share/examples/clamav
CONF_SAMPLES= clamd.conf freshclam.conf
+
+.include "options.mk"
+
OWN_DIRS_PERMS= ${CLAMAV_DBDIR} ${CLAMAV_USER} ${CLAMAV_GROUP} 0775
CONF_FILES= # empty
CONF_FILES_PERMS= # empty
@@ -71,8 +74,6 @@ CONF_FILES+= ${EGDIR}/${i} ${PKG_SYSCONFDIR}/${i}
INSTALLATION_DIRS+= ${EGDIR}
-.include "options.mk"
-
post-install:
.for i in ${CONF_SAMPLES}
${MV} ${DESTDIR}${PKG_SYSCONFDIR}/${i}.sample ${DESTDIR}${EGDIR}/${i}