diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-29 17:54:27 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-29 17:54:27 +0800 |
commit | cede561db6029df02083f9b9285ca9d679817c01 (patch) | |
tree | fa59356ad6b6fc043747a61e3508607bbc34db99 /print | |
parent | e39731110185374437274504ee0c41670756703f (diff) | |
download | freebsd-ports-gnome-cede561db6029df02083f9b9285ca9d679817c01.tar.gz freebsd-ports-gnome-cede561db6029df02083f9b9285ca9d679817c01.tar.zst freebsd-ports-gnome-cede561db6029df02083f9b9285ca9d679817c01.zip |
New options framework for the ports
for maintainers:
it introduces 3 different types of options: simple, multi and single:
- simple options are the same as the current options (i.e. on or off.)
- multi options are options where at least one must be set (1-N).
- single options are options where one and only one must be set (exclusive
options).
for users:
- OPTIONS_SET: globally enable some options
- OPTIONS_UNSET: globally disable some options
- ${UNIQUENAME}_SET: enable per-port choice of options
- ${UNIQUENAME}_UNSET: disable per-port choice of options
For compatibility the old OPTIONS framework is now working on top of the new one
The options previously set with old OPTIONS are imported and converted
transparently.
A new knob NO_DIALOG if defined in the the config-conditional target is ignored
(prevent the dialog(1) ui to show up.
Thanks to all people involved:
beat@, crees@, Bryan Drewery, linimon@, novel@ and others, for testing, comments, patches
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript8/Makefile.drivers | 5 | ||||
-rw-r--r-- | print/ghostscript9/Makefile.drivers | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/print/ghostscript8/Makefile.drivers b/print/ghostscript8/Makefile.drivers index 98f0158e399b..7d4ca4dd098a 100644 --- a/print/ghostscript8/Makefile.drivers +++ b/print/ghostscript8/Makefile.drivers @@ -1,5 +1,10 @@ # $FreeBSD$ +OPTIONS_X11_DEFAULT= off +OPTIONS_ICONV_DEFAULT= off +OPTIONS_CAIRO_DEFAULT= off +OPTIONS_CUPS_DEFAULT= off +OPTIONS_SVGALIB_DEFAULT= off OPTIONS_GS_DEFAULT_ON= on OPTIONS_GS_DEFAULT_OFF= off diff --git a/print/ghostscript9/Makefile.drivers b/print/ghostscript9/Makefile.drivers index a728706b35b3..959394334a25 100644 --- a/print/ghostscript9/Makefile.drivers +++ b/print/ghostscript9/Makefile.drivers @@ -1,5 +1,9 @@ -# $FreeBSD: /tmp/pcvs/ports/print/ghostscript9/Makefile.drivers,v 1.2 2012-02-12 18:10:49 hrs Exp $ +# $FreeBSD: /tmp/pcvs/ports/print/ghostscript9/Makefile.drivers,v 1.3 2012-05-29 09:54:27 bapt Exp $ +OPTIONS_X11_DEFAULT= off +OPTIONS_ICONV_DEFAULT= off +OPTIONS_CUPS_DEFAULT= off +OPTIONS_SVGALIB_DEFAULT= off OPTIONS_GS_DEFAULT_ON= on OPTIONS_GS_DEFAULT_OFF= off |