Lines 2-27
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= phoronix-test-suite |
4 |
PORTNAME= phoronix-test-suite |
5 |
PORTVERSION= 5.4.1 |
5 |
PORTVERSION= 6.2.2 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= benchmarks |
6 |
CATEGORIES= benchmarks |
8 |
MASTER_SITES= http://www.phoronix-test-suite.com/releases/ |
7 |
MASTER_SITES= http://www.phoronix-test-suite.com/releases/ |
9 |
|
8 |
|
10 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= luca.pizzamiglio@gmail.com |
11 |
COMMENT= Phoronix Benchmarking Suite |
10 |
COMMENT= Phoronix Benchmarking Suite |
12 |
|
11 |
|
13 |
LICENSE= GPLv3 |
12 |
LICENSE= GPLv3 |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
14 |
|
16 |
RUN_DEPENDS= fpdf>0:${PORTSDIR}/print/fpdf |
15 |
USE_GCC= any |
17 |
|
|
|
18 |
USE_PHP= ctype curl dom filter gd hash json openssl pcntl posix session \ |
16 |
USE_PHP= ctype curl dom filter gd hash json openssl pcntl posix session \ |
19 |
sockets sqlite3 zip zlib |
17 |
simplexml sockets sqlite3 zip zlib |
20 |
USE_PHP_BUILD= yes |
18 |
USE_PHP_BUILD= yes |
21 |
WANT_PHP_CLI= yes |
19 |
WANT_PHP_CLI= yes |
22 |
NO_BUILD= yes |
20 |
NO_BUILD= yes |
23 |
WRKSRC= ${WRKDIR}/phoronix-test-suite |
21 |
WRKSRC= ${WRKDIR}/phoronix-test-suite |
24 |
|
22 |
|
|
|
23 |
RUN_DEPENDS+= fpdf>0:${PORTSDIR}/print/fpdf |
24 |
RUN_DEPENDS+= cmake:${PORTSDIR}/devel/cmake |
25 |
|
25 |
PORTDATA= * |
26 |
PORTDATA= * |
26 |
PORTDOCS= * |
27 |
PORTDOCS= * |
27 |
|
28 |
|
Lines 39-56
post-patch:
Link Here
|
39 |
@${SED} -i '' -e "s|/usr/local|${LOCALBASE}|g" \ |
40 |
@${SED} -i '' -e "s|/usr/local|${LOCALBASE}|g" \ |
40 |
${WRKSRC}/phoronix-test-suite \ |
41 |
${WRKSRC}/phoronix-test-suite \ |
41 |
${WRKSRC}/pts-core/commands/ob_test_profile_analyze.php \ |
42 |
${WRKSRC}/pts-core/commands/ob_test_profile_analyze.php \ |
|
|
43 |
${WRKSRC}/pts-core/pts-core.php \ |
44 |
${WRKSRC}/pts-core/objects/pts_svg_dom_gd.php \ |
45 |
${WRKSRC}/pts-core/objects/phodevi/components/phodevi_system.php \ |
46 |
${WRKSRC}/pts-core/objects/client/pts_external_dependencies.php \ |
47 |
${WRKSRC}/pts-core/objects/client/pts_client.php \ |
42 |
${WRKSRC}/pts-core/external-test-dependencies/scripts/install-dragonfly-packages.sh \ |
48 |
${WRKSRC}/pts-core/external-test-dependencies/scripts/install-dragonfly-packages.sh \ |
43 |
${WRKSRC}/pts-core/external-test-dependencies/xml/dragonfly-packages.xml \ |
49 |
${WRKSRC}/pts-core/external-test-dependencies/xml/freebsd-packages.xml |
44 |
${WRKSRC}/pts-core/external-test-dependencies/xml/freebsd-packages.xml \ |
|
|
45 |
${WRKSRC}/pts-core/objects/bilde_renderer/bilde_renderer.php \ |
46 |
${WRKSRC}/pts-core/objects/client/pts_client.php |
47 |
@${SED} -i '' -e "s|/usr/share/fonts|${LOCALBASE}/share/fonts| ; \ |
50 |
@${SED} -i '' -e "s|/usr/share/fonts|${LOCALBASE}/share/fonts| ; \ |
48 |
s|/usr/X11/lib|${LOCALBASE}/lib|" \ |
51 |
s|/usr/X11/lib|${LOCALBASE}/lib|" \ |
49 |
${WRKSRC}/pts-core/objects/bilde_renderer/bilde_renderer.php |
52 |
${WRKSRC}/pts-core/objects/pts_svg_dom_gd.php |
50 |
@${SED} -i '' -e "/fpdf.php/s|/usr/share/php|${PREFIX}/share|" \ |
53 |
@${SED} -i '' -e "/fpdf.php/s|/usr/share/php|${PREFIX}/share|" \ |
51 |
${WRKSRC}/pts-core/pts-core.php \ |
54 |
${WRKSRC}/pts-core/objects/pts_pdf_template.php |
52 |
${WRKSRC}/pts-core/commands/dump_documentation.php \ |
55 |
#${WRKSRC}/pts-core/pts-core.php \ |
53 |
${WRKSRC}/pts-core/commands/result_file_to_pdf.php |
56 |
#${WRKSRC}/pts-core/commands/dump_documentation.php \ |
|
|
57 |
#${WRKSRC}/pts-core/commands/result_file_to_pdf.php |
54 |
|
58 |
|
55 |
do-install: |
59 |
do-install: |
56 |
(cd ${WRKSRC} && ${CONFIGURE_ARGS} DESTDIR="${STAGEDIR}" ./install-sh ${PREFIX}) |
60 |
(cd ${WRKSRC} && ${CONFIGURE_ARGS} DESTDIR="${STAGEDIR}" ./install-sh ${PREFIX}) |