pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/php-zendoptimizerplus Initial import of php-zendop...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9502e2a90ab
branches:  trunk
changeset: 615455:c9502e2a90ab
user:      imil <imil%pkgsrc.org@localhost>
date:      Tue Mar 05 22:18:37 2013 +0000

description:
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:

 www/php-zendoptimizerplus/DESCR        |   5 +++++
 www/php-zendoptimizerplus/MESSAGE      |   9 +++++++++
 www/php-zendoptimizerplus/Makefile     |  28 ++++++++++++++++++++++++++++
 www/php-zendoptimizerplus/PLIST.extras |   2 ++
 www/php-zendoptimizerplus/distinfo     |   5 +++++
 5 files changed, 49 insertions(+), 0 deletions(-)

diffs (69 lines):

diff -r 536e74653614 -r c9502e2a90ab www/php-zendoptimizerplus/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-zendoptimizerplus/DESCR   Tue Mar 05 22:18:37 2013 +0000
@@ -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 -r 536e74653614 -r c9502e2a90ab www/php-zendoptimizerplus/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-zendoptimizerplus/MESSAGE Tue Mar 05 22:18:37 2013 +0000
@@ -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 -r 536e74653614 -r c9502e2a90ab www/php-zendoptimizerplus/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-zendoptimizerplus/Makefile        Tue Mar 05 22:18:37 2013 +0000
@@ -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@localhost
+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 -r 536e74653614 -r c9502e2a90ab www/php-zendoptimizerplus/PLIST.extras
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-zendoptimizerplus/PLIST.extras    Tue Mar 05 22:18:37 2013 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.extras,v 1.1 2013/03/05 22:18:37 imil Exp $
+share/doc/${PKGBASE}/README
diff -r 536e74653614 -r c9502e2a90ab www/php-zendoptimizerplus/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-zendoptimizerplus/distinfo        Tue Mar 05 22:18:37 2013 +0000
@@ -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



Home | Main Index | Thread Index | Old Index