summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2007-10-28 11:14:34 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2007-10-28 11:14:34 +0000
commit15c55082cd32254f27feb173d56b24ba7f2469c9 (patch)
treea81c6f105eef7f6bd842b55cb436a919f742cfb1 /textproc
parentUpgrade to GCC 4.2.2 (diff)
Add pecl-xslcache, the XSL Cache extension is a modification of PHP's standard XSL extension
that caches the parsed XSL stylesheet representation between sessions for 2.5x boost in performance! WWW: http://code.nytimes.com/projects/xslcache/
Notes
Notes: svn path=/head/; revision=202208
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/pecl-xslcache/Makefile27
-rw-r--r--textproc/pecl-xslcache/distinfo3
-rw-r--r--textproc/pecl-xslcache/pkg-descr10
4 files changed, 41 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 236357c72330..f2772e9f13cc 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -749,6 +749,7 @@
SUBDIR += pecl-stem
SUBDIR += pecl-syck
SUBDIR += pecl-xdiff
+ SUBDIR += pecl-xslcache
SUBDIR += perl2html
SUBDIR += permute
SUBDIR += php4-ctype
diff --git a/textproc/pecl-xslcache/Makefile b/textproc/pecl-xslcache/Makefile
new file mode 100644
index 000000000000..d4c1a05efe25
--- /dev/null
+++ b/textproc/pecl-xslcache/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: pecl-xslcache
+# Date created: 2007/10/28
+# Whom: chinsan
+#
+# $FreeBSD$
+#
+
+PORTNAME= xslcache
+PORTVERSION= 0.6
+CATEGORIES= textproc pear
+MASTER_SITES= http://people.freebsd.org/~chinsan/PECL/ \
+ LOCAL/chinsan/PECL/ \
+ http://code.nytimes.com/downloads/
+PKGNAMEPREFIX= pecl-
+DIST_SUBDIR= PECL
+
+MAINTAINER= chinsan@FreeBSD.org
+COMMENT= Caches the parsed XSL stylesheet between sessions
+
+DEFAULT_PHP_VER=5
+IGNORE_WITH_PHP=4
+
+USE_PHP= dom xml xsl
+USE_PHP_BUILD= yes
+USE_PHPEXT= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/pecl-xslcache/distinfo b/textproc/pecl-xslcache/distinfo
new file mode 100644
index 000000000000..997f11187f81
--- /dev/null
+++ b/textproc/pecl-xslcache/distinfo
@@ -0,0 +1,3 @@
+MD5 (PECL/xslcache-0.6.tar.gz) = 331635d5f32eee6f0f7b8f92d4ef75b6
+SHA256 (PECL/xslcache-0.6.tar.gz) = 8d6574e264011f43b05ee267ee9c771427b0a36fa78d9621fc90775ef660466d
+SIZE (PECL/xslcache-0.6.tar.gz) = 16555
diff --git a/textproc/pecl-xslcache/pkg-descr b/textproc/pecl-xslcache/pkg-descr
new file mode 100644
index 000000000000..892b83ba4f17
--- /dev/null
+++ b/textproc/pecl-xslcache/pkg-descr
@@ -0,0 +1,10 @@
+The XSL Cache extension is a modification of PHP's standard XSL extension
+that caches the parsed XSL stylesheet representation between sessions for
+2.5x boost in performance for sites that repeatedly apply the same
+transform.
+
+Although there is still some further work that could be done on
+the extension, this code is already proving beneficial in production use for
+a few applications on the New York Times' website.
+
+WWW: http://code.nytimes.com/projects/xslcache/