Date: Tue, 06 Jan 2015 18:01:37 -0600 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Ben Woods <woodsb02@gmail.com>, freebsd-ports@freebsd.org Subject: Re: Combining GitHub and regular MASTER_SITES for multiple DISTFILES Message-ID: <54AC7761.9050305@FreeBSD.org> In-Reply-To: <CAOc73CC1eqn-KoF13obCFaKX-wt-DLzyzXnCsC9YrripndaszA@mail.gmail.com> References: <CAOc73CC1eqn-KoF13obCFaKX-wt-DLzyzXnCsC9YrripndaszA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/4/2015 8:49 AM, Ben Woods wrote: > I am trying to create a new port, where the main source code should be > retrieved from GitHub, and a secondary piece of source code should be > retrieved from an FTP site. > > The USE_GITHUB port magic does not work for the primary source code if the > MASTER_SITES and DISTFILES variables are also specified in the Makefile for > the secondary source code. The result is that only the secondary code is > downloaded and extracted. Using += for the MASTER_SITES and DISTFILES > assignment does not fix the issue. > > Is there a way that these can be used together for this propose? > > Regards, > Ben > > See ports-mgmt/poudriere Makefile. Use 'GH' in MASTER_SITES for the USE_GITHUB source: MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ GH You can use whatever order you wish. -- Regards, Bryan Drewery
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54AC7761.9050305>