freebsd-ports/devel/commit-patch/Makefile
Guido Falsi 6b98326c8f Normally version control systems don't allow fine grained commits.
commit-patch allows the user to control exactly what gets committed by
letting the user supply a patch to be committed rather than using the
files in the current working directory.

commit-patch supports Darcs, Git, Mercurial, Bazaar, Subversion,
Monotone or CVS repositories.

Also included is an Emacs interface to commit-patch. It allows you to
just hit C-c C-c in any patch buffer to apply and commit only the
changes indicated by the patch, regardless of the changes in your
working directory.

WWW: http://www.porkrind.org/commit-patch/

PR:		ports/178945
Submitted by:	Lapo Luchini <lapo@lapo.it>
2013-08-21 20:05:58 +00:00

35 lines
782 B
Makefile

# Created by: Lapo Luchin <lapo@lapo.it>
# $FreeBSD$
PORTNAME= commit-patch
PORTVERSION= 2.5
CATEGORIES= devel
MAINTAINER= lapo@lapo.it
COMMENT= Commit patches or partial workspace changes to a VCS repository
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= interdiff:${PORTSDIR}/misc/patchutils \
p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run
USE_GITHUB= yes
USES= gmake perl5
USE_PERL5= build # pod2man
GH_ACCOUNT= caldwell
GH_PROJECT= commit-patch
GH_TAGNAME= 2.5
GH_COMMIT= fb3a8c5
PLIST_FILES= bin/commit-partial bin/commit-patch \
share/emacs/site-lisp/commit-patch-buffer.el
MAN1= commit-partial.1 commit-patch.1
PORTDOCS= *
post-patch:
${REINPLACE_CMD} -e 's/share[/]man/man/' \
-e 's/PREFIX=/PREFIX?=/' ${WRKSRC}/Makefile
.include <bsd.port.mk>