1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/sysutils/rej/Makefile
2021-04-06 16:31:07 +02:00

42 lines
895 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
PORTNAME= rej
PORTVERSION= 0.16
PORTREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Merges patch-rejects and runs a merge program to verify the changes
USES= shebangfix perl5
NO_ARCH= yes
NO_BUILD= yes
SHEBANG_FILES= mp qp rej
PORTDOCS= CHANGELOG README vimrc
PLIST_FILES= bin/rej bin/rej-qp bin/rej-mp
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|${SH}|' \
${WRKSRC}/runtests.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.for f in qp mp
${INSTALL_SCRIPT} ${WRKSRC}/${f} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${f}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
run-test: patch
@cd ${WRKSRC}; ${SH} runtests.sh
.include <bsd.port.mk>