summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2016-03-17 21:17:31 +0000
committerMark Felder <feld@FreeBSD.org>2016-03-17 21:17:31 +0000
commitb139553a98275e416bfd8c5202fffaa1bf702ff5 (patch)
tree6e9db84a8d0f72a1dc47977a2fdf0869c6e1ca60 /benchmarks
parentnet/dbeacon: Unbreak port (diff)
benchmarks/phoronix-test-suite: Update to 6.2.2
- New MAINTAINER - Updated PHP dependencies - New dependency on gcc and cmake PR: 207981
Notes
Notes: svn path=/head/; revision=411317
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/phoronix-test-suite/Makefile32
-rw-r--r--benchmarks/phoronix-test-suite/distinfo4
-rw-r--r--benchmarks/phoronix-test-suite/files/patch-install-sh18
3 files changed, 29 insertions, 25 deletions
diff --git a/benchmarks/phoronix-test-suite/Makefile b/benchmarks/phoronix-test-suite/Makefile
index 340f0d82f1b4..b43cb0b3c14d 100644
--- a/benchmarks/phoronix-test-suite/Makefile
+++ b/benchmarks/phoronix-test-suite/Makefile
@@ -2,26 +2,27 @@
# $FreeBSD$
PORTNAME= phoronix-test-suite
-PORTVERSION= 5.4.1
-PORTREVISION= 1
+PORTVERSION= 6.2.2
CATEGORIES= benchmarks
MASTER_SITES= http://www.phoronix-test-suite.com/releases/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= luca.pizzamiglio@gmail.com
COMMENT= Phoronix Benchmarking Suite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= fpdf>0:${PORTSDIR}/print/fpdf
-
+USE_GCC= any
USE_PHP= ctype curl dom filter gd hash json openssl pcntl posix session \
- sockets sqlite3 zip zlib
+ simplexml sockets sqlite3 zip zlib
USE_PHP_BUILD= yes
WANT_PHP_CLI= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/phoronix-test-suite
+RUN_DEPENDS+= fpdf>0:${PORTSDIR}/print/fpdf
+RUN_DEPENDS+= cmake:${PORTSDIR}/devel/cmake
+
PORTDATA= *
PORTDOCS= *
@@ -39,18 +40,21 @@ post-patch:
@${SED} -i '' -e "s|/usr/local|${LOCALBASE}|g" \
${WRKSRC}/phoronix-test-suite \
${WRKSRC}/pts-core/commands/ob_test_profile_analyze.php \
+ ${WRKSRC}/pts-core/pts-core.php \
+ ${WRKSRC}/pts-core/objects/pts_svg_dom_gd.php \
+ ${WRKSRC}/pts-core/objects/phodevi/components/phodevi_system.php \
+ ${WRKSRC}/pts-core/objects/client/pts_external_dependencies.php \
+ ${WRKSRC}/pts-core/objects/client/pts_client.php \
${WRKSRC}/pts-core/external-test-dependencies/scripts/install-dragonfly-packages.sh \
- ${WRKSRC}/pts-core/external-test-dependencies/xml/dragonfly-packages.xml \
- ${WRKSRC}/pts-core/external-test-dependencies/xml/freebsd-packages.xml \
- ${WRKSRC}/pts-core/objects/bilde_renderer/bilde_renderer.php \
- ${WRKSRC}/pts-core/objects/client/pts_client.php
+ ${WRKSRC}/pts-core/external-test-dependencies/xml/freebsd-packages.xml
@${SED} -i '' -e "s|/usr/share/fonts|${LOCALBASE}/share/fonts| ; \
s|/usr/X11/lib|${LOCALBASE}/lib|" \
- ${WRKSRC}/pts-core/objects/bilde_renderer/bilde_renderer.php
+ ${WRKSRC}/pts-core/objects/pts_svg_dom_gd.php
@${SED} -i '' -e "/fpdf.php/s|/usr/share/php|${PREFIX}/share|" \
- ${WRKSRC}/pts-core/pts-core.php \
- ${WRKSRC}/pts-core/commands/dump_documentation.php \
- ${WRKSRC}/pts-core/commands/result_file_to_pdf.php
+ ${WRKSRC}/pts-core/objects/pts_pdf_template.php
+ #${WRKSRC}/pts-core/pts-core.php \
+ #${WRKSRC}/pts-core/commands/dump_documentation.php \
+ #${WRKSRC}/pts-core/commands/result_file_to_pdf.php
do-install:
(cd ${WRKSRC} && ${CONFIGURE_ARGS} DESTDIR="${STAGEDIR}" ./install-sh ${PREFIX})
diff --git a/benchmarks/phoronix-test-suite/distinfo b/benchmarks/phoronix-test-suite/distinfo
index 367ae45c924f..37f835d5e977 100644
--- a/benchmarks/phoronix-test-suite/distinfo
+++ b/benchmarks/phoronix-test-suite/distinfo
@@ -1,2 +1,2 @@
-SHA256 (phoronix-test-suite-5.4.1.tar.gz) = 51a78780a9219acd2f382c4b76529521b538de291778c0de283d52d4ebc9abd3
-SIZE (phoronix-test-suite-5.4.1.tar.gz) = 788823
+SHA256 (phoronix-test-suite-6.2.2.tar.gz) = 78493166c8a74cdd129c3a86855e9cc6ae579b6a9f4f67dbf428ad00e3f2856e
+SIZE (phoronix-test-suite-6.2.2.tar.gz) = 839022
diff --git a/benchmarks/phoronix-test-suite/files/patch-install-sh b/benchmarks/phoronix-test-suite/files/patch-install-sh
index cb2653f78f18..35a09c9f83b9 100644
--- a/benchmarks/phoronix-test-suite/files/patch-install-sh
+++ b/benchmarks/phoronix-test-suite/files/patch-install-sh
@@ -1,5 +1,5 @@
---- install-sh.orig 2014-11-28 20:51:03.000000000 +0400
-+++ install-sh 2015-01-15 01:21:40.000000000 +0400
+--- install-sh.orig 2016-01-01 17:41:58.000000000 +0100
++++ install-sh 2016-03-07 14:22:05.614854871 +0100
@@ -47,16 +47,21 @@
fi
@@ -25,7 +25,7 @@
#mkdir -p $DESTDIR$INSTALL_PREFIX/../usr/lib/systemd/system/
#mkdir -p $DESTDIR$INSTALL_PREFIX/../etc/init/
-@@ -69,15 +74,19 @@
+@@ -69,15 +74,18 @@
cd ..
rm -rf $DESTDIR$INSTALL_PREFIX/share/doc/phoronix-test-suite/man-pages/
@@ -42,14 +42,14 @@
cp pts-core/static/phoronix-test-suite.desktop $DESTDIR$INSTALL_PREFIX/share/applications/
cp pts-core/static/phoronix-test-suite-launcher.desktop $DESTDIR$INSTALL_PREFIX/share/applications/
cp pts-core/static/phoronix-test-suite.appdata.xml $DESTDIR$INSTALL_PREFIX/share/appdata/
-+fi
-
+-
-mkdir -p $DESTDIR$INSTALL_PREFIX/../usr/lib/systemd/system/
--cp pts-core/static/*.service $DESTDIR$INSTALL_PREFIX/../usr/lib/systemd/system/
+-cp deploy/*-systemd/*.service $DESTDIR$INSTALL_PREFIX/../usr/lib/systemd/system/
++fi
# mkdir -p $DESTDIR$INSTALL_PREFIX/../etc/init/
# cp pts-core/static/upstart/*.conf $DESTDIR$INSTALL_PREFIX/../etc/init/
-@@ -92,12 +101,13 @@
+@@ -92,12 +100,13 @@
rm -f $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/pts-core/static/images/openbenchmarking.png
rm -f $DESTDIR$INSTALL_PREFIX/share/phoronix-test-suite/pts-core/static/images/%phoronix-test-suite.png
@@ -62,9 +62,9 @@
+if [ -z "$WITHOUT_X11" ]
+then
# XDG MIME OpenBenchmarking support
- if [ "X$DESTDIR" = "X" ]
+ if [ "X$DESTDIR" = "X" ] && which xdg-mime >/dev/null && which xdg-icon-resource >/dev/null
then
-@@ -112,15 +122,14 @@
+@@ -112,15 +121,14 @@
cp pts-core/static/images/openbenchmarking.png $DESTDIR$INSTALL_PREFIX/share/icons/hicolor/64x64/mimetypes/application-x-openbenchmarking.png
fi