aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/pecl-varnish/Makefile25
-rw-r--r--www/pecl-varnish/distinfo2
-rw-r--r--www/pecl-varnish/pkg-descr5
4 files changed, 33 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 3d8d3bd87ae5..070b4d6c1792 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1411,6 +1411,7 @@
SUBDIR += pecl-sphinx
SUBDIR += pecl-swish
SUBDIR += pecl-twig
+ SUBDIR += pecl-varnish
SUBDIR += pecl-yaf
SUBDIR += pecl-yar
SUBDIR += pecl-zendopcache
diff --git a/www/pecl-varnish/Makefile b/www/pecl-varnish/Makefile
new file mode 100644
index 000000000000..602428095a2f
--- /dev/null
+++ b/www/pecl-varnish/Makefile
@@ -0,0 +1,25 @@
+# Created by: Jim Ohlstein <jim@ohlste.in>
+# $FreeBSD$
+
+PORTNAME= varnish
+PORTVERSION= 1.1.1
+CATEGORIES= www
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= PECL
+
+MAINTAINER= jim@ohlste.in
+COMMENT= Varnish cache extension
+
+LICENSE= BSD
+
+BUILD_DEPENDS= ${LOCALBASE}/sbin/varnishd:${PORTSDIR}/www/varnish
+
+USE_PHP= hash
+USE_PHP_BUILD= yes
+USE_PHPEXT= yes
+
+IGNORE_WITH_PHP= 52
+
+.include <bsd.port.mk>
diff --git a/www/pecl-varnish/distinfo b/www/pecl-varnish/distinfo
new file mode 100644
index 000000000000..ba7bc010dd48
--- /dev/null
+++ b/www/pecl-varnish/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PECL/varnish-1.1.1.tgz) = c5df396751f73050b8a8b1e50a2ce180ed8dfcdb8fd22056b775213b00ead898
+SIZE (PECL/varnish-1.1.1.tgz) = 22852
diff --git a/www/pecl-varnish/pkg-descr b/www/pecl-varnish/pkg-descr
new file mode 100644
index 000000000000..38a23814b790
--- /dev/null
+++ b/www/pecl-varnish/pkg-descr
@@ -0,0 +1,5 @@
+Varnish Cache is an open source, state of the art web application
+accelerator. The extension makes it possible to interact with a running
+varnish instance through TCP socket or shared memory.
+
+WWW: http://pecl.php.net/package/varnish