diff options
Diffstat (limited to 'print/cups/options.mk')
-rw-r--r-- | print/cups/options.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/print/cups/options.mk b/print/cups/options.mk new file mode 100644 index 00000000000..9f7fe0dae03 --- /dev/null +++ b/print/cups/options.mk @@ -0,0 +1,33 @@ +# $NetBSD: options.mk,v 1.1 2008/01/22 23:58:13 markd Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.cups +PKG_SUPPORTED_OPTIONS= dnssd kerberos pam slp +PKG_SUGGESTED_OPTIONS= dnssd kerberos slp +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mpam) +. include "../../mk/pam.buildlink3.mk" +CONFIGURE_ARGS+= --enable-pam +MESSAGE_SRC= ${PKGDIR}/MESSAGE +MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pam +PLIST_SUBST+= PAM= +.else +CONFIGURE_ARGS+= --disable-pam +MESSAGE_SRC= ${.CURDIR}/MESSAGE +PLIST_SUBST+= PAM="@comment " +.endif + +.if !empty(PKG_OPTIONS:Mslp) +.include "../../net/openslp/buildlink3.mk" +CONFIGURE_ARGS+= --enable-slp +.else +CONFIGURE_ARGS+= --disable-slp +.endif + +.if !empty(PKG_OPTIONS:Mkerberos) +.include "../../mk/krb5.buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mdnssd) +.include "../../net/mDNSResponder/buildlink3.mk" +.endif |