Date: Tue, 22 Jun 2004 11:05:23 +0200 From: Oliver Eikemeier <eikemeier@fillmore-labs.com> To: Roman Neuhauser <neuhauser@chello.cz> Cc: Mike Brown <mike@skew.org> Subject: Re: what to do when MASTER_SITE_SUBDIR differs? Message-ID: <40D7F653.9040808@fillmore-labs.com> In-Reply-To: <20040622102604.GA1066@isis.wad.cz> References: <200406220955.i5M9txWw097807@chilled.skew.org> <20040622102604.GA1066@isis.wad.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Roman Neuhauser wrote: > # mike@skew.org / 2004-06-22 03:55:59 -0600: > >>The primary distribution site for the source of the package I'm working >>re-porting is the developers' own site, and they (OK, we) use SourceForge >>as a secondary distribution point. I'd like to list both the home site and >>SourceForge in the MASTER_SITES. >> >>The convention seems to be that when using ${MASTER_SITE_SOURCEFORGE}, >>MASTER_SITE_SUBDIR is set to the SF project name. >> >>But in this case, the subdirs don't match between the two sites, due >>to SourceForge forbidding leading numbers in project names. >> >>So I am not sure how to do this. I don't really see much precedent for >>foregoing MASTER_SITE_SUBDIR and just doing something like >> >>MASTER_SITES= ftp://ftp.4suite.org/pub/4Suite/ \ >> ${MASTER_SITE_SOURCEFORGE}/foursuite/ >> >>...but would that be acceptable? > > no, and it woudn't be needed either. this will do what you want: > > MASTER_SITES= ftp://ftp.4suite.org/pub/4Suite/ \ > ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= foursuite ... or use the :n notation: <http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#PORTS-MASTER-SITES-N-EXAMPLE-DETAILED-USE-MASTER-SITE-SUBDIR> -Oliver
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40D7F653.9040808>