aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-05-28 08:16:30 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-05-28 08:16:30 +0000
commit362f1fa892181921733e99fc2860cb809516d68c (patch)
tree115e3c4efbc5d53db0612c603342e53f9ddf3e0b /www
parent324bc55fe4821b53c43ea4feb526c8f817d189bf (diff)
downloadports-362f1fa892181921733e99fc2860cb809516d68c.tar.gz
ports-362f1fa892181921733e99fc2860cb809516d68c.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/xcache/Makefile45
-rw-r--r--www/xcache/distinfo3
-rw-r--r--www/xcache/files/pkg-message.in8
-rw-r--r--www/xcache/pkg-descr7
-rw-r--r--www/xcache/pkg-plist11
6 files changed, 75 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 96a32c79e84b..cd82138bdf6c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -983,6 +983,7 @@
SUBDIR += wwwstat
SUBDIR += wyvern
SUBDIR += xaraya
+ SUBDIR += xcache
SUBDIR += xist
SUBDIR += xitami
SUBDIR += xpath2rss
diff --git a/www/xcache/Makefile b/www/xcache/Makefile
new file mode 100644
index 000000000000..74fa894cf603
--- /dev/null
+++ b/www/xcache/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: xcache
+# Date created: 28 May 2006
+# Whom: Alex Dupre <ale@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xcache
+DISTVERSION= 1.0-rc
+CATEGORIES= www
+MASTER_SITES= http://210.51.190.228/pub/XCache/
+
+MAINTAINER= ale@FreeBSD.org
+COMMENT= A fast and stable php opcode cacher
+
+USE_PHP= yes
+USE_PHPIZE= yes
+
+CONFIGURE_ARGS= --enable-xcache=shared
+
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-install:
+ @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \
+ ${PREFIX}/lib/php/${PHP_EXT_DIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/xcache.ini \
+ ${EXAMPLESDIR}
+
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}/admin
+ ${INSTALL_DATA} ${WRKSRC}/admin/config.php.example \
+ ${WRKSRC}/admin/index.php \
+ ${WRKSRC}/admin/tablesort.js \
+ ${WRKSRC}/admin/xcache.css \
+ ${WRKSRC}/admin/xcache.php \
+ ${WRKSRC}/admin/xcache.tpl.php \
+ ${EXAMPLESDIR}/admin
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/xcache/distinfo b/www/xcache/distinfo
new file mode 100644
index 000000000000..4d29c6fa7aa1
--- /dev/null
+++ b/www/xcache/distinfo
@@ -0,0 +1,3 @@
+MD5 (xcache-1.0-rc.tar.gz) = fecf8edfecc9468696a0d71009340a46
+SHA256 (xcache-1.0-rc.tar.gz) = 3c8ac00df37e690c8c23ca72bccf390712c21dfbe1fb12e55b14874e8a96676f
+SIZE (xcache-1.0-rc.tar.gz) = 132489
diff --git a/www/xcache/files/pkg-message.in b/www/xcache/files/pkg-message.in
new file mode 100644
index 000000000000..6d7d7585b247
--- /dev/null
+++ b/www/xcache/files/pkg-message.in
@@ -0,0 +1,8 @@
+*****************************************************************************
+
+You have installed the xcache package.
+
+To enable it copy the %%EXAMPLESDIR%%/xcache.ini sample
+config file into %%PREFIX%%/etc/php/ and modify it to suit your needs.
+
+*****************************************************************************
diff --git a/www/xcache/pkg-descr b/www/xcache/pkg-descr
new file mode 100644
index 000000000000..1b361fe202ab
--- /dev/null
+++ b/www/xcache/pkg-descr
@@ -0,0 +1,7 @@
+XCache is a fast, stable php opcode cacher that has been tested and
+now running on production server under high load.
+
+WWW: http://trac.lighttpd.net/xcache/
+
+- Alex Dupre
+ale@FreeBSD.org
diff --git a/www/xcache/pkg-plist b/www/xcache/pkg-plist
new file mode 100644
index 000000000000..bfd615cf989f
--- /dev/null
+++ b/www/xcache/pkg-plist
@@ -0,0 +1,11 @@
+lib/php/%%PHP_EXT_DIR%%/xcache.so
+@dirrmtry lib/php/%%PHP_EXT_DIR%%
+%%EXAMPLESDIR%%/admin/config.php.example
+%%EXAMPLESDIR%%/admin/index.php
+%%EXAMPLESDIR%%/admin/tablesort.js
+%%EXAMPLESDIR%%/admin/xcache.css
+%%EXAMPLESDIR%%/admin/xcache.php
+%%EXAMPLESDIR%%/admin/xcache.tpl.php
+%%EXAMPLESDIR%%/xcache.ini
+@dirrm %%EXAMPLESDIR%%/admin
+@dirrm %%EXAMPLESDIR%%