Commit 574f9d3a authored by pawel's avatar pawel
Browse files

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>
parent 98e32d13
......@@ -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
......
# $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>
SHA256 (git-extras-2.1.0.tar.gz) = bcd0aed2f6675929f59d4be386a34f71023c7851f69d60f2d9360131705b40b7
SIZE (git-extras-2.1.0.tar.gz) = 51203
--- 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 \
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/
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment