summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn>2015-03-07 16:17:42 +0000
committertnn <tnn>2015-03-07 16:17:42 +0000
commit982a807d8550639561cf8693aec626214420f46b (patch)
tree4d779863a9965f123304cede2bc1e867d9864695 /mk
parent3dabb72bea039c53be64a622704d22555d100730 (diff)
downloadpkgsrc-982a807d8550639561cf8693aec626214420f46b.tar.gz
improve inline documentation
Diffstat (limited to 'mk')
-rw-r--r--mk/fetch/github.mk13
1 files changed, 6 insertions, 7 deletions
diff --git a/mk/fetch/github.mk b/mk/fetch/github.mk
index 01433c50744..9a7a8562547 100644
--- a/mk/fetch/github.mk
+++ b/mk/fetch/github.mk
@@ -1,4 +1,4 @@
-# $NetBSD: github.mk,v 1.2 2015/03/07 15:31:52 tnn Exp $
+# $NetBSD: github.mk,v 1.3 2015/03/07 16:17:42 tnn Exp $
#
# github.com master site handling
#
@@ -18,20 +18,19 @@
# GH_TYPE overrides the autodetected MASTER_SITE URL scheme:
#
# "tag"
-# This is the default when GH_TAGNAME is set. Exampe URL:
-# http://www.github.com/acct/proj/archive/{GH_TAGNAME}.tar.gz
+# This is the default when GH_TAGNAME is set or no type was specified. Exampe URL:
+# http://github.com/acct/proj/archive/{GH_TAGNAME}.tar.gz
#
# "release"
# This is the default when GH_RELEASE is set. Example URL:
-# http://www.github.com/acct/proj/releases/download/${GH_RELEASE}/${DISTNAME}${EXTRACT_SUFX}
+# http://github.com/acct/proj/releases/download/${GH_RELEASE}/${DISTNAME}.tar.gz
#
# "commit"
-# This is the default when GH_TAGNAME and GH_COMMIT are empty.
-# -${MASTER_SITE_GITHUB}${GH_ACCOUNT}/{GH_PROJECT}/releases/download/${PKGVERSION_NOREV}${EXTRACT_SUFX}
+# This is the default when GH_COMMIT is set. Example URL:
+# http://github.com/acct/proj/archive/${GH_COMMIT}.tar.gz
#
# Keywords: github
-
.if defined(USE_GITHUB) && !empty(USE_GITHUB:M[yY][eE][sS])
# maybe move this to sites.mk