summaryrefslogtreecommitdiff
path: root/www/php-apc
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2006-05-03 14:02:30 +0000
committertv <tv@pkgsrc.org>2006-05-03 14:02:30 +0000
commit8b23448af73bc47e089454955c7332963593d601 (patch)
treedd75bbba31ac932e34046bac836c512594a1a2ba /www/php-apc
parent75714256811d73575a86fb06e8946bf77367faac (diff)
downloadpkgsrc-8b23448af73bc47e089454955c7332963593d601.tar.gz
PHP module "apc" -- Alternative PHP Cache 3.0.10. From DESCR:
APC is the Alternative PHP Cache, which provides a way of boosting the performance of PHP on heavily-loaded sites by allowing scripts to be cached in a compiled state, so that the overhead of parsing and compiling can be almost completely eliminated.
Diffstat (limited to 'www/php-apc')
-rw-r--r--www/php-apc/DESCR4
-rw-r--r--www/php-apc/Makefile22
-rw-r--r--www/php-apc/PLIST.extras3
-rw-r--r--www/php-apc/distinfo5
4 files changed, 34 insertions, 0 deletions
diff --git a/www/php-apc/DESCR b/www/php-apc/DESCR
new file mode 100644
index 00000000000..8e84d7569f8
--- /dev/null
+++ b/www/php-apc/DESCR
@@ -0,0 +1,4 @@
+APC is the Alternative PHP Cache, which provides a way of boosting the
+performance of PHP on heavily-loaded sites by allowing scripts to be cached
+in a compiled state, so that the overhead of parsing and compiling can be
+almost completely eliminated.
diff --git a/www/php-apc/Makefile b/www/php-apc/Makefile
new file mode 100644
index 00000000000..4304b7ad94a
--- /dev/null
+++ b/www/php-apc/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2006/05/03 14:02:30 tv Exp $
+
+MODNAME= apc
+PECL_VERSION= 3.0.10
+CATEGORIES+= sysutils
+COMMENT= Alternative PHP Cache
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+
+CONFIGURE_ARGS+= --enable-${MODNAME}
+WRKSRC= ${WRKDIR}/APC-${PECL_VERSION}
+
+PLIST_SRC+= ${.CURDIR}/PLIST.extras
+PLIST_SUBST+= PKGBASE=${PKGBASE:Q}
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR}
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/php-apc/PLIST.extras b/www/php-apc/PLIST.extras
new file mode 100644
index 00000000000..1c2c5cb92ae
--- /dev/null
+++ b/www/php-apc/PLIST.extras
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.extras,v 1.1 2006/05/03 14:02:30 tv Exp $
+share/doc/${PKGBASE}/INSTALL
+@dirrm share/doc/${PKGBASE}
diff --git a/www/php-apc/distinfo b/www/php-apc/distinfo
new file mode 100644
index 00000000000..c015f47fc87
--- /dev/null
+++ b/www/php-apc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2006/05/03 14:02:30 tv Exp $
+
+SHA1 (php-apc/apc-3.0.10.tgz) = c442e933affac7f5d143de4970874d9426aca9de
+RMD160 (php-apc/apc-3.0.10.tgz) = 6ceec8c14ece7f8e887a621a914b9f265513b22d
+Size (php-apc/apc-3.0.10.tgz) = 85818 bytes