downloading source code from github

Steven Kreuzer skreuzer at freebsd.org
Tue Dec 11 20:05:58 UTC 2012


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 <hsn at filez.com> wrote:

> its good practice to download source code using git from github if it is
> not available for download, just tagged in repo?
> ______________________________**_________________
> freebsd-ports at freebsd.org 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<freebsd-ports-unsubscribe at freebsd.org>
> "
>


More information about the freebsd-ports mailing list