[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom build lists
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Custom build lists
- From: Andrey Smagin <andrey_(_at_)_smagin_(_dot_)_com>
- Date: Wed, 3 Apr 2002 15:09:27 -0600
On 03 Apr 2002 12:31:53 -0800
"Marc Matteo" <marcm_(_at_)_lectroid_(_dot_)_net> wrote:
> There must be an easy way to do this:
> 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 but I keep getting stuck on FLAVORS (not
> to mention SUBPACKAGES).
> Now, I could put real effort into this and put something together in
> Perl but I can't help thinking that there's a better (easier) way to
> do this.
> I especially like the custom Makefile idea - clean and simple and uses
> the existing infrastructure - but there must be a better way to
> specify particular FLAVORS.
> Any thoughts?
That's weired - I was thinking about the same thing just two days ago
and came up with something like this:
# That's a reserved category name, specially for such things
# Name this folder anyway you like
Create the Makefile in /usr/ports/mystuff/mysoft
COMMENT= "my software"
Now, if you do 'make && make clean' in that folder, you will get all the
packages listed as dependencies installed automatically. Note the php
flavors, samba stable branch and mysql multi packages.
You might want to use your own MASTER_SITES to fetch some small dummy
tar.gz file though.
I don't know how to get around the fetch stage - any ideas? Comments?
Visit your host, monkey.org