From owner-freebsd-ports@freebsd.org Tue May 2 18:57:28 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D296DD5A9C5 for ; Tue, 2 May 2017 18:57:28 +0000 (UTC) (envelope-from moiseev@mezonplus.ru) Received: from mx.mezonplus.ru (mx.mezonplus.ru [91.211.181.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 908A97ED for ; Tue, 2 May 2017 18:57:28 +0000 (UTC) (envelope-from moiseev@mezonplus.ru) Received: from [192.168.255.6] (unknown [192.168.255.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.mezonplus.ru (Postfix) with ESMTPSA id 8F05A17EAD for ; Tue, 2 May 2017 21:57:18 +0300 (MSK) Subject: Re: Fetching binaries from GitHub To: freebsd-ports@freebsd.org References: <64c53d1e-a9b7-bbd3-4644-c3458a3c2975@FreeBSD.org> From: Alexander Moisseev Message-ID: Date: Tue, 2 May 2017 21:57:19 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Thunderbird/55.0a1 MIME-Version: 1.0 In-Reply-To: <64c53d1e-a9b7-bbd3-4644-c3458a3c2975@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mezonplus.ru; s=dkim; t=1493751438; h=from:subject:date:message-id:to:mime-version:content-type:content-transfer-encoding:in-reply-to:references; bh=vZwM9HLc8Rpjf90auNV4UGuhuxncAclJaD3nWv6Ym4Q=; b=d1BabHOlJ7n2kK3m5aQ5TRwuKqoE9RvEA4tGHxcU9I32cH3z66WNFx6N/P3v/nNaIskDPW hFPvgKogMedSaasM6ltTrzNXA7LXozNe6sHVw70u1/UlvdHq3o3x4pbDt4rnJ5KmgqGxhY XdVXXulQCZNbaIM5bn/Q2T0iosKqg9Q= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2017 18:57:28 -0000 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}/