[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom build lists



Marc Matteo <marcm@lectroid.net> wrote:

> What I want is a way to specify a list of ports (with FLAVORS) I want
> built and well... have them all built. :)
> 
> I've tried a simple shell script and even a special Makefile listing the
> ports I want as SUBDIRS

That's the right idea..  Make a list of ports in subdir format as
seen from /usr/ports, e.g.

  audio/libao
  audio/libogg
  audio/libvorbis
  audio/vorbis-tools

and invoke

$ make SUBDIRLIST=<listfile> bulk-packages

from /usr/ports.

> but I keep getting stuck on FLAVORS (not to mention SUBPACKAGES).

Both of these can be specified in subdir format.  Flavors are added
as a comma separated list, e.g.

  www/w3m,m17n
  www/php4,imap,ldap,postgresql

Subpackages have a leading dash, e.g

  audio/libao,-esd

and can be combined with flavors, e.g.

  audio/xmms,-esd,no_gnome

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de