Sat Aug 9 23:49:53 2014 UTC ()
Import commit-patch-2.5 as devel/commit-patch.

A neat little utility that lets you check in select portions of a
file into Darcs, Git, Mercurial, Bazaar, Subversion, or CVS
repositories. It comes as a command line app and also and emacs
interface.


(wiz)
diff -r0 -r1.1 pkgsrc/devel/commit-patch/DESCR
diff -r0 -r1.1 pkgsrc/devel/commit-patch/Makefile
diff -r0 -r1.1 pkgsrc/devel/commit-patch/PLIST
diff -r0 -r1.1 pkgsrc/devel/commit-patch/distinfo
diff -r0 -r1.1 pkgsrc/devel/commit-patch/patches/patch-Makefile

File Added: pkgsrc/devel/commit-patch/DESCR
A neat little utility that lets you check in select portions of a
file into Darcs, Git, Mercurial, Bazaar, Subversion, or CVS
repositories. It comes as a command line app and also and emacs
interface.

File Added: pkgsrc/devel/commit-patch/Makefile
# $NetBSD: Makefile,v 1.1 2014/08/09 23:49:53 wiz Exp $

DISTNAME=	commit-patch-2.5
CATEGORIES=	devel scm
MASTER_SITES=	http://www.porkrind.org/commit-patch/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.porkrind.org/commit-patch/
COMMENT=	Commit patches to most common SCM repositories
LICENSE=	gnu-gpl-v2

DEPENDS+=	p5-IPC-Run-[0-9]*:../../devel/p5-IPC-Run
DEPENDS+=	patchutils-[0-9]*:../../devel/patchutils

USE_LANGUAGES=	# none
USE_TOOLS+=	gmake perl:run pod2man
MAKE_FLAGS=	PREFIX=${DESTDIR}${PREFIX}
REPLACE_PERL+=	commit-partial
REPLACE_PERL+=	commit-patch

.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/commit-patch/PLIST
@comment $NetBSD: PLIST,v 1.1 2014/08/09 23:49:53 wiz Exp $
bin/commit-partial
bin/commit-patch
man/man1/commit-partial.1
man/man1/commit-patch.1
share/doc/commit-patch/COPYING
share/doc/commit-patch/Changes
share/doc/commit-patch/README
share/doc/commit-patch/commit-patch.html
share/emacs/site-lisp/commit-patch-buffer.el

File Added: pkgsrc/devel/commit-patch/distinfo
$NetBSD: distinfo,v 1.1 2014/08/09 23:49:53 wiz Exp $

SHA1 (commit-patch-2.5.tar.gz) = 9d41c31adaa6f8a70296b8105736661bba7ef55e
RMD160 (commit-patch-2.5.tar.gz) = ac1193b785bd6bc271254e192ced869967bc87db
Size (commit-patch-2.5.tar.gz) = 20200 bytes
SHA1 (patch-Makefile) = 6b0a4f274f325e186465398dfa35e43ca305f7cd

File Added: pkgsrc/devel/commit-patch/patches/patch-Makefile
$NetBSD: patch-Makefile,v 1.1 2014/08/09 23:49:53 wiz Exp $

Fix man page installation path.

--- Makefile.orig	2013-05-16 02:28:56.000000000 +0000
+++ Makefile
@@ -35,10 +35,10 @@ test:
 PREFIX=/usr/local
 install: $(ALL)
 	mkdir -p "$(PREFIX)/bin"
-	mkdir -p "$(PREFIX)/share/man/man1"
+	mkdir -p "$(PREFIX)/${PKGMANDIR}/man1"
 	mkdir -p "$(PREFIX)/share/emacs/site-lisp"
 	mkdir -p "$(PREFIX)/share/doc/commit-patch"
 	cp -a $(BIN)   "$(PREFIX)/bin"
-	cp -a $(MAN)   "$(PREFIX)/share/man/man1"
+	cp -a $(MAN)   "$(PREFIX)/${PKGMANDIR}/man1"
 	cp -a $(ELISP) "$(PREFIX)/share/emacs/site-lisp"
 	cp -a $(DOC)   "$(PREFIX)/share/doc/commit-patch"