pkgsrc-WIP-changes archive

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

git-package.mk: Welcome to GIT_REVISION



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Dec 11 02:32:57 2015 +0100
Changeset:	b3c83e916cc8f3009bd4cfe6ab283295beca97fd

Modified Files:
	dwb-gtk2-git/Makefile.common
	fuse-google-drive/Makefile
	irssi-otr/Makefile
	mk/git-package.mk

Log Message:
git-package.mk: Welcome to GIT_REVISION

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b3c83e916cc8f3009bd4cfe6ab283295beca97fd

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

diffstat:
 dwb-gtk2-git/Makefile.common | 2 +-
 fuse-google-drive/Makefile   | 2 +-
 irssi-otr/Makefile           | 2 +-
 mk/git-package.mk            | 7 ++++++-
 4 files changed, 9 insertions(+), 4 deletions(-)

diffs:
diff --git a/dwb-gtk2-git/Makefile.common b/dwb-gtk2-git/Makefile.common
index 5f804d6..8bc9416 100644
--- a/dwb-gtk2-git/Makefile.common
+++ b/dwb-gtk2-git/Makefile.common
@@ -9,7 +9,7 @@ MASTER_SITES=	https://bitbucket.org/portix/dwb/get/
 
 GIT_REPOSITORIES=	dwb
 GIT_REPO.dwb=	http://bitbucket.org/portix/dwb.git
-GIT_TAG.dwb=	dda5aa74a63abfdbde6c52ad067de628f6b7c615
+GIT_REVISION.dwb=	dda5aa74a63abfdbde6c52ad067de628f6b7c615
 WRKSRC=	${WRKDIR}/dwb
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
diff --git a/fuse-google-drive/Makefile b/fuse-google-drive/Makefile
index 203ba57..00ceac5 100644
--- a/fuse-google-drive/Makefile
+++ b/fuse-google-drive/Makefile
@@ -12,7 +12,7 @@ LICENSE=	gplv2
 
 GIT_REPOSITORIES=	fuse-google-drive
 GIT_REPO.fuse-google-drive=	http://github.com/jcline/fuse-google-drive.git
-GIT_TAG.fuse-google-drive=	1e1bfa00b6d55cabcb717d0109ffc374c0af0348
+GIT_REVISION.fuse-google-drive=	1e1bfa00b6d55cabcb717d0109ffc374c0af0348
 .include "../../wip/mk/git-package.mk"
 
 GNU_CONFIGURE=	yes
diff --git a/irssi-otr/Makefile b/irssi-otr/Makefile
index bd45de9..66c88cf 100644
--- a/irssi-otr/Makefile
+++ b/irssi-otr/Makefile
@@ -12,7 +12,7 @@ GIT_REPOSITORIES=	github
 GIT_REPO.github= 	git://github.com/cryptodotis/irssi-otr.git
 GIT_MODULE.github=	irssi-otr
 # v1.01 is not tagged; use a version slightly after that.
-GIT_TAG.github=		4ad3b7b6c85be0154ab3694fe9831796db20c4fe
+GIT_REVISION.github=	4ad3b7b6c85be0154ab3694fe9831796db20c4fe
 
 WRKSRC=			${WRKDIR}/${PKGBASE}
 
diff --git a/mk/git-package.mk b/mk/git-package.mk
index 3528273..d59fc7a 100644
--- a/mk/git-package.mk
+++ b/mk/git-package.mk
@@ -15,6 +15,9 @@
 #	GIT_BRANCH.${id}
 #		The branch to check out.
 #
+#	GIT_REVISION.${id}
+#		The revision to check out.
+#
 #	GIT_TAG.${id}
 #		Overridable GIT tag for a repository.
 #
@@ -68,7 +71,7 @@ _GIT_DISTDIR=		${DISTDIR}/git-packages
 
 #
 # Generation of repository-specific variables
-#
+
 
 .for repo in ${GIT_REPOSITORIES}
 GIT_MODULE.${repo}?=	${repo}
@@ -77,6 +80,8 @@ _GIT_ENV.${repo}=	${GIT_ENV.${repo}}
 # determine appropriate checkout branch or tag
 .  if defined(GIT_BRANCH.${repo})
 _GIT_FLAG.${repo}=	origin/${GIT_BRANCH.${repo}}
+.  elif defined(GIT_REVISION.${repo})
+_GIT_FLAG.${repo}=	${GIT_REVISION.${repo}}
 .  elif defined(GIT_TAG.${repo})
 _GIT_FLAG.${repo}=	tags/${GIT_TAG.${repo}}
 .  else


Home | Main Index | Thread Index | Old Index