From owner-freebsd-ports@FreeBSD.ORG Sun Dec 19 21:22:56 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B64316A4CE for ; Sun, 19 Dec 2004 21:22:56 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 465B843D1D for ; Sun, 19 Dec 2004 21:22:56 +0000 (GMT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id C4E6B3D37; Sun, 19 Dec 2004 16:22:55 -0500 (EST) From: "Dan Langille" To: Edwin Groothuis Date: Sun, 19 Dec 2004 16:22:55 -0500 MIME-Version: 1.0 Message-ID: <41C5AADF.13117.124BDDE2@localhost> Priority: normal In-reply-to: <20041219204057.GE63708@k7.mavetju> References: <41C59D15.18067.1215FF9A@localhost> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: freebsd-ports@FreeBSD.org Subject: Re: master sites for deskutils/plans X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2004 21:22:56 -0000 On 20 Dec 2004 at 7:40, Edwin Groothuis wrote: > 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. FreshPorts uses "make master-sites-all" when determining the master sites for a port. In case case, it's returning the correct value AFAIK. I don't see any reason to change what FreshPorts does. I am open to suggestions. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/