| @@ -1,31 +1,31 @@ | | | @@ -1,31 +1,31 @@ |
1 | # $NetBSD: github.mk,v 1.14 2021/03/30 16:47:03 ryoon Exp $ | | 1 | # $NetBSD: github.mk,v 1.15 2021/04/10 09:03:13 nia Exp $ |
2 | # | | 2 | # |
3 | # github.com master site handling | | 3 | # github.com master site handling |
4 | # | | 4 | # |
5 | # To use, set in Makefile: | | 5 | # To use, set in Makefile: |
6 | # | | 6 | # |
7 | # DISTNAME= exampleproject-1.2 | | 7 | # DISTNAME= exampleproject-1.2 |
8 | # MASTER_SITES= ${MASTER_SITE_GITHUB:=accountname/} | | 8 | # MASTER_SITES= ${MASTER_SITE_GITHUB:=accountname/} |
9 | # | | 9 | # |
10 | # The following variables alter github.mk behavior: | | 10 | # The following variables alter github.mk behavior: |
11 | # | | 11 | # |
12 | # GITHUB_PROJECT defaults to PKGBASE | | 12 | # GITHUB_PROJECT defaults to PKGBASE |
13 | # GITHUB_TAG defaults to PKGVERSION_NOREV | | 13 | # GITHUB_TAG defaults to PKGVERSION_NOREV |
14 | # sometimes you want to override with v${PKGVERSION_NOREV} | | 14 | # sometimes you want to override with v${PKGVERSION_NOREV} |
15 | # SHA-1 commit ids are also acceptable | | 15 | # SHA-1 commit ids are also acceptable |
16 | # GITHUB_RELEASE defaults to not defined, set this to ${DISTNAME} | | 16 | # GITHUB_RELEASE defaults to not defined, set this to ${DISTNAME} |
17 | # when packaging a release not based on a git tag. | | 17 | # when packaging a release not based on a git tag. |
18 | # GITHUB_SUBMODULE manually set submodule information: | | 18 | # GITHUB_SUBMODULES manually set submodule information: |
19 | # values should be: | | 19 | # values should be: |
20 | # GitHub_user GitHub_project tag_or_hash submodule_path | | 20 | # GitHub_user GitHub_project tag_or_hash submodule_path |
21 | # GITHUB_TYPE overrides the autodetected MASTER_SITE URL scheme: | | 21 | # GITHUB_TYPE overrides the autodetected MASTER_SITE URL scheme: |
22 | # | | 22 | # |
23 | # "tag" | | 23 | # "tag" |
24 | # This is the default when GITHUB_RELEASE is not defined. Example URL: | | 24 | # This is the default when GITHUB_RELEASE is not defined. Example URL: |
25 | # http://github.com/acct/${GITHUB_PROJECT}/archive/{GITHUB_TAG}.tar.gz | | 25 | # http://github.com/acct/${GITHUB_PROJECT}/archive/{GITHUB_TAG}.tar.gz |
26 | # | | 26 | # |
27 | # "release" | | 27 | # "release" |
28 | # This is the default when GITHUB_RELEASE is set. Example URL: | | 28 | # This is the default when GITHUB_RELEASE is set. Example URL: |
29 | # http://github.com/acct/${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/${DISTNAME}.tar.gz | | 29 | # http://github.com/acct/${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/${DISTNAME}.tar.gz |
30 | # | | 30 | # |
31 | # Keywords: github | | 31 | # Keywords: github |