ports/devel/commit-patch/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

37 lines
834 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= *
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's/share[/]man/man/' \
-e 's/PREFIX=/PREFIX?=/' \
-e 's/$$(PREFIX)/$$(DESTDIR)$$(PREFIX)/' \
${WRKSRC}/Makefile
.include <bsd.port.mk>