aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-11 06:20:52 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-11 06:20:52 +0000
commit03224738321b70c8e9d71ef9ece3b8f9bcfc95f2 (patch)
tree7929a60ed891e286e8abe6d9627b5ba8834d1411 /print
parent544c09f83556065ea7f87cab2f98b531baca2039 (diff)
downloadports-03224738321b70c8e9d71ef9ece3b8f9bcfc95f2.tar.gz
ports-03224738321b70c8e9d71ef9ece3b8f9bcfc95f2.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/cups-base/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index c9d12a1bd14f..4222a73c7c77 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -67,14 +67,11 @@ CUPS_SUFFIX= -image
LICENSE= LGPL21
OPTIONS_DEFINE= GNUTLS
.else
-PORTREVISION= 1
+PORTREVISION= 2
CUPS_SUFFIX= -base
CONFLICTS+= cupsddk-*
-OPTIONS_DEFINE= GNUTLS LIBPAPER PHP PYTHON PAM LDAP DBUS LIBUSB XDG_OPEN PDFTOPS ZEROCONF
-OPTIONS_SINGLE= PDFTOPS ZEROCONF
-OPTIONS_SINGLE_PDFTOPS= GHOSTSCRIPT XPDF
-OPTIONS_SINGLE_ZEROCONF=AVAHI MDNSRESPONDER
-OPTIONS_DEFAULT?= GHOSTSCRIPT
+OPTIONS_DEFINE= GNUTLS LIBPAPER PHP PYTHON PAM LDAP DBUS LIBUSB XDG_OPEN GHOSTSCRIPT XPDF AVAHI MDNSRESPONDER
+OPTIONS_DEFAULT= LIBPAPER GHOSTSCRIPT
NO_OPTIONS_SORT= yes
.endif
@@ -156,6 +153,9 @@ PLIST_SUB+= PHP="@comment "
.endif
.if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MGHOSTSCRIPT}
+.if ${PORT_OPTIONS:MXPDF}
+IGNORE= You must select one and only one option to build pdftops
+.endif
USE_GHOSTSCRIPT= yes
CONFIGURE_ARGS+= --enable-pdftops --with-pdftops=${LOCALBASE}/bin/gs
PLIST_SUB+= WITH_PDFTOPS=""
@@ -180,6 +180,9 @@ LIB_DEPENDS+= paper.2:${PORTSDIR}/print/libpaper
.endif
.if !defined(CUPS_CLIENT) && !defined(CUPS_IMAGE) && ${PORT_OPTIONS:MMDNSRESPONDER}
+.if ${PORT_OPTIONS:MAVAHI}
+IGNORE= You must select one and only one option to build for Zeroconf
+.endif
LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder
CONFIGURE_ARGS+= --with-dnssd-includes=${LOCALBASE}/include
PLIST_SUB+= WITH_MDNSRESPONDER=""