svn commit: r427330 - head/mail/rspamd-devel
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Nov 28 15:20:37 UTC 2016
Author: amdmi3
Date: Mon Nov 28 15:20:36 2016
New Revision: 427330
URL: https://svnweb.freebsd.org/changeset/ports/427330
Log:
- Add LICENSE_FILE
- Remove redundant GH_PROJECT
- Remove bogus (in presence of USE_GITHUB) USES=tar*
- Sanify installation
- Fix WWW:
Approved by: portmgr blanket
Modified:
head/mail/rspamd-devel/Makefile
head/mail/rspamd-devel/pkg-descr
Modified: head/mail/rspamd-devel/Makefile
==============================================================================
--- head/mail/rspamd-devel/Makefile Mon Nov 28 15:19:42 2016 (r427329)
+++ head/mail/rspamd-devel/Makefile Mon Nov 28 15:20:36 2016 (r427330)
@@ -10,6 +10,7 @@ MAINTAINER= vsevolod at 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/rsp
-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
Modified: head/mail/rspamd-devel/pkg-descr
==============================================================================
--- head/mail/rspamd-devel/pkg-descr Mon Nov 28 15:19:42 2016 (r427329)
+++ head/mail/rspamd-devel/pkg-descr Mon Nov 28 15:20:36 2016 (r427330)
@@ -2,4 +2,4 @@ Rspamd is fast, modular and lightweight
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/
More information about the svn-ports-all
mailing list