The documentation for doing this is in Mk/bsd.sites.mk (cut and pasted
below)
Also, You can take a look at devel/py-kazoo as an example
#
# In order to use GitHub your port must define USE_GITHUB and the following
# variables:
#
# GH_ACCOUNT - account name of the GitHub user hosting the project
# default: not set, mandatory
#
# GH_PROJECT - name of the project on GitHub
# default: ${PORTNAME}
#
# GH_TAGNAME - name of the tag to download (master, 2.0.1, ...)
# default: ${DISTVERSION}
#
# GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME
# (man git-describe(1))
# default: not set, mandatory
#
On Tue, Dec 11, 2012 at 6:40 AM, Radim Kolar <[email protected]> wrote:
> its good practice to download source code using git from github if it is
> not available for download, just tagged in repo?
> ______________________________**_________________
> [email protected] mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-ports<http://lists.freebsd.org/mailman/listinfo/freebsd-ports>
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscribe@**freebsd.org<[email protected]>
> "
>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"