Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= dovecot-antispam |
4 |
PORTNAME= dovecot-antispam |
5 |
PORTVERSION= 1.3 |
5 |
PORTVERSION= 1.3 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
PORTEPOCH= 1 |
7 |
PORTEPOCH= 1 |
8 |
CATEGORIES= mail |
8 |
CATEGORIES= mail |
9 |
MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \ |
9 |
MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \ |
Lines 12-17
Link Here
|
12 |
MAINTAINER= dsh@wizard.volgograd.ru |
12 |
MAINTAINER= dsh@wizard.volgograd.ru |
13 |
COMMENT= Dovecot plugin to train dspam about spam or false positives |
13 |
COMMENT= Dovecot plugin to train dspam about spam or false positives |
14 |
|
14 |
|
|
|
15 |
LICENSE= GPLv2 |
16 |
|
15 |
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:configure |
17 |
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:configure |
16 |
RUN_DEPENDS= dovecot>=1.1.2:${PORTSDIR}/mail/dovecot |
18 |
RUN_DEPENDS= dovecot>=1.1.2:${PORTSDIR}/mail/dovecot |
17 |
|
19 |
|
Lines 28-34
Link Here
|
28 |
DEBUG_DESC= Turn on debug information (syslog) |
30 |
DEBUG_DESC= Turn on debug information (syslog) |
29 |
DEBUG_VERBOSE_DESC= Turn on verbose debug |
31 |
DEBUG_VERBOSE_DESC= Turn on verbose debug |
30 |
|
32 |
|
31 |
NO_STAGE= yes |
|
|
32 |
.include <bsd.port.options.mk> |
33 |
.include <bsd.port.options.mk> |
33 |
|
34 |
|
34 |
do-configure: |
35 |
do-configure: |
Lines 49-59
Link Here
|
49 |
${ECHO} "PLUGINNAME=antispam" >> ${WRKSRC}/.config |
50 |
${ECHO} "PLUGINNAME=antispam" >> ${WRKSRC}/.config |
50 |
|
51 |
|
51 |
do-install: |
52 |
do-install: |
52 |
${INSTALL_DATA} ${WRKSRC}/lib90_antispam_plugin.so \ |
53 |
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/dovecot/imap |
53 |
${PREFIX}/lib/dovecot/imap/ |
54 |
${INSTALL_DATA} -s ${WRKSRC}/lib90_antispam_plugin.so \ |
|
|
55 |
${STAGEDIR}${PREFIX}/lib/dovecot/imap/ |
54 |
${INSTALL_MAN} ${WRKSRC}/antispam.7 \ |
56 |
${INSTALL_MAN} ${WRKSRC}/antispam.7 \ |
55 |
${MANPREFIX}/man/man7/dovecot-antispam.7 |
57 |
${STAGEDIR}${MANPREFIX}/man/man7/dovecot-antispam.7 |
56 |
|
58 |
|
57 |
@${CAT} ${PKGMESSAGE} |
|
|
58 |
|
59 |
.include <bsd.port.mk> |
59 |
.include <bsd.port.mk> |