aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rej/Makefile
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-09-19 18:46:41 +0800
committergarga <garga@FreeBSD.org>2005-09-19 18:46:41 +0800
commitb4c7c74b42a48889acce3bc7f5e8ef9dc89c45a0 (patch)
tree18ee45bc988bb7642d497cfd726fa9e41949e190 /sysutils/rej/Makefile
parentb13361246181dc3fa013bc84b4a4c435acf81b40 (diff)
downloadfreebsd-ports-gnome-b4c7c74b42a48889acce3bc7f5e8ef9dc89c45a0.tar.gz
freebsd-ports-gnome-b4c7c74b42a48889acce3bc7f5e8ef9dc89c45a0.tar.zst
freebsd-ports-gnome-b4c7c74b42a48889acce3bc7f5e8ef9dc89c45a0.zip
Add rej 0.15, merges patch-rejects and runs a merge program to verify
the changes. PR: ports/86225 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Diffstat (limited to 'sysutils/rej/Makefile')
-rw-r--r--sysutils/rej/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/sysutils/rej/Makefile b/sysutils/rej/Makefile
new file mode 100644
index 000000000000..52b1fe7ee433
--- /dev/null
+++ b/sysutils/rej/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: rej
+# Date created: 16 Sep 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rej
+PORTVERSION= 0.15
+CATEGORIES= sysutils perl5
+MASTER_SITES= http://critical.ch/distfiles/ \
+ http://ftp.suse.com/pub/people/mason/rej/
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= Merges patch-rejects and runs a merge program to verify the changes
+
+USE_PERL5= yes
+NO_BUILD= yes
+USE_REINPLACE= yes
+
+PORTDOCS= CHANGELOG README vimrc
+PLIST_FILES= bin/rej bin/qp
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500806
+IGNORE= needs Perl 5.8.6 or above (lang/perl5.8)
+.endif
+
+post-patch:
+.for f in ${PORTNAME} qp
+ @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
+ ${WRKSRC}/${f}
+.endfor
+ @${REINPLACE_CMD} -e 's|/bin/bash|${SH}|' \
+ ${WRKSRC}/runtests.sh
+
+do-install:
+.for f in ${PORTNAME} qp
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
+.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>