From owner-freebsd-ports@FreeBSD.ORG Fri Feb 28 21:19:42 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 E38C3C49 for ; Fri, 28 Feb 2014 21:19:42 +0000 (UTC) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6E6E8191F for ; Fri, 28 Feb 2014 21:19:42 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id w7so3078262lbi.34 for ; Fri, 28 Feb 2014 13:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=M+mw4eXsSH7PpFHOU4USEWhYWzY6ZQjBiC7MgzLZJhY=; b=L+lbPhvPc1qaRC1uhCNX8zaj4MtMJTB8sKmcMfcsddVXEaDov7cUWa0HmbESt6E6iq RF5KiJ/WLGjFbWEITV/ECo7X691if8ncx62WgF+y6Rv+PUV4G/C1/scguo7yKOGK+PSj p2116ZQX4zoWCzGRMajSRMSbpMD/XWeRCRzVAor0c5UEH2yVfpaIGY8gUNSW6FUo2OCY wHXXtbMwGlApZ8XpM2sEtQJcCUxwnsWMYVqMhwLYikBLBMq7JlPkuicIYuGWby7rCbpn xrOJLI7dp3IZGbYchQYOGNxB3nDy/z2Tc5KX9UW47W5XJttl1TFmy3mddwYJw3+gCrA/ gK/w== MIME-Version: 1.0 X-Received: by 10.152.30.68 with SMTP id q4mr8293795lah.44.1393622380058; Fri, 28 Feb 2014 13:19:40 -0800 (PST) Received: by 10.152.242.129 with HTTP; Fri, 28 Feb 2014 13:19:40 -0800 (PST) In-Reply-To: <02C492C82823BD9589D5077E@localhost> References: <02C492C82823BD9589D5077E@localhost> Date: Fri, 28 Feb 2014 22:19:40 +0100 Message-ID: Subject: Re: Can't figure out github syntax From: Olivier Duchateau To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Ports 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:19:43 -0000 2014-02-28 19:43 GMT+01:00 Paul Schmehl : > 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? In Mk/bsd.sites.mk grep GITHUB Place in your Makefile these lines: MASTER_SITES= GH GHC GH_ACCOUNT= collectiveintel GH_PROJECT= cif-v1 GH_TAGNAME= v${PORTVERSION}-FINAL GH_COMMIT= d86ca6c USE_GITHUB= yes if you define PORTVERSION= 1.0.2 Regards > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > "There are some ideas so wrong that only a very > intelligent person could believe in them." George Orwell > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- olivier