summaryrefslogtreecommitdiff
path: root/databases/mongo-c-driver/Makefile
diff options
context:
space:
mode:
authorfhajny <fhajny>2014-05-07 15:47:00 +0000
committerfhajny <fhajny>2014-05-07 15:47:00 +0000
commit23fc022a503b3b7df38963e354c0b0b670c11ce2 (patch)
treec904d2a7bb6ab6900ba4bb72babfcd4f4805b48e /databases/mongo-c-driver/Makefile
parent37f6901e125367ae27a878fa9f973b7ad54c5a6f (diff)
downloadpkgsrc-23fc022a503b3b7df38963e354c0b0b670c11ce2.tar.gz
Import mongo-c-driver as databases/mongo-c-driver.
mongo-c-driver is a client library written in C for MongoDB.
Diffstat (limited to 'databases/mongo-c-driver/Makefile')
-rw-r--r--databases/mongo-c-driver/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/databases/mongo-c-driver/Makefile b/databases/mongo-c-driver/Makefile
new file mode 100644
index 00000000000..77a613ca787
--- /dev/null
+++ b/databases/mongo-c-driver/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2014/05/07 15:47:00 fhajny Exp $
+
+DISTNAME= mongo-c-driver-0.94.2
+CATEGORIES= databases
+MASTER_SITES= https://github.com/mongodb/mongo-c-driver/releases/download/${PKGVERSION_NOREV}/
+
+MAINTAINER= filip@joyent.com
+HOMEPAGE= http://github.com/mongodb/mongo-c-driver/
+COMMENT= MongoDB client library written in C
+LICENSE= apache-2.0
+
+BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
+
+# Requires shm_open()
+NOT_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-*
+
+.include "options.mk"
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+CHECK_PORTABILITY_SKIP+= src/libbson/configure
+CONFIGURE_ARGS+= --with-libbson=system
+
+PKGCONFIG_OVERRIDE+= src/libmongoc-1.0.pc.in
+PKGCONFIG_OVERRIDE+= src/libmongoc-ssl-1.0.pc.in
+
+.include "../../devel/libbson/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"