Commit graph

13 commits

Author SHA1 Message Date
Baptiste Daroussin
5b14163eb5 Do not search for upper case uniquename what setting per ports options 2012-06-06 11:47:29 +00:00
Baptiste Daroussin
8408ccfbc3 Activate NO_OPTIONS_SORT by default when the ports still use the old framework,
that case user still get the exact same out as prior optionsng, for converter
ports NO_OPTIONS_SORT remains per port so that by default options are sorted but
maintainer can decided to unsort them.
2012-06-05 06:56:36 +00:00
Baptiste Daroussin
ed18e382be Allow NO_OPTIONS_SORT to work with old OPTIONS
Requested by:	dougb@
2012-06-05 06:03:36 +00:00
Baptiste Daroussin
f05cecf6f0 Remove crufts committed by mistake
Reported by:	matthew@
2012-06-04 11:43:53 +00:00
Baptiste Daroussin
ad17fa0e98 Fix loading of old options
Tested by:	flo@, gelraen (via IRC)
2012-06-04 10:23:42 +00:00
Baptiste Daroussin
b4f11dd17c Remove the double quotes while converting from old options framework to new one.
This fix the too long options breaking the UI

Reported by:	Oliver Pinter <oliver.pntr@gmail.com> (via private mail)
2012-06-02 09:13:13 +00:00
Baptiste Daroussin
a16cae4f92 by default optionsng sort the options before prompting to them.
add a new KNOB for maintainers: NO_OPTIONS_SORT to prevent from sorting the options.

Requested by:	osa@
2012-06-01 09:06:15 +00:00
Baptiste Daroussin
4faa7223f8 if user set OPTIONS_UNSET EXAMPLES they create NOPORTEXAMPLES variable for
compatibility

With hat:	portmgr
2012-05-29 15:35:30 +00:00
Martin Wilke
fe616488ea - Do not activate EXAMPLES by default if NOPORTEXAMPELS is set
- Add shared EXAMPES descriptions

With hat:	portmgr
2012-05-29 15:19:59 +00:00
Baptiste Daroussin
97bac7723f Do not activate DOCS by default if NOPORTDOCS is set 2012-05-29 14:46:38 +00:00
Baptiste Daroussin
4ab2fee309 Fix python's make config [1]
Better backward compatibility [2]

Reported by:	ketas (on #bsdports) [1], flo@ [2]
Tested by:	flo@ [2]
2012-05-29 13:30:56 +00:00
Baptiste Daroussin
465b262cef recreate the WITH_/WITHOUT_ options for compatibility 2012-05-29 11:49:10 +00:00
Baptiste Daroussin
c263127442 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
2012-05-29 09:54:27 +00:00