aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/pecl-memcache/Makefile31
-rw-r--r--databases/pecl-memcache/distinfo2
-rw-r--r--databases/pecl-memcache/pkg-descr7
-rw-r--r--databases/pecl-memcache/pkg-plist2
5 files changed, 43 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 685f3ff2c5c3..1ab1464329b7 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -202,6 +202,7 @@
SUBDIR += pear-DB_Pager
SUBDIR += pear-MDB
SUBDIR += pear-sqlite
+ SUBDIR += pecl-memcache
SUBDIR += pgaccess
SUBDIR += pgadmin3
SUBDIR += pgbash
diff --git a/databases/pecl-memcache/Makefile b/databases/pecl-memcache/Makefile
new file mode 100644
index 000000000000..65ca80a4fd54
--- /dev/null
+++ b/databases/pecl-memcache/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: pecl-memcache
+# Date created: 10 August 2004
+# Whom: Gerrit Beine <tux@pinguru.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= memcache
+PORTVERSION= 1.2
+CATEGORIES= databases pear
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= PECL
+
+MAINTAINER= tux@pinguru.net
+COMMENT= Memcached extension
+
+RUN_DEPENDS= memcached:${PORTSDIR}/databases/memcached
+
+USE_PHP= zlib
+USE_PHPEXT= yes
+PHP_MODNAME= memcache
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example.php ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/databases/pecl-memcache/distinfo b/databases/pecl-memcache/distinfo
new file mode 100644
index 000000000000..2e719e29c1e7
--- /dev/null
+++ b/databases/pecl-memcache/distinfo
@@ -0,0 +1,2 @@
+MD5 (PECL/memcache-1.2.tgz) = 791617b191323b9f4c2746180ab188c2
+SIZE (PECL/memcache-1.2.tgz) = 13013
diff --git a/databases/pecl-memcache/pkg-descr b/databases/pecl-memcache/pkg-descr
new file mode 100644
index 000000000000..1bdf160bc690
--- /dev/null
+++ b/databases/pecl-memcache/pkg-descr
@@ -0,0 +1,7 @@
+Memcached is a caching daemon designed especially for
+dynamic web applications to decrease database load by
+storing objects in memory.
+This extension allows you to work with memcached through
+handy OO and procedural interfaces.
+
+WWW: http://pecl.php.net/package/memcache/
diff --git a/databases/pecl-memcache/pkg-plist b/databases/pecl-memcache/pkg-plist
new file mode 100644
index 000000000000..ee92b0feac92
--- /dev/null
+++ b/databases/pecl-memcache/pkg-plist
@@ -0,0 +1,2 @@
+%%PORTDOCS%%%%EXAMPLESDIR%%/example.php
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%