aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-11-28 23:20:36 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-11-28 23:20:36 +0800
commitcd0fc33e9e22eb2716e3018067a2323d6a6008a7 (patch)
tree32cf74d02f5dff82addeb52eeb86b2145bed76b2 /mail
parent40f71a8b16a5b4fa53a8439150d51b158856933a (diff)
downloadfreebsd-ports-gnome-cd0fc33e9e22eb2716e3018067a2323d6a6008a7.tar.gz
freebsd-ports-gnome-cd0fc33e9e22eb2716e3018067a2323d6a6008a7.tar.zst
freebsd-ports-gnome-cd0fc33e9e22eb2716e3018067a2323d6a6008a7.zip
- Add LICENSE_FILE
- Remove redundant GH_PROJECT - Remove bogus (in presence of USE_GITHUB) USES=tar* - Sanify installation - Fix WWW: Approved by: portmgr blanket
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/