aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sites.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 7bbcc25a45d0..9aca1ec0ef3f 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -530,6 +530,13 @@ GH_PROJECT?= ${PORTNAME}
GH_TAGNAME?= ${DISTVERSION}
.endif
.endif
+#
+# Another way to simplify distfile fetching from GitHub, eliminating the need
+# to track 7-digit commits for each distfile, is to use the following:
+#
+# MASTER_SITES= https://github.com/GH_ACCOUNT/${PORTNAME}/archive/${DISTVERSION}.tar.gz?dummy=/
+# FETCH_ARGS= -prR
+#
.if !defined(IGNORE_MASTER_SITE_GNOME)
MASTER_SITE_GNOME+= \