# Created by: Lapo Luchin # $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 \ man/man1/commit-partial.1.gz man/man1/commit-patch.1.gz PORTDOCS= * post-patch: ${REINPLACE_CMD} -e 's/share[/]man/man/' \ -e 's/PREFIX=/PREFIX?=/' \ -e 's/$$(PREFIX)/$$(DESTDIR)$$(PREFIX)/' \ ${WRKSRC}/Makefile .include