diff options
author | jym <jym> | 2011-12-07 00:23:09 +0000 |
---|---|---|
committer | jym <jym> | 2011-12-07 00:23:09 +0000 |
commit | f4d64d1e93948092f81a6b40b57b77b33101c3e0 (patch) | |
tree | e4b9523f2160e7996e1321bc66c89e7447a3a8ba /benchmarks | |
parent | 6fd65df2ced06183799ccabb4e868e19c494d2c8 (diff) | |
download | pkgsrc-f4d64d1e93948092f81a6b40b57b77b33101c3e0.tar.gz |
Welcome to phoronix-test-suite-3.4.0.
DESCR:
The Phoronix Test Suite is the most comprehensive testing and benchmarking
platform available for the *nix operating system. This software is designed
to effectively carry out both qualitative and quantitative benchmarks in a
clean, reproducible, and easy-to-use manner.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/Makefile | 3 | ||||
-rw-r--r-- | benchmarks/phoronix-test-suite/patches/patch-install-sh | 41 |
2 files changed, 43 insertions, 1 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile index ab9540b81bb..1e3febb1d81 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2011/02/28 18:39:07 wiz Exp $ +# $NetBSD: Makefile,v 1.45 2011/12/07 00:23:09 jym Exp $ # COMMENT= Benchmarking tools @@ -30,6 +30,7 @@ SUBDIR+= nettest SUBDIR+= nsieve SUBDIR+= nttcp SUBDIR+= paranoia +SUBDIR+= phoronix-test-suite SUBDIR+= pipebench SUBDIR+= postal SUBDIR+= postmark diff --git a/benchmarks/phoronix-test-suite/patches/patch-install-sh b/benchmarks/phoronix-test-suite/patches/patch-install-sh new file mode 100644 index 00000000000..68ab8b1bf2d --- /dev/null +++ b/benchmarks/phoronix-test-suite/patches/patch-install-sh @@ -0,0 +1,41 @@ +$NetBSD: patch-install-sh,v 1.1 2011/12/07 00:23:09 jym Exp $ +Handle pkgsrc hierarchy, especially paths to man pages. +Do not execute xdg-* during installation, let the shared-mime-info +and desktop-file-utils update their databases. +--- install-sh.orig 2011-05-17 18:00:59.000000000 +0000 ++++ install-sh +@@ -50,10 +50,9 @@ rm -rf $DESTDIR$INSTALL_PREFIX/share/doc + mkdir -p $DESTDIR$INSTALL_PREFIX/bin/ + mkdir -p $DESTDIR$INSTALL_PREFIX/share/applications/ + mkdir -p $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/48x48/apps/ +-mkdir -p $DESTDIR$INSTALL_PREFIX/share/man/man1/ ++mkdir -p $DESTDIR$INSTALL_PREFIX/man/man1/ + mkdir -p $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/ + mkdir -p $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/ +-mkdir -p $DESTDIR$INSTALL_PREFIX/../etc/bash_completion.d/ + + cp CHANGE-LOG $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/ + cp COPYING $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/ +@@ -64,8 +63,8 @@ cp -r * $DESTDIR$INSTALL_PREFIX/share/do + cd .. + rm -rf $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/man-pages/ + +-cp documentation/man-pages/*.1 $DESTDIR$INSTALL_PREFIX/share/man/man1/ +-cp pts-core/static/bash_completion $DESTDIR$INSTALL_PREFIX/../etc/bash_completion.d/phoronix-test-suite ++cp documentation/man-pages/*.1 $DESTDIR$INSTALL_PREFIX/man/man1/ ++cp pts-core/static/bash_completion $DESTDIR$INSTALL_PREFIX/share/bash-completion.d + cp pts-core/static/images/phoronix-test-suite.png $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/48x48/apps/phoronix-test-suite.png + cp pts-core/static/images/openbenchmarking.png $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/64x64/apps/openbenchmarking.png + cp pts-core/static/phoronix-test-suite.desktop $DESTDIR$INSTALL_PREFIX/share/applications/ +@@ -79,11 +78,6 @@ chmod +x $DESTDIR$INSTALL_PREFIX/bin/pho + + # sed 's:\$url = PTS_PATH . \"documentation\/index.html\";:\$url = \"'"$INSTALL_PREFIX"'\/share\/doc\/packages\/phoronix-test-suite\/index.html\";:g' pts-core/commands/gui_gtk.php > $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/pts-core/commands/gui_gtk.php + +-# XDG MIME OpenBenchmarking support +-xdg-mime install pts-core/openbenchmarking.org/openbenchmarking-mime.xml +-xdg-mime default phoronix-test-suite.desktop application/x-openbenchmarking +-xdg-icon-resource install --context mimetypes --size 64 pts-core/static/images/openbenchmarking.png application-x-openbenchmarking +- + echo -e "\nPhoronix Test Suite Installation Completed\n + Executable File: $INSTALL_PREFIX/bin/phoronix-test-suite + Documentation: $INSTALL_PREFIX/share/doc/phoronix-test-suite/ |