pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/hub



Module Name:    pkgsrc
Committed By:   leot
Date:           Tue Feb 27 17:08:35 UTC 2018

Added Files:
        pkgsrc/net/hub: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/hub/DESCR pkgsrc/net/hub/Makefile \
    pkgsrc/net/hub/PLIST pkgsrc/net/hub/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/hub/DESCR
diff -u /dev/null pkgsrc/net/hub/DESCR:1.1
--- /dev/null   Tue Feb 27 17:08:35 2018
+++ pkgsrc/net/hub/DESCR        Tue Feb 27 17:08:35 2018
@@ -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.
Index: pkgsrc/net/hub/Makefile
diff -u /dev/null pkgsrc/net/hub/Makefile:1.1
--- /dev/null   Tue Feb 27 17:08:35 2018
+++ pkgsrc/net/hub/Makefile     Tue Feb 27 17:08:35 2018
@@ -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"
Index: pkgsrc/net/hub/PLIST
diff -u /dev/null pkgsrc/net/hub/PLIST:1.1
--- /dev/null   Tue Feb 27 17:08:35 2018
+++ pkgsrc/net/hub/PLIST        Tue Feb 27 17:08:35 2018
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2018/02/27 17:08:35 leot Exp $
+bin/hub
+man/man1/hub.1
Index: pkgsrc/net/hub/distinfo
diff -u /dev/null pkgsrc/net/hub/distinfo:1.1
--- /dev/null   Tue Feb 27 17:08:35 2018
+++ pkgsrc/net/hub/distinfo     Tue Feb 27 17:08:35 2018
@@ -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