aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2019-02-03 00:34:19 +0800
committertobik <tobik@FreeBSD.org>2019-02-03 00:34:19 +0800
commitaadd36d3227de663d4ed90bf828fb2d3acf9a8e4 (patch)
tree83d1d42bccf50fb262de4283b4d54866b1c2220e /mail
parenta26f590de06ae22b7a52aa89bc50428c4ebad550 (diff)
downloadfreebsd-ports-gnome-aadd36d3227de663d4ed90bf828fb2d3acf9a8e4.tar.gz
freebsd-ports-gnome-aadd36d3227de663d4ed90bf828fb2d3acf9a8e4.tar.zst
freebsd-ports-gnome-aadd36d3227de663d4ed90bf828fb2d3acf9a8e4.zip
mail/courier-pythonfilter: Fix CLAMAV_CLAMD option after r416149
Setting options helpers after bsd.port.{options,pre}.mk has no effect.
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-pythonfilter/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/courier-pythonfilter/Makefile b/mail/courier-pythonfilter/Makefile
index 449e776b30bc..406c1cf664a2 100644
--- a/mail/courier-pythonfilter/Makefile
+++ b/mail/courier-pythonfilter/Makefile
@@ -3,6 +3,7 @@
PORTNAME= courier-pythonfilter
PORTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= http://phantom.dragonsdawn.net/~gordon/courier-patches/courier-pythonfilter/
@@ -56,12 +57,12 @@ QUOTA_DESC= quota module
OPTIONS_DEFAULT= DEBUG WHITELIST_RELAY WHITELIST_AUTH
+CLAMAV_CLAMD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyClamd>=0:security/py-pyclamd@${PY_FLAVOR}
+
.include <bsd.port.pre.mk>
PYDISTUTILS_INSTALLARGS:=${PYDISTUTILS_INSTALLARGS} --install-scripts=${PYSCRIPTSDIR}
-CLAMAV_CLAMD_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyclamd.py:security/py-pyclamd@${PY_FLAVOR}
-
post-extract:
${MV} ${WRKSRC}/pythonfilter.conf ${WRKSRC}/pythonfilter.conf.sample
${MV} ${WRKSRC}/pythonfilter-modules.conf ${WRKSRC}/pythonfilter-modules.conf.sample