pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/hub hub: Import hub-2.2.9 as net/hub
details: https://anonhg.NetBSD.org/pkgsrc/rev/1925d4d741de
branches: trunk
changeset: 376252:1925d4d741de
user: leot <leot%pkgsrc.org@localhost>
date: Tue Feb 27 17:08:35 2018 +0000
description:
hub: Import hub-2.2.9 as net/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.
$ hub clone rtomayko/tilt
# expands to:
$ git clone git://github.com/rtomayko/tilt.git
hub is best aliased as `git', so you can type `git <command>' in the
shell and get all the usual hub features.
diffstat:
net/hub/DESCR | 10 ++++++++++
net/hub/Makefile | 36 ++++++++++++++++++++++++++++++++++++
net/hub/PLIST | 3 +++
net/hub/distinfo | 6 ++++++
4 files changed, 55 insertions(+), 0 deletions(-)
diffs (71 lines):
diff -r 42d59205c2e7 -r 1925d4d741de net/hub/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hub/DESCR Tue Feb 27 17:08:35 2018 +0000
@@ -0,0 +1,10 @@
+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.
+
+ $ hub clone rtomayko/tilt
+ # expands to:
+ $ git clone git://github.com/rtomayko/tilt.git
+
+hub is best aliased as `git', so you can type `git <command>' in the
+shell and get all the usual hub features.
diff -r 42d59205c2e7 -r 1925d4d741de net/hub/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hub/Makefile Tue Feb 27 17:08:35 2018 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2018/02/27 17:08:35 leot Exp $
+
+DISTNAME= hub-2.2.9
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=github/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= leot%NetBSD.org@localhost
+HOMEPAGE= https://hub.github.com/
+COMMENT= hub helps you win at git
+LICENSE= mit
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/github/hub
+
+DEPENDS+= git-base>=1.7.3:../../devel/git-base
+
+SUBST_CLASSES+= man
+SUBST_STAGE.man= pre-configure
+SUBST_MESSAGE.man= Fix hub name in hub(1) man page
+SUBST_FILES.man= man/hub.1
+SUBST_SED.man+= -e 's/\\fBgit/\\fBhub/g'
+SUBST_SED.man+= -e 's/\$$ git/$$ hub/'
+SUBST_SED.man+= -e '/\$$ GITHUB_HOST=/ s/ git clone / hub clone /'
+SUBST_SED.man+= -e 's/\.SS "git/.SS "hub/'
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+CHECK_RELRO_SKIP+= bin/hub
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/bin/hub ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/hub.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 42d59205c2e7 -r 1925d4d741de net/hub/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hub/PLIST Tue Feb 27 17:08:35 2018 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/27 17:08:35 leot Exp $
+bin/hub
+man/man1/hub.1
diff -r 42d59205c2e7 -r 1925d4d741de net/hub/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/hub/distinfo Tue Feb 27 17:08:35 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/02/27 17:08:35 leot Exp $
+
+SHA1 (hub-2.2.9.tar.gz) = 2389395a7f64bdc122a48d513e03b7b751f0389d
+RMD160 (hub-2.2.9.tar.gz) = eb83e4d6ec843d485d56da7b2e862e32ba328f3b
+SHA512 (hub-2.2.9.tar.gz) = eec9624e77937787b2a8c6a70ae0cb0ffd5db021c665e8e3b9d0b1293ea3f54b1d540cd1e9a45569967b2e5e16ee41289479a19c9fc0868076e904755a7d2438
+Size (hub-2.2.9.tar.gz) = 318298 bytes
Home |
Main Index |
Thread Index |
Old Index