Date: Tue, 2 May 2017 21:57:19 +0300 From: Alexander Moisseev <moiseev@mezonplus.ru> To: freebsd-ports@freebsd.org Subject: Re: Fetching binaries from GitHub Message-ID: <da57eb22-2fe1-5177-195c-655c43991c8c@mezonplus.ru> In-Reply-To: <64c53d1e-a9b7-bbd3-4644-c3458a3c2975@FreeBSD.org> References: <c2191f1f-65e1-43b8-1901-b865b9839c1e@mezonplus.ru> <64c53d1e-a9b7-bbd3-4644-c3458a3c2975@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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}/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?da57eb22-2fe1-5177-195c-655c43991c8c>