svn commit: r459117 - head/mail/claws-mail-bogofilter

Pawel Pekala pawel at FreeBSD.org
Mon Jan 15 21:17:22 UTC 2018


Author: pawel
Date: Mon Jan 15 21:17:21 2018
New Revision: 459117
URL: https://svnweb.freebsd.org/changeset/ports/459117

Log:
  Add BACKEND option allowing to choose bogofilter with different
  database back-ends
  
  PR:		215035
  Reported by:	Alan Braslau

Modified:
  head/mail/claws-mail-bogofilter/Makefile

Modified: head/mail/claws-mail-bogofilter/Makefile
==============================================================================
--- head/mail/claws-mail-bogofilter/Makefile	Mon Jan 15 21:12:58 2018	(r459116)
+++ head/mail/claws-mail-bogofilter/Makefile	Mon Jan 15 21:17:21 2018	(r459117)
@@ -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>


More information about the svn-ports-all mailing list