pkgsrc-wip/mopher/options.mk
Petar Bogdanovic 5a6ccc05a2 Import mopher-0.1 as wip/mopher.
Versatile mail filter with firewall like configuration.  Mopher is
modular, implements a flexible acl configuration language, keeps account
of (friendly) relays and/or penpals, supports multiple database backends
(memdb, bdb, mysql) and contains most features of milter-greylist.

mopher-0.1 has shown to be stable in production but is still considered
to be a developer release.
2012-05-12 13:29:06 +00:00

38 lines
801 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2012/05/12 13:29:06 pebog Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mopher
PKG_SUPPORTED_OPTIONS= bdb mysql spf
PKG_SUGGESTED_OPTIONS= bdb spf
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
# bdb
.if !empty(PKG_OPTIONS:Mbdb)
CONFIGURE_ARGS+= --with-bdb
PLIST.bdb= yes
BDB_ACCEPTED= db4
BUILDLINK_TRANSFORM+= l:db:db4
.include "../../mk/bdb.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-bdb
.endif
# mysql
.if !empty(PKG_OPTIONS:Mmysql)
CONFIGURE_ARGS+= --with-mysql
PLIST.mysql= yes
.include "../../mk/mysql.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-mysql
.endif
# spf
.if !empty(PKG_OPTIONS:Mspf)
CONFIGURE_ARGS+= --with-spf2
PLIST.spf= yes
.include "../../mail/libspf2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-spf2
.endif