summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-06-16 02:50:47 +0000
committertaca <taca@pkgsrc.org>2012-06-16 02:50:47 +0000
commit78e692d24a8c525ab7c7e43022f83e7a1131b7db (patch)
tree7bc1c2a6e961acd3ac06b2c1406050fc3fde56fc /benchmarks
parent0246b9b621c1102026ad27480d9cb260c86488e5 (diff)
downloadpkgsrc-78e692d24a8c525ab7c7e43022f83e7a1131b7db.tar.gz
* Don't strictly depends on php53.
* Use updated phpversion.mk.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/phoronix-test-suite/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/benchmarks/phoronix-test-suite/Makefile b/benchmarks/phoronix-test-suite/Makefile
index ee83e9f6f5b..9be4fef858a 100644
--- a/benchmarks/phoronix-test-suite/Makefile
+++ b/benchmarks/phoronix-test-suite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/12/07 00:34:26 jym Exp $
+# $NetBSD: Makefile,v 1.3 2012/06/16 02:50:47 taca Exp $
#
DISTNAME= phoronix-test-suite-${PTS_VERSION}
@@ -11,18 +11,17 @@ HOMEPAGE= http://www.phoronix-test-suite.com/
COMMENT= Phoronix Benchmarking Suite
LICENSE= gnu-gpl-v3
-DEPENDS+= php>=${PHP_BASE_VERS}<5.4:../../lang/php53
-DEPENDS+= php53-curl>=${PHP_BASE_VERS}<5.4:../../www/php-curl
-DEPENDS+= php53-dom>=${PHP_BASE_VERS}<5.4:../../textproc/php-dom
-DEPENDS+= php53-gd>=${PHP_BASE_VERS}<5.4:../../graphics/php-gd
-DEPENDS+= php53-json>=${PHP_BASE_VERS}<5.4:../../textproc/php-json
-DEPENDS+= php53-pcntl>=${PHP_BASE_VERS}<5.4:../../devel/php-pcntl
-DEPENDS+= php53-posix>=${PHP_BASE_VERS}<5.4:../../devel/php-posix
-DEPENDS+= php53-zip>=${PHP_BASE_VERS}<5.4:../../archivers/php-zip
-DEPENDS+= php53-zlib>=${PHP_BASE_VERS}<5.4:../../archivers/php-zlib
-
PKG_DESTDIR_SUPPORT= user-destdir
+DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.2:../../www/php-curl
+DEPENDS+= ${PHP_PKG_PREFIX}-dom>=5.2:../../textproc/php-dom
+DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.2:../../graphics/php-gd
+DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.2:../../textproc/php-json
+DEPENDS+= ${PHP_PKG_PREFIX}-pcntl>=5.2:../../devel/php-pcntl
+DEPENDS+= ${PHP_PKG_PREFIX}-posix>=5.2:../../devel/php-posix
+DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.2:../../archivers/php-zip
+DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.2:../../archivers/php-zlib
+
INSTALLATION_DIRS= bin
INSTALLATION_DIRS+= share/bash-completion.d
INSTALLATION_DIRS+= share/doc/phoronix-test-suite
@@ -38,6 +37,8 @@ pre-install:
do-install:
cd ${WRKSRC}/ && DESTDIR=${DESTDIR:Q} ./install-sh ${PREFIX:Q}
+.include "../../lang/php/phpversion.mk"
+.include "${PHPPKGSRCDIR}/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"