Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= rspamd |
3 |
PORTNAME= rspamd |
4 |
PORTVERSION= 1.1.0.a.17122015 |
4 |
PORTVERSION= 1.1.0.a.17122015 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= mail |
6 |
CATEGORIES= mail |
6 |
MASTER_SITES= http://rspamd.com/downloads/ |
7 |
MASTER_SITES= http://rspamd.com/downloads/ |
7 |
PKGNAMESUFFIX= -devel |
8 |
PKGNAMESUFFIX= -devel |
Lines 27-32
REDIRECTOR_DESC= Install HTTP redirector
Link Here
|
27 |
|
28 |
|
28 |
USE_RC_SUBR= rspamd |
29 |
USE_RC_SUBR= rspamd |
29 |
|
30 |
|
|
|
31 |
SUB_FILES= pkg-message rspamd.newsyslog.conf.sample |
30 |
PLIST_SUB+= ETCDIR=etc/rspamd \ |
32 |
PLIST_SUB+= ETCDIR=etc/rspamd \ |
31 |
RSPAMDVERSION=${RSPAMD_VERSION} |
33 |
RSPAMDVERSION=${RSPAMD_VERSION} |
32 |
CMAKE_ARGS+= -DCONFDIR=${PREFIX}/etc/rspamd \ |
34 |
CMAKE_ARGS+= -DCONFDIR=${PREFIX}/etc/rspamd \ |
Lines 86-90
post-stage:
Link Here
|
86 |
${RM} ${STAGEDIR}/${ETCDIR}/rspamd.systemd.conf |
88 |
${RM} ${STAGEDIR}/${ETCDIR}/rspamd.systemd.conf |
87 |
# No need, since rspamd.conf.sample is a same |
89 |
# No need, since rspamd.conf.sample is a same |
88 |
${RM} ${STAGEDIR}/${ETCDIR}/rspamd.sysvinit.conf |
90 |
${RM} ${STAGEDIR}/${ETCDIR}/rspamd.sysvinit.conf |
|
|
91 |
${INSTALL_DATA} ${WRKDIR}/rspamd.newsyslog.conf.sample ${STAGEDIR}${ETCDIR} |
92 |
|
93 |
post-install: |
94 |
@${MKDIR} ${STAGEDIR}/usr/local/etc/newsyslog.conf.d |
95 |
${LN} -s ${ETCDIR}/rspamd.newsyslog.conf ${STAGEDIR}/usr/local/etc/newsyslog.conf.d |
89 |
|
96 |
|
90 |
.include <bsd.port.mk> |
97 |
.include <bsd.port.mk> |