summaryrefslogtreecommitdiff
path: root/benchmarks/hbench
diff options
context:
space:
mode:
authorwiz <wiz>2000-08-28 23:03:55 +0000
committerwiz <wiz>2000-08-28 23:03:55 +0000
commit8fcfed378d58f351188b167d7df3405c662ea8e1 (patch)
tree1e1bd4efb1bc0d623999edaa060a2ac8c67ccbf5 /benchmarks/hbench
parentf1f6ef535cba46dc3cef6f12870e5d5f3cdad05e (diff)
downloadpkgsrc-8fcfed378d58f351188b167d7df3405c662ea8e1.tar.gz
Install only the files we really want, but remove all directories we create.
Diffstat (limited to 'benchmarks/hbench')
-rw-r--r--benchmarks/hbench/pkg/PLIST.common5
-rwxr-xr-xbenchmarks/hbench/scripts/do-install7
2 files changed, 9 insertions, 3 deletions
diff --git a/benchmarks/hbench/pkg/PLIST.common b/benchmarks/hbench/pkg/PLIST.common
index ee1d9fe6466..abae761c853 100644
--- a/benchmarks/hbench/pkg/PLIST.common
+++ b/benchmarks/hbench/pkg/PLIST.common
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.1 1998/09/05 22:02:21 garbled Exp $
+@comment $NetBSD: PLIST.common,v 1.2 2000/08/28 23:03:55 wiz Exp $
bin/hbench/argsort
bin/hbench/config.guess
bin/hbench/config.sub
@@ -25,3 +25,6 @@ share/hbench/conf/full.test
share/hbench/conf/sample.run
@dirrm bin/hbench
@dirrm share/doc/hbench
+@dirrm share/hbench/Results
+@dirrm share/hbench/conf
+@dirrm share/hbench
diff --git a/benchmarks/hbench/scripts/do-install b/benchmarks/hbench/scripts/do-install
index bfc54cdab4b..4890bea83ff 100755
--- a/benchmarks/hbench/scripts/do-install
+++ b/benchmarks/hbench/scripts/do-install
@@ -1,4 +1,7 @@
#!/bin/sh
+#
+# $NetBSD: do-install,v 1.3 2000/08/28 23:03:56 wiz Exp $
+#
cd $WRKSRC
DIRS=`ls -d bin/*`
@@ -7,6 +10,7 @@ DOCS="README benchmark-descriptions interpreting-results sigmetrics97-paper.ps.g
mkdir -p $PREFIX/bin/hbench
mkdir -p $PREFIX/share/hbench
+mkdir -p $PREFIX/share/hbench/Results
for basedir in $DIRS; do
OSDIR=`basename $basedir`
@@ -28,6 +32,5 @@ ${PREFIX}/bin/hbench/maindriver ${PREFIX}/share/hbench/conf/`hostname`.run
EOF
chown bin:bin ${PREFIX}/bin/run-hbench
chmod 0755 ${PREFIX}/bin/run-hbench
-cp -R Results $PREFIX/share/hbench
-rm $PREFIX/share/hbench/Results/Makefile.orig
+cp Results/Makefile $PREFIX/share/hbench/Results
cp -R conf $PREFIX/share/hbench