how to fetch multiple distfiles with USE_GITHUB?

Mathieu Arnold mat at FreeBSD.org
Fri Aug 21 22:54:57 UTC 2015


Hi,

+--On 21 août 2015 06:29:38 +0000 Koichiro IWAO <meta at vmeta.jp> wrote:
| 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

Have you tried reading our documentation ? Especially the "5.4.3.1.
Fetching Multiple Files From GitHub" section from [1].

1:
<https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.html>

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150822/28d3ea82/attachment.bin>


More information about the freebsd-ports mailing list