pkgsrc-wip/dbmail/options.mk
Tobias Nygren 0cdea0c3cf Import dbmail-3.0.2 as wip/dbmail.
This is an updated version of mail/dbmail.
Works pretty well and seems to be a bit faster than the old version.
Needs some more polishing before it can go in pkgsrc. See TODO.
2013-03-13 21:33:00 +00:00

23 lines
539 B
Makefile

# $NetBSD: options.mk,v 1.4 2013/03/13 21:33:00 tnn2 Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dbmail
PKG_SUPPORTED_OPTIONS= sieve
PKG_SUGGESTED_OPTIONS= sieve
.include "../../mk/bsd.options.mk"
PLIST_VARS+= sieve
###
### Sieve support
###
.if !empty(PKG_OPTIONS:Msieve)
.include "../../mail/libsieve/buildlink3.mk"
CONFIGURE_ARGS+= --with-sieve=${BUILDLINK_PREFIX.libsieve}
PLIST.sieve= yes
FILES_SUBST+= TIMSIEVED="dbmailtimsieved"
RCD_SCRIPTS+= dbmailtimsieved
.else
CONFIGURE_ARGS+= --without-sieve
FILES_SUBST+= TIMSIEVED=""
.endif