/var/db/ports/*/options auto-generation

Dmitry Morozovsky marck at rinet.ru
Mon Jul 16 21:59:26 UTC 2007


On Mon, 16 Jul 2007, Pav Lucistnik wrote:

PL> > It's not exactly what I want as I need to repeat Tab-Enter pairs for each of 
PL> > OPTIONS contained port.  What I want is generation options file for all the 
PL> > ports including defaults (possibly overrided in /etc/make.conf) WITH/WITHOUT 
PL> > lines...
PL> 
PL> Ok, so what about make -V OPTIONS in the port directory, and some
PL> creative awkery on the output?

It's definitely possible, but it constructs single line of output which is 
rather hard to parse (though possible, surely).

What about creating special target such as 'create-options-file' or 
'update-options-file' acting depending of existance of /var/db/ports/*/options 
and then acting accordingly?

Well, after a little bit of thought I suppose it should be presented to 
ports-mgr@ to decide...


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-ports mailing list