aboutsummaryrefslogtreecommitdiff
path: root/mail/rspamd
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2016-08-05 10:20:22 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2016-08-05 10:20:22 +0000
commit3cf4021900ea0f7b14f8b98efbc9a662c85ad2dc (patch)
treeb606348fce4fd2342d16fff62261a82a01db495b /mail/rspamd
parente871459a66157904816d6d2950956041454935c0 (diff)
downloadports-3cf4021900ea0f7b14f8b98efbc9a662c85ad2dc.tar.gz
ports-3cf4021900ea0f7b14f8b98efbc9a662c85ad2dc.zip
Notes
Diffstat (limited to 'mail/rspamd')
-rw-r--r--mail/rspamd/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile
index 07f853e6218e..a8c8edd6b3d1 100644
--- a/mail/rspamd/Makefile
+++ b/mail/rspamd/Makefile
@@ -2,6 +2,7 @@
PORTNAME= rspamd
PORTVERSION= 1.3.1
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://rspamd.com/downloads/
@@ -16,7 +17,7 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
libluajit-5.1.so:lang/luajit
BUILD_DEPENDS= ragel:devel/ragel
-CONFLICTS_INSTALL= rspamd
+CONFLICTS_INSTALL= rspamd-devel
OPTIONS_DEFINE= GPERF REDIRECTOR HYPERSCAN
GPERF_DESC= Google perf-tools profiling
@@ -40,12 +41,11 @@ CMAKE_ARGS+= -DCONFDIR=${PREFIX}/etc/rspamd \
-DNO_SHARED=ON
USES= cmake:outsource gettext iconv pkgconfig tar:xz perl5 \
- compiler:c11 sqlite
+ compiler:c11 sqlite ssl
USE_LDCONFIG= yes
USE_PERL5= build
USE_GNOME= glib20
-USE_OPENSSL= yes
.include <bsd.port.options.mk>
@@ -55,9 +55,9 @@ USE_OPENSSL= yes
.endif
.if ${PORT_OPTIONS:MHYPERSCAN}
- CMAKE_ARGS+= -DENABLE_HYPERSCAN=ON
- BUILD_DEPENDS+= ${LOCALBASE}/lib/libhs.a:devel/hyperscan
- ONLY_FOR_ARCHS= amd64
+ CMAKE_ARGS+= -DENABLE_HYPERSCAN=ON
+ BUILD_DEPENDS+= ${LOCALBASE}/lib/libhs.a:devel/hyperscan
+ ONLY_FOR_ARCHS= amd64
.endif
.if ${PORT_OPTIONS:MREDIRECTOR}
@@ -78,7 +78,7 @@ USE_OPENSSL= yes
p5-Proc-Daemon>=0:devel/p5-Proc-Daemon \
p5-SWF-File>=0:graphics/p5-SWF-File
.else
- PLIST_SUB+= REDIRECTOR="@comment "
+ PLIST_SUB+= REDIRECTOR="@comment "
.endif
post-stage:
@@ -93,7 +93,7 @@ post-stage:
${INSTALL_DATA} ${WRKDIR}/rspamd.newsyslog.conf.sample ${STAGEDIR}${ETCDIR}
post-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
- ${LN} -s ${ETCDIR}/rspamd.newsyslog.conf ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
+ @${MKDIR} ${STAGEDIR}/usr/local/etc/newsyslog.conf.d
+ ${LN} -s ${ETCDIR}/rspamd.newsyslog.conf ${STAGEDIR}/usr/local/etc/newsyslog.conf.d
.include <bsd.port.mk>