aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/pecl-mongo/Makefile25
-rw-r--r--databases/pecl-mongo/distinfo3
-rw-r--r--databases/pecl-mongo/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 7d66348a1000..66d9cb28d194 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -449,6 +449,7 @@
SUBDIR += pecl-mdbtools
SUBDIR += pecl-memcache
SUBDIR += pecl-memcached
+ SUBDIR += pecl-mongo
SUBDIR += pecl-sqlite
SUBDIR += pg_filedump
SUBDIR += pgaccess
diff --git a/databases/pecl-mongo/Makefile b/databases/pecl-mongo/Makefile
new file mode 100644
index 000000000000..a277b8bf9bf7
--- /dev/null
+++ b/databases/pecl-mongo/Makefile
@@ -0,0 +1,25 @@
+# Ports collection makefile for: pear-mongo
+# Date created: 23 Nov, 2009
+# Whom: wen
+#
+# $FreeBSD$
+#
+
+PORTNAME= mongo
+PORTVERSION= 1.0.1
+CATEGORIES= databases pear
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= PECL classes for Mongo Database Driver
+
+BUILD_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/spl.so:${PORTSDIR}/devel/php5-spl
+
+USE_PHP= yes
+USE_PHP_BUILD= spl
+USE_PHPIZE= yes
+USE_PHPEXT= yes
+
+.include <bsd.port.mk>
diff --git a/databases/pecl-mongo/distinfo b/databases/pecl-mongo/distinfo
new file mode 100644
index 000000000000..6b3bc4119b8f
--- /dev/null
+++ b/databases/pecl-mongo/distinfo
@@ -0,0 +1,3 @@
+MD5 (mongo-1.0.1.tgz) = f12bcaa2a4dc49de7d4e7cd3eb173b32
+SHA256 (mongo-1.0.1.tgz) = 385f870c67981c4aa1511f9331410224f5e8890f1c96c46f25f0ca334a1d41e0
+SIZE (mongo-1.0.1.tgz) = 42930
diff --git a/databases/pecl-mongo/pkg-descr b/databases/pecl-mongo/pkg-descr
new file mode 100644
index 000000000000..0709669a69c7
--- /dev/null
+++ b/databases/pecl-mongo/pkg-descr
@@ -0,0 +1,4 @@
+pecl-mongo provides an interface for communicating with the
+Mongo database in PHP.
+
+WWW: http://pecl.php.net/package/mongo