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}/
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"