Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2015 06:40:47 +0000
From:      Koichiro IWAO <meta@vmeta.jp>
To:        freebsd-ports@freebsd.org
Subject:   Re: how to fetch multiple distfiles with USE_GITHUB?
Message-ID:  <0000014f4efcff9a-b293052b-b362-4a3b-a280-fcbdb3c4bf71-000000@us-west-2.amazonses.com>
In-Reply-To: <038c03ed8f9f96195c3a06415144cf38@vmeta.jp>
References:  <038c03ed8f9f96195c3a06415144cf38@vmeta.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
I missed it was already documented in Porter's handbook.

Porter's handbook: 5.4.3.1. Fetching Multiple Files From GitHub
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html

Thanks,

2015-08-21 15:29 に Koichiro IWAO さんは書きました:
> Hello,
> 
> If a port requires to fetch multiple distfiles from GitHub,
> what is the bestpractice? For example, equivalent to like this
> MASTER_SITES expression.
> 
> MASTER_SITES= http://foo.example.com/distfile1.tar.gz:foo \
>               http://bar.example.com/distfile2.tar.gz:bar
> 
> 
> AFAIK, this does not work but what I want is like this.
> 
> USE_GITHUB= yes
> GH_ACCOUNT= fooproject:foo barproject:bar
> GH_PROJECT= foo:foo bar:bar
> GH_COMMIT=  deadbeef:foo deadbabe:bar

-- 
`whois vmeta.jp | nkf -w`
meta <meta@vmeta.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0000014f4efcff9a-b293052b-b362-4a3b-a280-fcbdb3c4bf71-000000>