From b7131ca8019aa29c0cea1bebd71acc8d87270bc5 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 8 Feb 2015 16:53:55 +0000 Subject: 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. --- shells/git-sh/DESCR | 17 +++++++++++++++++ shells/git-sh/Makefile | 19 +++++++++++++++++++ shells/git-sh/PLIST | 3 +++ shells/git-sh/distinfo | 5 +++++ 4 files changed, 44 insertions(+) create mode 100644 shells/git-sh/DESCR create mode 100644 shells/git-sh/Makefile create mode 100644 shells/git-sh/PLIST create mode 100644 shells/git-sh/distinfo (limited to 'shells') 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 -- cgit v1.2.3