summaryrefslogtreecommitdiff
path: root/mk/fetch/github.mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2018-11-30 18:38:19 +0000
committerrillig <rillig@pkgsrc.org>2018-11-30 18:38:19 +0000
commit218a3d5f646d57643a4a2acd82a9ab89ed6ac203 (patch)
tree56b607d224d0bd3b3ed271a39e7fe1e723ac5d5d /mk/fetch/github.mk
parentf729a38ee3ed2297d167ece70820f68a700435a7 (diff)
downloadpkgsrc-218a3d5f646d57643a4a2acd82a9ab89ed6ac203.tar.gz
mk/misc: make configuration for show-all targets more configurable
Up to now, there was a central list of variable name patterns that defined whether a variable was printed as a sorted list, as a list or as a single value. Now each variable group decides on its own which of the variables are printed in which way, using the usual glob patterns. This is more flexible since different files sometimes differ in their naming conventions. Two variable groups are added: license (for everything related to LICENSE) and go (for lang/go).
Diffstat (limited to 'mk/fetch/github.mk')
-rw-r--r--mk/fetch/github.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/fetch/github.mk b/mk/fetch/github.mk
index 61667f3fb80..da15fe0748e 100644
--- a/mk/fetch/github.mk
+++ b/mk/fetch/github.mk
@@ -1,4 +1,4 @@
-# $NetBSD: github.mk,v 1.11 2018/08/01 18:01:32 rillig Exp $
+# $NetBSD: github.mk,v 1.12 2018/11/30 18:38:20 rillig Exp $
#
# github.com master site handling
#
@@ -76,3 +76,4 @@ _VARGROUPS+= github
_PKG_VARS.github= GITHUB_PROJECT GITHUB_TAG GITHUB_TYPE
_DEF_VARS.github= _USE_GITHUB _GITHUB_DEFAULT_DISTFILES SITES.${_GITHUB_DEFAULT_DISTFILES}
_USE_VARS.github= PKGBASE PKGVERSION_NOREV
+_LISTED_VARS.github= SITES.*