Date: Sun, 3 Nov 2013 10:15:27 +0000 From: Alex Laurie <alex.r.laurie@gmail.com> To: Rainer Hurling <rhurlin@gwdg.de> Cc: freebsd-ports@freebsd.org Subject: Re: fetching from Github Message-ID: <CAJ33AJVBn-rs42e=9xBWkxZjMMY_t4UM40dbtm6DwLtcZJ6WAA@mail.gmail.com> In-Reply-To: <527620B9.10608@gwdg.de> References: <CAJ33AJX=W56Xb774XWPj%2B2YRZ1TFrE_wVVs4SfQF6P9G-XG38g@mail.gmail.com> <527620B9.10608@gwdg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks everyone Awesome quick answer as per usual! On 3 November 2013 10:08, Rainer Hurling <rhurlin@gwdg.de> wrote: > 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?CAJ33AJVBn-rs42e=9xBWkxZjMMY_t4UM40dbtm6DwLtcZJ6WAA>