Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2016 00:31:49 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418059 - in head/devel: . git-cinnabar
Message-ID:  <201607050031.u650VnqZ074513@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Jul  5 00:31:48 2016
New Revision: 418059
URL: https://svnweb.freebsd.org/changeset/ports/418059

Log:
  devel/git-cinnabar: add new port
  
  git-cinnabar is a git remote helper to interact with mercurial
  repositories. Contrary to other such helpers*, it doesn't use a local
  mercurial clone under the hood, although it currently does require
  mercurial to be installed for some of its libraries.
  
  https://github.com/glandium/git-cinnabar

Added:
  head/devel/git-cinnabar/
  head/devel/git-cinnabar/Makefile   (contents, props changed)
  head/devel/git-cinnabar/distinfo   (contents, props changed)
  head/devel/git-cinnabar/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Jul  4 21:06:06 2016	(r418058)
+++ head/devel/Makefile	Tue Jul  5 00:31:48 2016	(r418059)
@@ -657,6 +657,7 @@
     SUBDIR += gio-sharp
     SUBDIR += git
     SUBDIR += git-bzr-ng
+    SUBDIR += git-cinnabar
     SUBDIR += git-codereview
     SUBDIR += git-cola
     SUBDIR += git-cvs

Added: head/devel/git-cinnabar/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/git-cinnabar/Makefile	Tue Jul  5 00:31:48 2016	(r418059)
@@ -0,0 +1,47 @@
+# $FreeBSD$
+
+PORTNAME=	git-cinnabar
+DISTVERSION=	0.4.0b1
+CATEGORIES=	devel
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Git remote helper to interact with Mercurial repositories
+
+LICENSE=	GPLv2
+
+BUILD_DEPENDS=	${NONEXISTENT}:devel/git:configure
+RUN_DEPENDS=	git:devel/git \
+		hg:devel/mercurial
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	glandium
+
+USES=		gmake python:2.7,run shebangfix
+SHEBANG_LANG=	python2.7
+SHEBANG_FILES=	${PORTNAME} git-remote-hg
+.ifnmake describe
+MAKE_ENV!=	${MAKE} -V MAKE_ENV -C ${PORTSDIR}/devel/git
+MAKE_ARGS!=	${MAKE} -V MAKE_ARGS -C ${PORTSDIR}/devel/git
+.endif
+MAKE_ENV+=	PYTHON_PATH="${PYTHON_CMD}"
+DATADIR=	${PREFIX}/libexec/git-core
+PORTDATA=	*
+PORTDOCS=	README.md
+
+post-configure:
+	@${RMDIR} ${WRKSRC}/git-core
+	@${MV} $$(${MAKE} -V WRKSRC -C ${PORTSDIR}/devel/git) \
+		${WRKSRC}/git-core
+
+do-install:
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${WRKSRC}/git-remote-hg \
+		${STAGEDIR}${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/git-core/${PORTNAME}-helper \
+		${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTNAME:S/git-//}" \
+		${STAGEDIR}${DATADIR}/pythonlib)
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} \
+		"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>

Added: head/devel/git-cinnabar/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/git-cinnabar/distinfo	Tue Jul  5 00:31:48 2016	(r418059)
@@ -0,0 +1,2 @@
+SHA256 (glandium-git-cinnabar-0.4.0b1_GH0.tar.gz) = bc07ed66b88d87452d00e2abf85cfe07d55898eb593c27181ebe2efb769822e0
+SIZE (glandium-git-cinnabar-0.4.0b1_GH0.tar.gz) = 81685

Added: head/devel/git-cinnabar/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/git-cinnabar/pkg-descr	Tue Jul  5 00:31:48 2016	(r418059)
@@ -0,0 +1,6 @@
+git-cinnabar is a git remote helper to interact with mercurial
+repositories. Contrary to other such helpers, it doesn't use a local
+mercurial clone under the hood, although it currently does require
+mercurial to be installed for some of its libraries.
+
+WWW: https://github.com/glandium/git-cinnabar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607050031.u650VnqZ074513>