aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-28 15:20:36 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-28 15:20:36 +0000
commita7b2f86b6eda90ebe69415d9b93c20112854e50d (patch)
tree32cf74d02f5dff82addeb52eeb86b2145bed76b2 /mail
parentd18c86e30bf2b4f116da7d29ce99505d520da4dd (diff)
downloadports-a7b2f86b6eda90ebe69415d9b93c20112854e50d.tar.gz
ports-a7b2f86b6eda90ebe69415d9b93c20112854e50d.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/rspamd-devel/Makefile10
-rw-r--r--mail/rspamd-devel/pkg-descr2
2 files changed, 5 insertions, 7 deletions
diff --git a/mail/rspamd-devel/Makefile b/mail/rspamd-devel/Makefile
index bf821ae10c58..d565076ac6a6 100644
--- a/mail/rspamd-devel/Makefile
+++ b/mail/rspamd-devel/Makefile
@@ -10,6 +10,7 @@ MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Fast spam filtering system dev version
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpcre.so:devel/pcre \
libgmime-2.6.so:mail/gmime26 \
@@ -23,7 +24,6 @@ CONFLICTS_INSTALL= rspamd
RSPAMD_VERSION= 1.4.1
USE_GITHUB= yes
GH_ACCOUNT= vstakhov
-GH_PROJECT= rspamd
GH_TAGNAME= 8ebc1e5
OPTIONS_DEFINE= GPERF REDIRECTOR HYPERSCAN
@@ -50,7 +50,7 @@ CMAKE_ARGS+= -DCONFDIR=${PREFIX}/etc/rspamd \
-DGIT_ID=${GH_TAGNAME} \
-DENABLE_FANN=ON
-USES= cmake:outsource gettext iconv pkgconfig tar:xz perl5 \
+USES= cmake:outsource gettext iconv pkgconfig perl5 \
compiler:c11 sqlite ssl
USE_LDCONFIG= yes
USE_PERL5= build
@@ -93,8 +93,8 @@ WITH_DEBUG= yes
PLIST_SUB+= REDIRECTOR="@comment "
.endif
-post-stage:
- ${INSTALL} -d \
+post-install:
+ @${MKDIR} \
${STAGEDIR}/var/log/rspamd \
${STAGEDIR}/var/db/rspamd \
${STAGEDIR}/var/run/rspamd
@@ -103,8 +103,6 @@ post-stage:
# No need, since rspamd.conf.sample is a same
${RM} ${STAGEDIR}/${ETCDIR}/rspamd.sysvinit.conf
${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
diff --git a/mail/rspamd-devel/pkg-descr b/mail/rspamd-devel/pkg-descr
index a5a88f5032ca..6de2ae9d8193 100644
--- a/mail/rspamd-devel/pkg-descr
+++ b/mail/rspamd-devel/pkg-descr
@@ -2,4 +2,4 @@ Rspamd is fast, modular and lightweight spam filter. It is designed to work
with big ammount of mail and can be easily extended with own filters written in
lua. This port provides development version of rspamd.
-WWW: https://rspamd.com
+WWW: https://rspamd.com/