On 3/11/2013 8:57 PM, Alex Laurie wrote:
> 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?
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
> 

Absolutely Alex :)

Mk/bsd.sites.mk supports USE_GITHUB=yes for fetching

There are additional GH_* knobs listed there that are also needed:

GH_ACCOUNT
GH_PROJECT
GH_TAGNAME
GH_COMMIT

Note that not all of the above are *always* required, depending on
repository and project naming.

Grep the ports tree for USE_GITHUB for examples, one of mine is:

databases/py-redis

Enjoy!

--
koobs

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to