summaryrefslogtreecommitdiff
path: root/benchmarks/bytebench/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-08-04 08:50:16 +0000
committerjlam <jlam@pkgsrc.org>2000-08-04 08:50:16 +0000
commit991bb8fbc3b1f9881bbf8716fb107f7c5d609553 (patch)
tree9df8f5c9c69d47350135f7259407f658bceaead6 /benchmarks/bytebench/Makefile
parent50f7c7b260fc9ea9af5969d3e6f835be983c8556 (diff)
downloadpkgsrc-991bb8fbc3b1f9881bbf8716fb107f7c5d609553.tar.gz
Install benchmarking programs under libexec/bytebench. Add patches to do
nicer report printing under BSD systems, provided by Greg Woods in pkg/6943. Closes PRs: 6943, 6945, 6946
Diffstat (limited to 'benchmarks/bytebench/Makefile')
-rw-r--r--benchmarks/bytebench/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile
index e44e32c6df8..b94f84db94b 100644
--- a/benchmarks/bytebench/Makefile
+++ b/benchmarks/bytebench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/08/04 06:13:26 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2000/08/04 08:50:16 jlam Exp $
DISTNAME= byte
PKGNAME= bytebench-3.6
@@ -15,12 +15,16 @@ BENCHMARK_ENV+= TESTDIR=${WRKSRC}/testdir
post-patch:
${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/Run >${WRKSRC}/run-byte
+pre-install:
+ ${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} {} \;
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pgms/* ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/share/bytebench
- ${MKDIR} ${PREFIX}/share/doc/bytebench
+ ${INSTALL_DATA_DIR} ${PREFIX}/libexec/bytebench
+ ${INSTALL_SCRIPT} ${WRKSRC}/pgms/* ${PREFIX}/libexec/bytebench
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/bytebench
${INSTALL_DATA} ${WRKSRC}/testdir/* ${PREFIX}/share/bytebench
- ${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/bytebench
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bytebench
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/bytebench
${INSTALL_SCRIPT} ${WRKSRC}/run-byte ${PREFIX}/bin
benchmark: