summaryrefslogtreecommitdiff
path: root/shells/git-sh
diff options
context:
space:
mode:
authorwiz <wiz>2015-02-08 16:53:55 +0000
committerwiz <wiz>2015-02-08 16:53:55 +0000
commit1aaefe73139d7092df3dd874e9ed185ac11ea833 (patch)
tree2f97d30875c01d0ce7c2c00efae85fc9ff5d8230 /shells/git-sh
parent0862fe3161867fb17a5d85d14d3217783fb29ee9 (diff)
downloadpkgsrc-1aaefe73139d7092df3dd874e9ed185ac11ea833.tar.gz
Import git-sh-1.3 as shells/git-sh.
git-sh is a customized bash shell suitable for git work. The git-sh command starts an interactive bash shell tweaked for heavy git interaction: * All git commands available at top-level (checkout master = git checkout master) * All git aliases defined in the [alias] section of ~/.gitconfig available at top-level. * Shawn O. Pearce's excellent bash completion strapped onto all core commands and git aliases. * Custom prompt with current branch, repository, and work tree dirty indicator. * Customizable via /etc/gitshrc and ~/.gitshrc config files; for creating aliases, changing the prompt, etc. * Runs on top of normal bash (~/.bashrc) and readline (~/.inputrc) configurations.
Diffstat (limited to 'shells/git-sh')
-rw-r--r--shells/git-sh/DESCR17
-rw-r--r--shells/git-sh/Makefile19
-rw-r--r--shells/git-sh/PLIST3
-rw-r--r--shells/git-sh/distinfo5
4 files changed, 44 insertions, 0 deletions
diff --git a/shells/git-sh/DESCR b/shells/git-sh/DESCR
new file mode 100644
index 00000000000..20780b642e6
--- /dev/null
+++ b/shells/git-sh/DESCR
@@ -0,0 +1,17 @@
+git-sh is a customized bash shell suitable for git work.
+
+The git-sh command starts an interactive bash shell tweaked for
+heavy git interaction:
+
+* All git commands available at top-level (checkout master = git
+ checkout master)
+* All git aliases defined in the [alias] section of ~/.gitconfig
+ available at top-level.
+* Shawn O. Pearce's excellent bash completion strapped onto all
+ core commands and git aliases.
+* Custom prompt with current branch, repository, and work tree
+ dirty indicator.
+* Customizable via /etc/gitshrc and ~/.gitshrc config files; for
+ creating aliases, changing the prompt, etc.
+* Runs on top of normal bash (~/.bashrc) and readline (~/.inputrc)
+ configurations.
diff --git a/shells/git-sh/Makefile b/shells/git-sh/Makefile
new file mode 100644
index 00000000000..5fe9dcf881f
--- /dev/null
+++ b/shells/git-sh/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2015/02/08 16:53:55 wiz Exp $
+
+VERSION= 1.3
+DISTNAME= git-sh-${VERSION}
+CATEGORIES= shells
+MASTER_SITES= -https://github.com/rtomayko/git-sh/archive/${VERSION}${EXTRACT_SUFX}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/rtomayko/git-sh/
+COMMENT= Customized bash environment suitable for git work
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= # none
+USE_TOOLS+= bash:run
+REPLACE_BASH+= git-sh.bash
+MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+MAKE_FLAGS+= mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/shells/git-sh/PLIST b/shells/git-sh/PLIST
new file mode 100644
index 00000000000..7f2c9a97563
--- /dev/null
+++ b/shells/git-sh/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/08 16:53:55 wiz Exp $
+bin/git-sh
+man/man1/git-sh.1
diff --git a/shells/git-sh/distinfo b/shells/git-sh/distinfo
new file mode 100644
index 00000000000..8eee4b16d09
--- /dev/null
+++ b/shells/git-sh/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/02/08 16:53:55 wiz Exp $
+
+SHA1 (git-sh-1.3.tar.gz) = b96801ed2a63ef510583e7f1c1b4bc234d991507
+RMD160 (git-sh-1.3.tar.gz) = 4ffccaac2ff4c7a9b1ae60424e236f68feb94070
+Size (git-sh-1.3.tar.gz) = 26757 bytes