Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Nov 2013 11:08:57 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Alex Laurie <alex.r.laurie@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: fetching from Github
Message-ID:  <527620B9.10608@gwdg.de>
In-Reply-To: <CAJ33AJX=W56Xb774XWPj%2B2YRZ1TFrE_wVVs4SfQF6P9G-XG38g@mail.gmail.com>
References:  <CAJ33AJX=W56Xb774XWPj%2B2YRZ1TFrE_wVVs4SfQF6P9G-XG38g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 03.11.2013 10:57, schrieb Alex Laurie:
> Hi all,
> 
> Writing my first port form scratch and going through the slow porting
> method in the handbook. However I'm having problems fetching the source
> from Github. Any pointers?

Hi Alex,

one method I use to fetch 'quasi-release' version from github is like this:

USE_GITHUB=
GH_ACCOUNT=     githubname
GH_COMMIT=      [first seven digits of commit number]
GH_TAGNAME=     ${GH_COMMIT}


You will find more ports using this technique with

find . -name Makefile -depth 3 -exec grep -l -e "GITHUB" {} \;

Please, look into there Makefile to get some ideas.

Hope this helps,
Rainer




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?527620B9.10608>