Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2004 07:40:57 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Dan Langille <dan@langille.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: master sites for deskutils/plans
Message-ID:  <20041219204057.GE63708@k7.mavetju>
In-Reply-To: <41C59D15.18067.1215FF9A@localhost>
References:  <41C59D15.18067.1215FF9A@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 19, 2004 at 03:24:05PM -0500, Dan Langille wrote:
> As mentioned on IRC, I had a look at the master sites for 
> deskutils/plans.  I have no idea why "make master-sites-all" 
> does not return the expected value:
> 
> $ make master-sites-all
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/

master-sites-all returns master-sites with all distfiles.

I had a look at bsd.port.mk, but I couldn't find a way to get all 
the groups out of it except for parsing DISTFILES:

[~/cvs/ports/deskutils/plans] edwin@k7>make -V DISTFILES
plans_6.5.2.zip:plans  powerani.gif:logo

for each group
    [~/cvs/ports/deskutils/plans] edwin@k7>make -V _MASTER_SITES_plans   
    http://www.planscalendar.com/release/
    [~/cvs/ports/deskutils/plans] edwin@k7>make -V _MASTER_SITES_logo
    http://www.freebsd.org/gifs/

So the idea is: MASTER_SITES_ALL returns master-sites where all
files could be found, and MASTER_SITES_group returns master-sites
where files for that group could be found.

It would be nice to have a DISTFILES_GROUPS variable in bsd.port.mk,
after all it gets called 12 times in the whole process.

Edwin
-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041219204057.GE63708>