pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
hub: Import hub-2.2.9 as wip/hub
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Tue Jan 2 15:08:01 2018 +0100
Changeset: fae665d146194d1b31a0e2a3f939975e8b87fe91
Modified Files:
Makefile
Added Files:
hub/DESCR
hub/Makefile
hub/PLIST
hub/distinfo
Log Message:
hub: Import hub-2.2.9 as wip/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.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fae665d146194d1b31a0e2a3f939975e8b87fe91
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
hub/DESCR | 10 ++++++++++
hub/Makefile | 36 ++++++++++++++++++++++++++++++++++++
hub/PLIST | 3 +++
hub/distinfo | 6 ++++++
5 files changed, 56 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index b296ee8227..a929323230 100644
--- a/Makefile
+++ b/Makefile
@@ -1404,6 +1404,7 @@ SUBDIR+= html2latex
SUBDIR+= htslib
SUBDIR+= httrack
SUBDIR+= hu-go
+SUBDIR+= hub
SUBDIR+= hunspell-dictionaries
SUBDIR+= hunspell-uk_UA
SUBDIR+= hypatia
diff --git a/hub/DESCR b/hub/DESCR
new file mode 100644
index 0000000000..6b99e90812
--- /dev/null
+++ b/hub/DESCR
@@ -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 --git a/hub/Makefile b/hub/Makefile
new file mode 100644
index 0000000000..2aa599bf2e
--- /dev/null
+++ b/hub/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD$
+
+DISTNAME= hub-2.2.9
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=github/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://hub.github.com/
+COMMENT= hub helps you win at git
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/src/github.com/github/hub
+
+.include "../../lang/go/version.mk"
+
+BUILD_DEPENDS+= go-${GO_VERSION}*:../../lang/go
+DEPENDS+= git-base>=1.7.3:../../devel/git-base
+
+MAKE_ENV+= GOPATH=${WRKDIR}:${PREFIX}/gopkg
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+post-extract:
+ ${MKDIR} ${WRKSRC}
+ ${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ go build -ldflags "-X github.com/github/hub/version.Version=${PKGVERSION_NOREV}" -o bin/hub
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/hub ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/man/hub.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/hub/PLIST b/hub/PLIST
new file mode 100644
index 0000000000..66e896957e
--- /dev/null
+++ b/hub/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/hub
+man/man1/hub.1
diff --git a/hub/distinfo b/hub/distinfo
new file mode 100644
index 0000000000..49a086feef
--- /dev/null
+++ b/hub/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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