aboutsummaryrefslogtreecommitdiff
path: root/mail/rspamd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/rspamd/Makefile')
-rw-r--r--mail/rspamd/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index 03f17edce1f6..f4fab107ad65 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= rspamd
-PORTVERSION= 0.9.10
+PORTVERSION= 1.0.0
CATEGORIES= mail
MASTER_SITES= http://rspamd.com/downloads/
@@ -52,7 +52,7 @@ USE_SQLITE= yes
.endif
.if ${PORT_OPTIONS:MREDIRECTOR}
- USES+= perl5
+ USE_PERL5+= run
CMAKE_ARGS+= -DENABLE_REDIRECTOR=ON
PLIST_SUB+= REDIRECTOR=""
USE_RC_SUBR+= rspamd_redirector
@@ -77,5 +77,9 @@ post-stage:
${STAGEDIR}/var/log/rspamd \
${STAGEDIR}/var/db/rspamd \
${STAGEDIR}/var/run/rspamd
+ # Linux specific
+ ${RM} ${STAGEDIR}/${ETCDIR}/rspamd.systemd.conf
+ # No need, since rspamd.conf.sample is a same
+ ${RM} ${STAGEDIR}/${ETCDIR}/rspamd.sysvinit.conf
.include <bsd.port.mk>