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


There used to be a GITHUB_RELEASE shortcut, but GitHub deprecated it
years ago and as far as I remember, asked us to not provide it.


-- 
Mathieu Arnold


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to