2005-09-19 10:46:41 +00:00
|
|
|
# New ports collection makefile for: rej
|
|
|
|
# Date created: 16 Sep 2005
|
|
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rej
|
2005-10-05 13:37:42 +00:00
|
|
|
PORTVERSION= 0.16
|
2005-09-19 10:46:41 +00:00
|
|
|
CATEGORIES= sysutils perl5
|
2008-03-27 19:27:34 +00:00
|
|
|
MASTER_SITES= CRITICAL
|
2005-09-19 10:46:41 +00:00
|
|
|
|
2005-10-06 11:57:11 +00:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2005-09-19 10:46:41 +00:00
|
|
|
COMMENT= Merges patch-rejects and runs a merge program to verify the changes
|
|
|
|
|
2007-09-08 01:12:10 +00:00
|
|
|
USE_PERL5= 5.8.6+
|
2005-09-19 10:46:41 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PORTDOCS= CHANGELOG README vimrc
|
2005-10-05 13:37:42 +00:00
|
|
|
PLIST_FILES= bin/rej bin/rej-qp bin/rej-mp
|
2005-09-19 10:46:41 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
2005-10-05 13:37:42 +00:00
|
|
|
.for f in ${PORTNAME} qp mp
|
2005-09-19 10:46:41 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
|
|
|
|
${WRKSRC}/${f}
|
|
|
|
.endfor
|
|
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|${SH}|' \
|
|
|
|
${WRKSRC}/runtests.sh
|
|
|
|
|
|
|
|
do-install:
|
2005-10-05 13:37:42 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.for f in qp mp
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin/${PORTNAME}-${f}
|
2005-09-19 10:46:41 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
run-test: patch
|
|
|
|
@cd ${WRKSRC}; ${SH} runtests.sh
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|