aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2018-01-15 21:17:21 +0000
committerPawel Pekala <pawel@FreeBSD.org>2018-01-15 21:17:21 +0000
commit2f2216929f3cc0ab45405cf3a883738f11002455 (patch)
treedc87fe02afe61c826b89e24c9f9f17a5c8d088f5 /mail
parentbd94dc9f2043ba977bf75450517b96ba061f4df2 (diff)
downloadports-2f2216929f3cc0ab45405cf3a883738f11002455.tar.gz
ports-2f2216929f3cc0ab45405cf3a883738f11002455.zip
Add BACKEND option allowing to choose bogofilter with different
database back-ends PR: 215035 Reported by: Alan Braslau
Notes
Notes: svn path=/head/; revision=459117
Diffstat (limited to 'mail')
-rw-r--r--mail/claws-mail-bogofilter/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/mail/claws-mail-bogofilter/Makefile b/mail/claws-mail-bogofilter/Makefile
index 67833d345b8e..139ebdf55025 100644
--- a/mail/claws-mail-bogofilter/Makefile
+++ b/mail/claws-mail-bogofilter/Makefile
@@ -2,13 +2,21 @@
# $FreeBSD$
PORTNAME= bogofilter
-PORTREVISION= 0
+PORTREVISION= 1
COMMENT= Spam filtering plugin for Claws Mail
-RUN_DEPENDS= bogofilter:mail/bogofilter
-
CLAWS_PLUGINS_BUILD= bogofilter
+OPTIONS_SINGLE= BACKEND
+OPTIONS_SINGLE_BACKEND= BDB SQLITE TC
+OPTIONS_DEFAULT= BDB
+
+TC_DESC= Tokyo Cabinet database support
+
+BDB_RUN_DEPENDS= bogofilter>0:mail/bogofilter
+SQLITE_RUN_DEPENDS= bogofilter-sqlite>0:mail/bogofilter-sqlite
+TC_RUN_DEPENDS= bogofilter-tc>0:mail/bogofilter-tc
+
.include "../claws-mail/Makefile.claws"
.include <bsd.port.mk>