summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorimil <imil@pkgsrc.org>2013-03-05 22:18:37 +0000
committerimil <imil@pkgsrc.org>2013-03-05 22:18:37 +0000
commit709adc8eaaf920d32f28b71ea638dedd8a345ec5 (patch)
tree80390696d16cccd50005c36b3c08d0ec6289dab5 /www
parent51ad92e28c9a1e7865227f573f63848ad5b8a859 (diff)
downloadpkgsrc-709adc8eaaf920d32f28b71ea638dedd8a345ec5.tar.gz
Initial import of php-zendoptimizerplus, version 7.0.0, into the NetBSD
Packages Collection. The Zend Optimizer+ provides faster PHP execution through opcode caching and optimization. It improves PHP performance by storing precompiled script bytecode in the shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. In addition, it applies a few bytecode optimization patterns that make code execution faster.
Diffstat (limited to 'www')
-rw-r--r--www/php-zendoptimizerplus/DESCR5
-rw-r--r--www/php-zendoptimizerplus/MESSAGE9
-rw-r--r--www/php-zendoptimizerplus/Makefile28
-rw-r--r--www/php-zendoptimizerplus/PLIST.extras2
-rw-r--r--www/php-zendoptimizerplus/distinfo5
5 files changed, 49 insertions, 0 deletions
diff --git a/www/php-zendoptimizerplus/DESCR b/www/php-zendoptimizerplus/DESCR
new file mode 100644
index 00000000000..ec3b45eb47a
--- /dev/null
+++ b/www/php-zendoptimizerplus/DESCR
@@ -0,0 +1,5 @@
+The Zend Optimizer+ provides faster PHP execution through opcode caching and
+optimization. It improves PHP performance by storing precompiled script
+bytecode in the shared memory. This eliminates the stages of reading code from
+the disk and compiling it on future access. In addition, it applies a few
+bytecode optimization patterns that make code execution faster.
diff --git a/www/php-zendoptimizerplus/MESSAGE b/www/php-zendoptimizerplus/MESSAGE
new file mode 100644
index 00000000000..4a578b772c8
--- /dev/null
+++ b/www/php-zendoptimizerplus/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2013/03/05 22:18:37 imil Exp $
+
+To enable this module, add the following to ${PKG_SYSCONFDIR}/php.ini:
+
+ zend_extension=${PREFIX}/${PHP_EXTENSION_DIR}/${MODNAME}.so
+
+Then restart your ${PKG_PHP}-enabled HTTP server to load this module.
+===========================================================================
diff --git a/www/php-zendoptimizerplus/Makefile b/www/php-zendoptimizerplus/Makefile
new file mode 100644
index 00000000000..96fe783b569
--- /dev/null
+++ b/www/php-zendoptimizerplus/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2013/03/05 22:18:37 imil Exp $
+
+MODNAME= zendoptimizerplus
+PKGMODNAME= ZendOptimizerPlus
+CATEGORIES+= www
+PECL_VERSION= 7.0.0
+PECL_LEGACY_VERSION_SCHEME= yes
+
+HOMEPAGE= https://github.com/zend-dev/ZendOptimizerPlus
+MAINTAINER= imil@NetBSD.org
+COMMENT= Zend opcode cache and optimizer for PHP
+LICENSE= php
+
+PLIST_SRC+= ${.CURDIR}/PLIST.extras
+PLIST_SUBST+= PKGBASE=${PKGBASE:Q}
+
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+
+INSTALLATION_DIRS= ${DOCDIR}
+
+.include "../../lang/php/ext.mk"
+# this is not an usual extension, override MESSAGE.module
+MESSAGE_SRC= ${.CURDIR}/MESSAGE
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/php-zendoptimizerplus/PLIST.extras b/www/php-zendoptimizerplus/PLIST.extras
new file mode 100644
index 00000000000..772185b2241
--- /dev/null
+++ b/www/php-zendoptimizerplus/PLIST.extras
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.extras,v 1.1 2013/03/05 22:18:37 imil Exp $
+share/doc/${PKGBASE}/README
diff --git a/www/php-zendoptimizerplus/distinfo b/www/php-zendoptimizerplus/distinfo
new file mode 100644
index 00000000000..580007d2c6d
--- /dev/null
+++ b/www/php-zendoptimizerplus/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/03/05 22:18:37 imil Exp $
+
+SHA1 (php-zendoptimizerplus/zendoptimizerplus-7.0.0.tgz) = 394fea267098935196c9e6d26ec09dd343f5ee0f
+RMD160 (php-zendoptimizerplus/zendoptimizerplus-7.0.0.tgz) = da1f7cb83a9e73b9d486a13902e9650a8f7ea8b9
+Size (php-zendoptimizerplus/zendoptimizerplus-7.0.0.tgz) = 82376 bytes