diff options
author | fhajny <fhajny@pkgsrc.org> | 2015-06-13 13:48:37 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2015-06-13 13:48:37 +0000 |
commit | 9fe8d8a30c7a564f0561dd5695a0c13ef9823dbd (patch) | |
tree | bf2c30e25b1781a9e69fe305763d3470460f6ff7 /databases | |
parent | 303d85848800a6c15d72ddc134e333bd12963a76 (diff) | |
download | pkgsrc-9fe8d8a30c7a564f0561dd5695a0c13ef9823dbd.tar.gz |
Import the PECL mongo 1.6.9 module as databases/php-mongo.
Provides an interface for communicating with the Mongo database in PHP.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/php-mongo/DESCR | 1 | ||||
-rw-r--r-- | databases/php-mongo/Makefile | 15 | ||||
-rw-r--r-- | databases/php-mongo/distinfo | 5 | ||||
-rw-r--r-- | databases/php-mongo/options.mk | 14 |
4 files changed, 35 insertions, 0 deletions
diff --git a/databases/php-mongo/DESCR b/databases/php-mongo/DESCR new file mode 100644 index 00000000000..e2d7eb3c086 --- /dev/null +++ b/databases/php-mongo/DESCR @@ -0,0 +1 @@ +Interface for communicating with the Mongo database in PHP. diff --git a/databases/php-mongo/Makefile b/databases/php-mongo/Makefile new file mode 100644 index 00000000000..9ee5cf751f0 --- /dev/null +++ b/databases/php-mongo/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2015/06/13 13:48:37 fhajny Exp $ + +MODNAME= mongo +PECL_VERSION= 1.6.9 +CATEGORIES+= databases + +MAINTAINER= filip@joyent.com +HOMEPAGE= http://pecl.php.net/package/mongo +COMMENT= MongoDB database driver +LICENSE= apache-2.0 + +.include "options.mk" + +.include "../../lang/php/ext.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/php-mongo/distinfo b/databases/php-mongo/distinfo new file mode 100644 index 00000000000..9f11c79cff1 --- /dev/null +++ b/databases/php-mongo/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2015/06/13 13:48:37 fhajny Exp $ + +SHA1 (php-mongo/mongo-1.6.9.tgz) = 2524623d147c0821ea852ca1c84204d2afb32a87 +RMD160 (php-mongo/mongo-1.6.9.tgz) = c14132882e166a1fc95107ccc879684f78b3907f +Size (php-mongo/mongo-1.6.9.tgz) = 208955 bytes diff --git a/databases/php-mongo/options.mk b/databases/php-mongo/options.mk new file mode 100644 index 00000000000..f7d432b8ad4 --- /dev/null +++ b/databases/php-mongo/options.mk @@ -0,0 +1,14 @@ +# $NetBSD: options.mk,v 1.1 2015/06/13 13:48:37 fhajny Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.php-mongo +PKG_SUPPORTED_OPTIONS= sasl +PKG_SUGGESTED_OPTIONS= sasl + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Msasl) +CONFIGURE_ARGS+= --with-mongo-sasl=${BUILDLINK_PREFIX.cyrus-sasl} +.include "../../security/cyrus-sasl/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-mongo-sasl +.endif |