Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 22:19:40 +0100
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Can't figure out github syntax
Message-ID:  <CAHcdu2o=NEA7=h8GOJdLa6Gqa1teYY99b3nkrVo3Osng0SJDdA@mail.gmail.com>
In-Reply-To: <02C492C82823BD9589D5077E@localhost>
References:  <02C492C82823BD9589D5077E@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
2014-02-28 19:43 GMT+01:00 Paul Schmehl <pschmehl_lists@tx.rr.com>:
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcdu2o=NEA7=h8GOJdLa6Gqa1teYY99b3nkrVo3Osng0SJDdA>