Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2014 11:34:38 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372317 - in head/devel: . git-extras git-extras/files
Message-ID:  <201411081134.sA8BYcmE063542@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Nov  8 11:34:37 2014
New Revision: 372317
URL: https://svnweb.freebsd.org/changeset/ports/372317
QAT: https://qat.redports.org/buildarchive/r372317/

Log:
  Additional Git sub-commands:
   - repository summary
   - author commit percentages
   - changelog population
   - shortcuts for branching/tagging/releasing
   - GitHub related shortcuts
   - repl (read-eval-print-loop), an interactive mode
   - and more...
  
  WWW: https://github.com/tj/git-extras/
  
  PR:		ports/194542
  Submitted by:	Igor Ostapenko <igor.ostapenko@gmail.com>

Added:
  head/devel/git-extras/
  head/devel/git-extras/Makefile   (contents, props changed)
  head/devel/git-extras/distinfo   (contents, props changed)
  head/devel/git-extras/files/
  head/devel/git-extras/files/patch-Makefile   (contents, props changed)
  head/devel/git-extras/pkg-descr   (contents, props changed)
  head/devel/git-extras/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Nov  8 11:30:25 2014	(r372316)
+++ head/devel/Makefile	Sat Nov  8 11:34:37 2014	(r372317)
@@ -540,6 +540,7 @@
     SUBDIR += gio-sharp
     SUBDIR += git
     SUBDIR += git-bzr-ng
+    SUBDIR += git-extras
     SUBDIR += git-merge-changelog
     SUBDIR += git-modes
     SUBDIR += git-review

Added: head/devel/git-extras/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/git-extras/Makefile	Sat Nov  8 11:34:37 2014	(r372317)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	git-extras
+PORTVERSION=	2.1.0
+CATEGORIES=	devel
+
+MAINTAINER=	igor.ostapenko@gmail.com
+COMMENT=	Sub-commands for repo summary, repl, changelog population, and more
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	git:${PORTSDIR}/devel/git \
+		bash:${PORTSDIR}/shells/bash
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	tj
+GH_TAGNAME=	v${PORTVERSION}
+GH_COMMIT=	28f0ad8
+
+USES=		gmake shebangfix
+SHEBANG_FILES=	bin/git-squash
+
+NO_BUILD=	yes
+
+.include <bsd.port.mk>

Added: head/devel/git-extras/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/git-extras/distinfo	Sat Nov  8 11:34:37 2014	(r372317)
@@ -0,0 +1,2 @@
+SHA256 (git-extras-2.1.0.tar.gz) = bcd0aed2f6675929f59d4be386a34f71023c7851f69d60f2d9360131705b40b7
+SIZE (git-extras-2.1.0.tar.gz) = 51203

Added: head/devel/git-extras/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/git-extras/files/patch-Makefile	Sat Nov  8 11:34:37 2014	(r372317)
@@ -0,0 +1,31 @@
+--- Makefile.orig	2014-10-13 12:21:54 UTC
++++ Makefile
+@@ -1,6 +1,7 @@
+ PREFIX ?= /usr/local
+ BINPREFIX ?= "$(PREFIX)/bin"
+-MANPREFIX ?= "$(PREFIX)/share/man/man1"
++MANPREFIX = "$(PREFIX)/man/man1"
++ETCPREFIX ?= "$(PREFIX)/etc"
+ BINS = $(wildcard bin/git-*)
+ MANS = $(wildcard man/git-*.md)
+ MAN_HTML = $(MANS:.md=.html)
+@@ -17,7 +18,7 @@
+ 	@mkdir -p $(DESTDIR)$(BINPREFIX)
+ 	@echo "... installing bins to $(DESTDIR)$(BINPREFIX)"
+ 	@echo "... installing man pages to $(DESTDIR)$(MANPREFIX)"
+-	$(eval TEMPFILE := $(shell mktemp))
++	$(eval TEMPFILE := $(shell mktemp -t git-extras))
+ 	@# chmod from rw-------(default) to rwxrwxr-x, so that users can exec the scripts
+ 	@chmod 775 $(TEMPFILE)
+ 	@$(foreach COMMAND, $(COMMANDS_USED_WITH_GIT_REPO), \
+@@ -31,8 +32,8 @@
+ 		cp -f bin/$(COMMAND) $(DESTDIR)$(BINPREFIX); \
+ 	)
+ 	cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX)
+-	@mkdir -p $(DESTDIR)/etc/bash_completion.d
+-	cp -f etc/bash_completion.sh $(DESTDIR)/etc/bash_completion.d/git-extras
++	@mkdir -p $(DESTDIR)$(ETCPREFIX)/bash_completion.d
++	cp -f etc/bash_completion.sh $(DESTDIR)$(ETCPREFIX)/bash_completion.d/git-extras
+ 
+ man/%.html: man/%.md
+ 	ronn \

Added: head/devel/git-extras/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/git-extras/pkg-descr	Sat Nov  8 11:34:37 2014	(r372317)
@@ -0,0 +1,10 @@
+Additional Git sub-commands:
+ - repository summary
+ - author commit percentages
+ - changelog population
+ - shortcuts for branching/tagging/releasing
+ - GitHub related shortcuts
+ - repl (read-eval-print-loop), an interactive mode
+ - and more...
+
+WWW: https://github.com/tj/git-extras/

Added: head/devel/git-extras/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/git-extras/pkg-plist	Sat Nov  8 11:34:37 2014	(r372317)
@@ -0,0 +1,82 @@
+bin/git-alias
+bin/git-archive-file
+bin/git-back
+bin/git-bug
+bin/git-changelog
+bin/git-commits-since
+bin/git-contrib
+bin/git-count
+bin/git-create-branch
+bin/git-delete-branch
+bin/git-delete-merged-branches
+bin/git-delete-submodule
+bin/git-delete-tag
+bin/git-effort
+bin/git-extras
+bin/git-feature
+bin/git-fork
+bin/git-fresh-branch
+bin/git-gh-pages
+bin/git-graft
+bin/git-ignore
+bin/git-info
+bin/git-line-summary
+bin/git-local-commits
+bin/git-lock
+bin/git-missing
+bin/git-obliterate
+bin/git-pr
+bin/git-pull-request
+bin/git-rebase-patch
+bin/git-refactor
+bin/git-release
+bin/git-rename-tag
+bin/git-repl
+bin/git-reset-file
+bin/git-setup
+bin/git-show-tree
+bin/git-squash
+bin/git-summary
+bin/git-touch
+bin/git-undo
+bin/git-unlock
+etc/bash_completion.d/git-extras
+man/man1/git-alias.1.gz
+man/man1/git-archive-file.1.gz
+man/man1/git-back.1.gz
+man/man1/git-bug.1.gz
+man/man1/git-changelog.1.gz
+man/man1/git-commits-since.1.gz
+man/man1/git-contrib.1.gz
+man/man1/git-count.1.gz
+man/man1/git-create-branch.1.gz
+man/man1/git-delete-branch.1.gz
+man/man1/git-delete-merged-branches.1.gz
+man/man1/git-delete-submodule.1.gz
+man/man1/git-delete-tag.1.gz
+man/man1/git-effort.1.gz
+man/man1/git-extras.1.gz
+man/man1/git-feature.1.gz
+man/man1/git-fork.1.gz
+man/man1/git-fresh-branch.1.gz
+man/man1/git-gh-pages.1.gz
+man/man1/git-graft.1.gz
+man/man1/git-ignore.1.gz
+man/man1/git-info.1.gz
+man/man1/git-local-commits.1.gz
+man/man1/git-lock.1.gz
+man/man1/git-missing.1.gz
+man/man1/git-pr.1.gz
+man/man1/git-rebase-patch.1.gz
+man/man1/git-refactor.1.gz
+man/man1/git-release.1.gz
+man/man1/git-rename-tag.1.gz
+man/man1/git-repl.1.gz
+man/man1/git-reset-file.1.gz
+man/man1/git-setup.1.gz
+man/man1/git-show-tree.1.gz
+man/man1/git-squash.1.gz
+man/man1/git-summary.1.gz
+man/man1/git-touch.1.gz
+man/man1/git-undo.1.gz
+man/man1/git-unlock.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411081134.sA8BYcmE063542>