36 lines
746 B
Makefile
36 lines
746 B
Makefile
# $NetBSD: options.mk,v 1.2 2006/11/09 13:15:10 ghen Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.milter-greylist
|
|
PKG_SUPPORTED_OPTIONS= dnsrbl drac spf
|
|
PKG_SUGGESTED_OPTIONS= dnsrbl spf
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### DNS Realtime Black List
|
|
###
|
|
.if empty(PKG_OPTIONS:Mdnsrbl)
|
|
CONFIGURE_ARGS+= --disable-dnsrbl
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-dnsrbl
|
|
.endif
|
|
|
|
###
|
|
### Dynamic Relay Authorization Control
|
|
###
|
|
.if empty(PKG_OPTIONS:Mdrac)
|
|
CONFIGURE_ARGS+= --disable-drac
|
|
.else
|
|
DRACD_DB?= /etc/mail/dracd.db
|
|
|
|
CONFIGURE_ARGS+= --enable-drac --with-drac-db=${DRACD_DB}
|
|
.endif
|
|
|
|
###
|
|
### Sender Policy Framework
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mspf)
|
|
.include "../../mail/libspf-alt/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-libspf_alt=${PREFIX:Q}
|
|
.endif
|