Can't figure out github syntax

Olivier Duchateau duchateau.olivier at gmail.com
Fri Feb 28 21:19:43 UTC 2014


2014-02-28 19:43 GMT+01:00 Paul Schmehl <pschmehl_lists at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



-- 
olivier


More information about the freebsd-ports mailing list