summaryrefslogtreecommitdiff
path: root/print/cups/options.mk
diff options
context:
space:
mode:
authormarkd <markd>2008-01-22 23:58:13 +0000
committermarkd <markd>2008-01-22 23:58:13 +0000
commit7e58703974d87dfcc01bf1fd3866ad7797ba51c8 (patch)
tree250ef3be4bc4fd3b9ab32ee270a3f1d1b8d59eaa /print/cups/options.mk
parent31835d20df81d987932f1bff8fbd4da9e6759fd0 (diff)
downloadpkgsrc-7e58703974d87dfcc01bf1fd3866ad7797ba51c8.tar.gz
Update cups to 1.3.5
Adds dns-sd support and Negotiate authentication (kerberos) various bug fixes.
Diffstat (limited to 'print/cups/options.mk')
-rw-r--r--print/cups/options.mk33
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