summaryrefslogtreecommitdiff
path: root/mail/dovecot-antispam/Makefile
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-12-19 21:12:36 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-12-19 21:12:36 +0000
commit616aaf4b1fc83a87f7a49e0e81e8f7c9db6dbcad (patch)
treeeca5ff8ef89030731d682a14daebcc8cbd2245ac /mail/dovecot-antispam/Makefile
parent- Fix modes of the temp directory [1] (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_1_0'.release/7.1.0
Notes
Notes: svn path=/head/; revision=224474 svn path=/tags/RELEASE_7_1_0/; revision=224475; tag=release/7.1.0
Diffstat (limited to 'mail/dovecot-antispam/Makefile')
-rw-r--r--mail/dovecot-antispam/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/mail/dovecot-antispam/Makefile b/mail/dovecot-antispam/Makefile
index 0d5106bb79cb..70878fa461f4 100644
--- a/mail/dovecot-antispam/Makefile
+++ b/mail/dovecot-antispam/Makefile
@@ -6,15 +6,17 @@
#
PORTNAME= dovecot-antispam
-PORTVERSION= 20080604
+PORTVERSION= 1.1
+PORTEPOCH= 1
CATEGORIES= mail
-MASTER_SITES= http://ports.internal.vlink.ru/distfiles/
+MASTER_SITES= http://johannes.sipsolutions.net/download/dovecot-antispam/ \
+ http://ports.internal.vlink.ru/distfiles/
MAINTAINER= dsh@wizard.volgograd.ru
COMMENT= Dovecot plugin to train dspam about spam or false positives
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:configure
-RUN_DEPENDS= dovecot>=1.0.10:${PORTSDIR}/mail/dovecot
+RUN_DEPENDS= dovecot>=1.1.2:${PORTSDIR}/mail/dovecot
USE_BZIP2= yes
USE_GMAKE= yes
@@ -24,6 +26,8 @@ MAN7= dovecot-antispam.7
OPTIONS+= DSPAM "direct dspam training" on
OPTIONS+= MAILTRAIN "send mail to special addresses for training" off
+OPTIONS+= DEBUG "Turn on debug information (syslog)" off
+OPTIONS+= DEBUG_VERBOSE "Turn on verbose debug" off
do-install:
${INSTALL_DATA} ${WRKSRC}/lib90_antispam_plugin.so \
@@ -44,6 +48,12 @@ do-configure:
.if defined(WITH_MAILTRAIN)
${ECHO} "BACKEND=mailtrain" >> ${WRKSRC}/.config
.endif
+.if defined(WITH_DEBUG)
+ ${ECHO} "DEBUG=syslog" >> ${WRKSRC}/.config
+.endif
+.if defined(WITH_DEBUG_VERBOSE)
+ ${ECHO} "DEBUG_VERBOSE=1" >> ${WRKSRC}/.config
+.endif
${ECHO} "PLUGINNAME=antispam" >> ${WRKSRC}/.config
.include <bsd.port.post.mk>