summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Pizzamiglio <pizzamig@FreeBSD.org>2018-05-03 20:46:23 +0000
committerLuca Pizzamiglio <pizzamig@FreeBSD.org>2018-05-03 20:46:23 +0000
commitabb293a5f65d3feefdf846faf60a83ac1a0a293e (patch)
treeef059591f1828a5a66e082d5d28a0ebd979676ce
parentwww/firefox: switch to rc2 (diff)
benchmarks/phoronix-test-suite: update to 8.0.0.m3
Upgrade the php base benchmark suite to the last version Add php flavor support. Removed pdf report generation, because based on fpdf, quite outdated.
-rw-r--r--benchmarks/phoronix-test-suite/Makefile24
-rw-r--r--benchmarks/phoronix-test-suite/distinfo6
2 files changed, 12 insertions, 18 deletions
diff --git a/benchmarks/phoronix-test-suite/Makefile b/benchmarks/phoronix-test-suite/Makefile
index eabdb77d9aeb..a0ef4dbf951c 100644
--- a/benchmarks/phoronix-test-suite/Makefile
+++ b/benchmarks/phoronix-test-suite/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= phoronix-test-suite
-PORTVERSION= 7.4.0
-PORTREVISION= 1
+DISTVERSIONPREFIX= v
+DISTVERSION= 8.0.0m3
CATEGORIES= benchmarks
-MASTER_SITES= http://www.phoronix-test-suite.com/releases/
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= pizzamig@FreeBSD.org
COMMENT= Phoronix Benchmarking Suite
@@ -13,28 +13,23 @@ COMMENT= Phoronix Benchmarking Suite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= php:cli,build python
-USE_GCC= any
-USE_PHP= ctype curl dom filter gd hash json openssl pcntl posix \
- session simplexml sockets sqlite3 zip zlib
+USES= php:cli,build,flavors python
+USE_GITHUB= yes
+USE_PHP= curl dom gd json openssl pcntl posix simplexml zip zlib
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/phoronix-test-suite
-
-RUN_DEPENDS+= fpdf>0:print/fpdf
-RUN_DEPENDS+= cmake:devel/cmake
PORTDATA= *
PORTDOCS= *
NO_ARCH= yes
-OPTIONS_DEFINE= BASH_COMPLETIONS X11 DOCS
+OPTIONS_DEFINE= BASH_COMPLETIONS DOCS X11
OPTIONS_DEFAULT= X11
OPTIONS_SUB= yes
BASH_COMPLETIONS_DESC= Install bash completions
BASH_COMPLETIONS_CONFIGURE_ON= WITH_BASH_COMPLETIONS=yes
-X11_DESC= Install X11 icons and mimetypes
+X11_DESC= Install X11 icons and mimetypes
X11_USES= desktop-file-utils shared-mime-info
X11_CONFIGURE_OFF= WITHOUT_X11=yes
@@ -44,10 +39,9 @@ post-patch:
${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/xml/freebsd-packages.xml
+ ${WRKSRC}/pts-core/objects/phodevi/components/phodevi_system.php
@${SED} -i '' -e "s|/usr/share/fonts|${LOCALBASE}/share/fonts| ; \
s|/usr/X11/lib|${LOCALBASE}/lib|" \
${WRKSRC}/pts-core/objects/pts_svg_dom_gd.php
diff --git a/benchmarks/phoronix-test-suite/distinfo b/benchmarks/phoronix-test-suite/distinfo
index e6790978edf0..844a4d931ad2 100644
--- a/benchmarks/phoronix-test-suite/distinfo
+++ b/benchmarks/phoronix-test-suite/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1507145838
-SHA256 (phoronix-test-suite-7.4.0.tar.gz) = de9aec3ef4f980581756fd0bf7b30dd1ccb20e7aae637078a587606bf75a6b67
-SIZE (phoronix-test-suite-7.4.0.tar.gz) = 779490
+TIMESTAMP = 1525252130
+SHA256 (phoronix-test-suite-phoronix-test-suite-v8.0.0m3_GH0.tar.gz) = 52a7925cb699aaf1bce955ac0a7f2e691747957d390cb6aad03e1e898a1471ae
+SIZE (phoronix-test-suite-phoronix-test-suite-v8.0.0m3_GH0.tar.gz) = 833798