summaryrefslogtreecommitdiff
path: root/benchmarks/bytebench/Makefile
diff options
context:
space:
mode:
authoragc <agc>1998-09-23 16:01:36 +0000
committeragc <agc>1998-09-23 16:01:36 +0000
commitd00f441950e7d54383a5632671c3ac166733c661 (patch)
treeca5c1dfec77c6bf975b048c55c8ce06044a4be4f /benchmarks/bytebench/Makefile
parent7ee8d3293f07397099b3f653538a63efcd96868c (diff)
downloadpkgsrc-d00f441950e7d54383a5632671c3ac166733c661.tar.gz
Rename PREFIX value to be substituted to @PREFIX@.
Add a benchmark target to the package Makefile, so that "make benchmark" will run the benchmark.
Diffstat (limited to 'benchmarks/bytebench/Makefile')
-rw-r--r--benchmarks/bytebench/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile
index 249633e23b8..5a367167528 100644
--- a/benchmarks/bytebench/Makefile
+++ b/benchmarks/bytebench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 1998/08/30 17:35:57 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1998/09/23 16:01:36 agc Exp $
DISTNAME= byte
PKGNAME= bytebench-3.6
@@ -8,7 +8,7 @@ MASTER_SITES= ftp://ftp.cdrom.com/pub/unix-c/benchmarks/
MAINTAINER= root@garbled.net
post-patch:
- ${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' <${WRKSRC}/Run>${WRKSRC}/run-byte
+ ${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/Run >${WRKSRC}/run-byte
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pgms/* ${PREFIX}/bin
@@ -18,4 +18,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/bytebench
${INSTALL_SCRIPT} ${WRKSRC}/run-byte ${PREFIX}/bin
+benchmark:
+ @${WRKSRC}/run-byte
+
.include "../../mk/bsd.pkg.mk"