From owner-freebsd-ports@FreeBSD.ORG Fri Feb 28 21:21:34 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06E24DC9 for ; Fri, 28 Feb 2014 21:21:34 +0000 (UTC) Received: from mail-lb0-x243.google.com (mail-lb0-x243.google.com [IPv6:2a00:1450:4010:c04::243]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 82233194D for ; Fri, 28 Feb 2014 21:21:33 +0000 (UTC) Received: by mail-lb0-f195.google.com with SMTP id w7so1116837lbi.6 for ; Fri, 28 Feb 2014 13:21:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=pBmr+KMQGrHxS2ZgBcWAiB1f9Qtf454jyYpmXQhCn/4=; b=LhYXWgAsZoPEOGm6flINbv8JB9z0Wb2mHaNOVVX79d6ni6ytpcZ6Uhglzs8Ojf9n1e b0eflpfO3jqNjc1QMcD/jKHoVNpLBGemWnoQ4MMpkXHIJJaNfjH7nORTbwrJnhQhn+Te mUpl4OwegX47CFgZZv5DCXj3mcs3JIRyjdX7RHyhT/rXKtgrQilMZ0+HoJHI0dG+CKdH /ya9goKUTQFX8Yh1TBOqJ79jzwc46bqptCD2NBjd2FN6i1OGG1dy26ZcHuCkZWtKLAZx pG4l7PUzoHetwb+2vTCCshImD+DBQ2cKj0sJB3ppZf3LO2sTT5Tfbx55zZmDmkjBWBMz NiBg== X-Received: by 10.152.7.97 with SMTP id i1mr10108824laa.36.1393622491571; Fri, 28 Feb 2014 13:21:31 -0800 (PST) Received: from [192.168.60.133] ([91.193.33.70]) by mx.google.com with ESMTPSA id qx7sm5384490lbb.9.2014.02.28.13.21.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Feb 2014 13:21:30 -0800 (PST) Message-ID: <5310FDD4.5030606@gmail.com> Date: Fri, 28 Feb 2014 23:21:24 +0200 From: Kozlov Sergey User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Paul Schmehl , FreeBSD Ports Subject: Re: Can't figure out github syntax References: <02C492C82823BD9589D5077E@localhost> In-Reply-To: <02C492C82823BD9589D5077E@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 21:21:34 -0000 On 28.02.2014 20:43, Paul Schmehl wrote: > I'm working on a new port that's fetched from github. > > This works: > > MASTER_SITES= > https://github.com/collectiveintel/cif-v1/releases/download/v1.0.2-FINAL/ > DISTNAME= libcif-v1.0.2-FINAL > > But I cannot for the life of me figure out how to convert that to the > more normal USE_GITHUB syntax. > > Is there a doc on the GITHUB syntax that explains it for dummies? > Hi! Check out the (/usr/ports)/Mk/bsd.sites.mk file, It's pretty well documented. I think the right combination of GH_ACCOUNT, GH_PROJECT, GH_TAGNAME and GH_COMMIT would do the trick. Regards, Kozlov Sergey