Fetching binaries from GitHub
Alexander Moisseev
moiseev at mezonplus.ru
Tue May 2 18:57:28 UTC 2017
On 5/2/17 9:16 PM, Mathieu Arnold wrote:
> Le 01/05/2017 à 08:43, Alexander Moisseev via freebsd-ports a écrit :
>> Is there a way to fetch binaries from GitHub instead of sources?
>> In particular I need to fetch BackupPC-4.1.2.tar.gz from
>> https://github.com/backuppc/backuppc/releases/tag/4.1.2
>> _______________________________________________
>>
> You simply set:
>
> PORTNAME= BackupPC
> PORTVERSION= 4.1.2
> MASTER_SITES=
> https://github.com/backuppc/backuppc/releases/tag/${PORTVERSION}
>
> or set PORTNAME to a lowercase version and set DISTNAME=
> BackupPC-${PORTVERSION}
>
Many thanks, Mathieu! Works like a charm!
Just minor correction: a trailing slash is required in the MASTER_SITES URL to make portlint happy.
MASTER_SITES= https://github.com/backuppc/backuppc/releases/tag/${PORTVERSION}/
More information about the freebsd-ports
mailing list