Commit 10a535dc authored by jbeich's avatar jbeich
Browse files

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
parent e4c2fada
......@@ -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
......
# $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>
SHA256 (glandium-git-cinnabar-0.4.0b1_GH0.tar.gz) = bc07ed66b88d87452d00e2abf85cfe07d55898eb593c27181ebe2efb769822e0
SIZE (glandium-git-cinnabar-0.4.0b1_GH0.tar.gz) = 81685
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment