fetching from Github
Alex Laurie
alex.r.laurie at gmail.com
Sun Nov 3 10:15:27 UTC 2013
Thanks everyone
Awesome quick answer as per usual!
On 3 November 2013 10:08, Rainer Hurling <rhurlin at 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
>
>
More information about the freebsd-ports
mailing list