From owner-freebsd-ports@FreeBSD.ORG Sun Dec 19 20:41:01 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 82DCD16A4CE for ; Sun, 19 Dec 2004 20:41:01 +0000 (GMT) Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0CF043D2D for ; Sun, 19 Dec 2004 20:41:00 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail2out.barnet.com.au (Postfix, from userid 27) id 408B8707453; Mon, 20 Dec 2004 07:40:59 +1100 (EST) X-Viruscan-Id: <41C5E75B00016032E7043B@BarNet> Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id F0D3570744F; Mon, 20 Dec 2004 07:40:58 +1100 (EST) Received: from k7.mavetju (edwin.adsl.barnet.com.au [203.111.122.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Certificate Authority" (verified OK)) by mail2-auth.barnet.com.au (Postfix) with ESMTP id 649A570744C; Mon, 20 Dec 2004 07:40:58 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 7E1D6611F; Mon, 20 Dec 2004 07:40:57 +1100 (EST) Date: Mon, 20 Dec 2004 07:40:57 +1100 From: Edwin Groothuis To: Dan Langille Message-ID: <20041219204057.GE63708@k7.mavetju> References: <41C59D15.18067.1215FF9A@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41C59D15.18067.1215FF9A@localhost> User-Agent: Mutt/1.5.6i 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 20:41:01 -0000 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/