ports/devel/commit-patch/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

35 lines
812 B
Makefile

# Created by: Lapo Luchini <lapo@lapo.it>
# $FreeBSD$
PORTNAME= commit-patch
PORTVERSION= 2.5.2
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:misc/patchutils \
p5-IPC-Run>=0:devel/p5-IPC-Run
USE_GITHUB= yes
USES= gmake perl5 shebangfix
USE_PERL5= build # pod2man
SHEBANG_FILES= commit-patch
GH_ACCOUNT= caldwell
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 <bsd.port.mk>