summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-07-29 16:43:17 +0000
committertaca <taca@pkgsrc.org>2013-07-29 16:43:17 +0000
commite2227f2543cf2baa519456f516198fc0d9b5383d (patch)
tree6f0eef6db34539b5f78c98aaff7674ff187abc8f /devel
parent1f8aa1e93b4405bcd6854359c75f276277d9e032 (diff)
downloadpkgsrc-e2227f2543cf2baa519456f516198fc0d9b5383d.tar.gz
Add php-opcache version 5.5.1 package. This is part of official PHP 5.5.1
distribution. php-opcache is the Zend OPcache module which 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 'devel')
-rw-r--r--devel/php-opcache/DESCR6
-rw-r--r--devel/php-opcache/Makefile12
2 files changed, 18 insertions, 0 deletions
diff --git a/devel/php-opcache/DESCR b/devel/php-opcache/DESCR
new file mode 100644
index 00000000000..ceaac422000
--- /dev/null
+++ b/devel/php-opcache/DESCR
@@ -0,0 +1,6 @@
+php-opcache is the Zend OPcache module which 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/devel/php-opcache/Makefile b/devel/php-opcache/Makefile
new file mode 100644
index 00000000000..ee10d68e498
--- /dev/null
+++ b/devel/php-opcache/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2013/07/29 16:43:17 taca Exp $
+
+MODNAME= opcache
+CATEGORIES+= devel
+COMMENT= PHP extension for opcode caching
+
+PHP_VERSIONS_ACCEPTED= 55
+PHP_CHECK_INSTALLED= Yes
+CONFIGURE_ARGS+= --enable-${MODNAME}=opcache
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"