how to fetch multiple distfiles with USE_GITHUB?

Koichiro IWAO meta at vmeta.jp
Fri Aug 21 06:54:21 UTC 2015


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 at vmeta.jp>


More information about the freebsd-ports mailing list