summaryrefslogtreecommitdiff
path: root/print/xfce4-print/options.mk
diff options
context:
space:
mode:
authorwiz <wiz>2005-12-01 18:21:52 +0000
committerwiz <wiz>2005-12-01 18:21:52 +0000
commitd8c89bb8c3863d8d704f3862b3ad03cc2f28dfd9 (patch)
treef057368fd86c7a687a317480f62a23383740b96f /print/xfce4-print/options.mk
parent7c873f72f5b716d0ed29c9ca4331c4dcd395400c (diff)
downloadpkgsrc-d8c89bb8c3863d8d704f3862b3ad03cc2f28dfd9.tar.gz
Convert to options framework.
Add cups option handling to buildlink3.mk (USE_CUPS was not properly supported there before).
Diffstat (limited to 'print/xfce4-print/options.mk')
-rw-r--r--print/xfce4-print/options.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/print/xfce4-print/options.mk b/print/xfce4-print/options.mk
new file mode 100644
index 00000000000..ebb321a4d4c
--- /dev/null
+++ b/print/xfce4-print/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2005/12/01 18:21:52 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xfce4-print
+PKG_SUPPORTED_OPTIONS= cups
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mcups)
+.include "../../print/cups/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-cups
+.endif