Lines 6-20
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= dovecot-antispam |
8 |
PORTNAME= dovecot-antispam |
9 |
PORTVERSION= 20080604 |
9 |
PORTVERSION= 1.0 |
|
|
10 |
PORTEPOCH= 1 |
10 |
CATEGORIES= mail |
11 |
CATEGORIES= mail |
11 |
MASTER_SITES= http://ports.internal.vlink.ru/distfiles/ |
12 |
MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \ |
|
|
13 |
http://ports.internal.vlink.ru/distfiles/ |
12 |
|
14 |
|
13 |
MAINTAINER= dsh@wizard.volgograd.ru |
15 |
MAINTAINER= dsh@wizard.volgograd.ru |
14 |
COMMENT= Dovecot plugin to train dspam about spam or false positives |
16 |
COMMENT= Dovecot plugin to train dspam about spam or false positives |
15 |
|
17 |
|
16 |
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:configure |
18 |
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:configure |
17 |
RUN_DEPENDS= dovecot>=1.0.10:${PORTSDIR}/mail/dovecot |
19 |
RUN_DEPENDS= dovecot>=1.1.2:${PORTSDIR}/mail/dovecot |
18 |
|
20 |
|
19 |
USE_BZIP2= yes |
21 |
USE_BZIP2= yes |
20 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
Lines 24-29
Link Here
|
24 |
|
26 |
|
25 |
OPTIONS+= DSPAM "direct dspam training" on |
27 |
OPTIONS+= DSPAM "direct dspam training" on |
26 |
OPTIONS+= MAILTRAIN "send mail to special addresses for training" off |
28 |
OPTIONS+= MAILTRAIN "send mail to special addresses for training" off |
|
|
29 |
OPTIONS+= DEBUG "Turn on debug information (syslog)" off |
30 |
OPTIONS+= DEBUG_VERBOSE "Turn on verbose debug" off |
27 |
|
31 |
|
28 |
do-install: |
32 |
do-install: |
29 |
${INSTALL_DATA} ${WRKSRC}/lib90_antispam_plugin.so \ |
33 |
${INSTALL_DATA} ${WRKSRC}/lib90_antispam_plugin.so \ |
Lines 44-49
Link Here
|
44 |
.if defined(WITH_MAILTRAIN) |
48 |
.if defined(WITH_MAILTRAIN) |
45 |
${ECHO} "BACKEND=mailtrain" >> ${WRKSRC}/.config |
49 |
${ECHO} "BACKEND=mailtrain" >> ${WRKSRC}/.config |
46 |
.endif |
50 |
.endif |
|
|
51 |
.if defined(WITH_DEBUG) |
52 |
${ECHO} "DEBUG=syslog" >> ${WRKSRC}/.config |
53 |
.endif |
54 |
.if defined(WITH_DEBUG_VERBOSE) |
55 |
${ECHO} "DEBUG_VERBOSE=1" >> ${WRKSRC}/.config |
56 |
.endif |
47 |
${ECHO} "PLUGINNAME=antispam" >> ${WRKSRC}/.config |
57 |
${ECHO} "PLUGINNAME=antispam" >> ${WRKSRC}/.config |
48 |
|
58 |
|
49 |
.include <bsd.port.post.mk> |
59 |
.include <bsd.port.post.mk> |