Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2012 13:47:50 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306234 - in head/devel: . hub
Message-ID:  <201210211347.q9LDloTN088040@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Oct 21 13:47:50 2012
New Revision: 306234
URL: http://svn.freebsd.org/changeset/ports/306234

Log:
  Add devel/hub.
  
  hub is a command line tool that wraps git in order to extend it with extra
  features and commands that make working with GitHub easier.
  
  PR:		ports/172214
  Submitted by:	Simon Olofsson <simon@olofsson.de>
  Feature safe:	yes

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Oct 21 13:20:05 2012	(r306233)
+++ head/devel/Makefile	Sun Oct 21 13:47:50 2012	(r306234)
@@ -779,6 +779,7 @@
     SUBDIR += hs-vector-algorithms
     SUBDIR += hs-void
     SUBDIR += htable
+    SUBDIR += hub
     SUBDIR += hwloc
     SUBDIR += hyena
     SUBDIR += hypersrc

Added: head/devel/hub/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/hub/Makefile	Sun Oct 21 13:47:50 2012	(r306234)
@@ -0,0 +1,39 @@
+# Created by: Simon Olofsson <simon@olofsson.de>
+# $FreeBSD$
+
+PORTNAME=	hub
+PORTVERSION=	1.10.2
+CATEGORIES=	devel
+
+MAINTAINER=	simon@olofsson.de
+COMMENT=	Introduces git to GitHub
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	defunkt
+GH_TAGNAME=	v${DISTVERSION}
+GH_COMMIT=	16b388a
+
+USE_RUBY=	yes
+USE_RAKE=	yes
+
+PLIST_FILES=	bin/hub \
+		etc/bash_completion.d/hub \
+		share/zsh/site-functions/_hub
+PLIST_DIRSTRY=	etc/bash_completion.d \
+		share/zsh/site-functions share/zsh
+MAN1=		hub.1
+
+do-build:
+	@cd ${WRKSRC} && ${RAKE_BIN} standalone
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/hub ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/hub.1 ${MAN1PREFIX}/man/man1
+
+post-install:
+	${MKDIR} ${PREFIX}/etc/bash_completion.d
+	${INSTALL_DATA} ${WRKSRC}/etc/hub.bash_completion.sh ${PREFIX}/etc/bash_completion.d/hub
+	${MKDIR} ${PREFIX}/share/zsh/site-functions
+	${INSTALL_DATA} ${WRKSRC}/etc/hub.zsh_completion ${PREFIX}/share/zsh/site-functions/_hub
+
+.include <bsd.port.mk>

Added: head/devel/hub/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/hub/distinfo	Sun Oct 21 13:47:50 2012	(r306234)
@@ -0,0 +1,2 @@
+SHA256 (hub-1.10.2.tar.gz) = 3bd8cf160062dac2dcdad176d14a88237fb4018522ef3a584a83c3f812d5b1c5
+SIZE (hub-1.10.2.tar.gz) = 54805

Added: head/devel/hub/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/hub/pkg-descr	Sun Oct 21 13:47:50 2012	(r306234)
@@ -0,0 +1,4 @@
+hub is a command line tool that wraps git in order to extend it with extra
+features and commands that make working with GitHub easier.
+
+WWW: http://defunkt.io/hub/



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