pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sat Mar  7 14:17:52 UTC 2015

Modified Files:
        pkgsrc/mk: bsd.pkg.mk
        pkgsrc/mk/fetch: bsd.fetch-vars.mk bsd.fetch.mk
Added Files:
        pkgsrc/mk/fetch: github.mk

Log Message:
Adopt USE_GITHUB from FreeBSD ports to make github MASTER_SITE
handling less painful.
See: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#makefile-master_sites-github

To use, set in Makefile:

DISTNAME=       exampleproject-1.2
USE_GITHUB=     YES

The following variables alter USE_GITHUB behavior:

GH_ACCOUNT      defaults to PKGBASE
GH_PROJECT      defaults to PKGBASE
GH_TAGNAME      defaults to PKGVERSION_NOREV
                (sometimes you want to override with v${PKGVERSION_NOREV})
GH_COMMIT       explicit commit hash if no tag is available
GH_RELEASE      default empty, may be set to ${DISTNAME} for example
GH_TYPE         overrides the autodetected MASTER_SITE URL scheme


To generate a diff of this commit:
cvs rdiff -u -r1.2009 -r1.2010 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -u -r1.16 -r1.17 pkgsrc/mk/fetch/bsd.fetch-vars.mk
cvs rdiff -u -r1.7 -r1.8 pkgsrc/mk/fetch/bsd.fetch.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/mk/fetch/github.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index