diff options
author | fhajny <fhajny@pkgsrc.org> | 2014-05-07 15:43:59 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2014-05-07 15:43:59 +0000 |
commit | 015afee6f777d1ef035e1726b864e22c82a8253d (patch) | |
tree | 6eddc3a7fee58044d0cc8007a7f4a99eb7045896 /devel | |
parent | a51327f461f3ee0797c3a0bf34bbd293dd75d627 (diff) | |
download | pkgsrc-015afee6f777d1ef035e1726b864e22c82a8253d.tar.gz |
Import libbson as devel/libbson.
libbson is a library providing useful routines related to building,
parsing, and iterating BSON documents. It is a useful base for those
wanting to write high-performance C extensions to higher level
languages such as python, ruby, or perl.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libbson/DESCR | 4 | ||||
-rw-r--r-- | devel/libbson/Makefile | 21 | ||||
-rw-r--r-- | devel/libbson/PLIST | 154 | ||||
-rw-r--r-- | devel/libbson/buildlink3.mk | 12 | ||||
-rw-r--r-- | devel/libbson/distinfo | 6 | ||||
-rw-r--r-- | devel/libbson/patches/patch-configure | 14 |
6 files changed, 211 insertions, 0 deletions
diff --git a/devel/libbson/DESCR b/devel/libbson/DESCR new file mode 100644 index 00000000000..9b0c9c26836 --- /dev/null +++ b/devel/libbson/DESCR @@ -0,0 +1,4 @@ +libbson is a library providing useful routines related to building, +parsing, and iterating BSON documents. It is a useful base for those +wanting to write high-performance C extensions to higher level +languages such as python, ruby, or perl. diff --git a/devel/libbson/Makefile b/devel/libbson/Makefile new file mode 100644 index 00000000000..b2cb9aad7e6 --- /dev/null +++ b/devel/libbson/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2014/05/07 15:43:59 fhajny Exp $ + +DISTNAME= libbson-0.6.8 +CATEGORIES= devel +MASTER_SITES= http://github.com/mongodb/libbson/releases/download/${PKGVERSION_NOREV}/ + +MAINTAINER= filip@joyent.com +HOMEPAGE= http://github.com/mongodb/libbson/ +COMMENT= BSON utility library +LICENSE= apache-2.0 + +BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc + +GNU_CONFIGURE= yes +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +PKGCONFIG_OVERRIDE+= src/libbson-1.0.pc.in + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libbson/PLIST b/devel/libbson/PLIST new file mode 100644 index 00000000000..9c6bd6512c8 --- /dev/null +++ b/devel/libbson/PLIST @@ -0,0 +1,154 @@ +@comment $NetBSD: PLIST,v 1.1 2014/05/07 15:43:59 fhajny Exp $ +include/libbson-1.0/bcon.h +include/libbson-1.0/bson-atomic.h +include/libbson-1.0/bson-clock.h +include/libbson-1.0/bson-compat.h +include/libbson-1.0/bson-config.h +include/libbson-1.0/bson-context.h +include/libbson-1.0/bson-endian.h +include/libbson-1.0/bson-error.h +include/libbson-1.0/bson-iter.h +include/libbson-1.0/bson-json.h +include/libbson-1.0/bson-keys.h +include/libbson-1.0/bson-macros.h +include/libbson-1.0/bson-md5.h +include/libbson-1.0/bson-memory.h +include/libbson-1.0/bson-oid.h +include/libbson-1.0/bson-reader.h +include/libbson-1.0/bson-stdint.h +include/libbson-1.0/bson-string.h +include/libbson-1.0/bson-types.h +include/libbson-1.0/bson-utf8.h +include/libbson-1.0/bson-value.h +include/libbson-1.0/bson-version.h +include/libbson-1.0/bson-writer.h +include/libbson-1.0/bson.h +lib/libbson-1.0.la +lib/pkgconfig/libbson-1.0.pc +man/man3/bson_append_array.3 +man/man3/bson_append_binary.3 +man/man3/bson_append_bool.3 +man/man3/bson_append_code.3 +man/man3/bson_append_date_time.3 +man/man3/bson_append_dbpointer.3 +man/man3/bson_append_document.3 +man/man3/bson_append_double.3 +man/man3/bson_append_int32.3 +man/man3/bson_append_int64.3 +man/man3/bson_append_iter.3 +man/man3/bson_append_maxkey.3 +man/man3/bson_append_minkey.3 +man/man3/bson_append_now_utc.3 +man/man3/bson_append_null.3 +man/man3/bson_append_oid.3 +man/man3/bson_append_regex.3 +man/man3/bson_append_symbol.3 +man/man3/bson_append_timestamp.3 +man/man3/bson_append_undefined.3 +man/man3/bson_append_utf8.3 +man/man3/bson_as_json.3 +man/man3/bson_compare.3 +man/man3/bson_concat.3 +man/man3/bson_context_destroy.3 +man/man3/bson_context_get_default.3 +man/man3/bson_context_new.3 +man/man3/bson_copy.3 +man/man3/bson_copy_to.3 +man/man3/bson_copy_to_excluding.3 +man/man3/bson_count_keys.3 +man/man3/bson_destroy.3 +man/man3/bson_equal.3 +man/man3/bson_free.3 +man/man3/bson_get_data.3 +man/man3/bson_get_monotonic_time.3 +man/man3/bson_has_field.3 +man/man3/bson_init.3 +man/man3/bson_init_static.3 +man/man3/bson_iter_array.3 +man/man3/bson_iter_as_bool.3 +man/man3/bson_iter_as_int64.3 +man/man3/bson_iter_binary.3 +man/man3/bson_iter_bool.3 +man/man3/bson_iter_code.3 +man/man3/bson_iter_codewscope.3 +man/man3/bson_iter_date_time.3 +man/man3/bson_iter_dbpointer.3 +man/man3/bson_iter_document.3 +man/man3/bson_iter_double.3 +man/man3/bson_iter_dup_utf8.3 +man/man3/bson_iter_find.3 +man/man3/bson_iter_find_case.3 +man/man3/bson_iter_find_descendant.3 +man/man3/bson_iter_int32.3 +man/man3/bson_iter_int64.3 +man/man3/bson_iter_key.3 +man/man3/bson_iter_next.3 +man/man3/bson_iter_oid.3 +man/man3/bson_iter_overwrite_bool.3 +man/man3/bson_iter_overwrite_double.3 +man/man3/bson_iter_overwrite_int32.3 +man/man3/bson_iter_overwrite_int64.3 +man/man3/bson_iter_recurse.3 +man/man3/bson_iter_regex.3 +man/man3/bson_iter_symbol.3 +man/man3/bson_iter_t.3 +man/man3/bson_iter_time_t.3 +man/man3/bson_iter_timestamp.3 +man/man3/bson_iter_timeval.3 +man/man3/bson_iter_type.3 +man/man3/bson_iter_utf8.3 +man/man3/bson_iter_visit_all.3 +man/man3/bson_malloc.3 +man/man3/bson_malloc0.3 +man/man3/bson_new.3 +man/man3/bson_new_from_buffer.3 +man/man3/bson_new_from_data.3 +man/man3/bson_oid_compare.3 +man/man3/bson_oid_copy.3 +man/man3/bson_oid_equal.3 +man/man3/bson_oid_get_time_t.3 +man/man3/bson_oid_hash.3 +man/man3/bson_oid_is_valid.3 +man/man3/bson_oid_t.3 +man/man3/bson_oid_to_string.3 +man/man3/bson_reader_destroy.3 +man/man3/bson_reader_new_from_data.3 +man/man3/bson_reader_new_from_fd.3 +man/man3/bson_reader_read.3 +man/man3/bson_reader_set_read_func.3 +man/man3/bson_reader_tell.3 +man/man3/bson_realloc.3 +man/man3/bson_realloc_ctx.3 +man/man3/bson_reinit.3 +man/man3/bson_sized_new.3 +man/man3/bson_strdup.3 +man/man3/bson_strdup_printf.3 +man/man3/bson_strdupv_printf.3 +man/man3/bson_string_append.3 +man/man3/bson_string_append_c.3 +man/man3/bson_string_append_printf.3 +man/man3/bson_string_append_unichar.3 +man/man3/bson_string_free.3 +man/man3/bson_string_new.3 +man/man3/bson_string_truncate.3 +man/man3/bson_strndup.3 +man/man3/bson_uint32_to_string.3 +man/man3/bson_utf8_escape_for_json.3 +man/man3/bson_utf8_from_unichar.3 +man/man3/bson_utf8_get_char.3 +man/man3/bson_utf8_next_char.3 +man/man3/bson_utf8_validate.3 +man/man3/bson_validate.3 +man/man3/bson_visitor_t.3 +man/man3/bson_writer_begin.3 +man/man3/bson_writer_destroy.3 +man/man3/bson_writer_end.3 +man/man3/bson_writer_get_length.3 +man/man3/bson_writer_new.3 +man/man3/bson_writer_rollback.3 +man/man3/bson_writer_t.3 +man/man3/bson_zero_free.3 +man/man7/libbson.7 +share/doc/libbson/COPYING +share/doc/libbson/NEWS +share/doc/libbson/README diff --git a/devel/libbson/buildlink3.mk b/devel/libbson/buildlink3.mk new file mode 100644 index 00000000000..d7925393f65 --- /dev/null +++ b/devel/libbson/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/05/07 15:43:59 fhajny Exp $ + +BUILDLINK_TREE+= libbson + +.if !defined(LIBBSON_BUILDLINK3_MK) +LIBBSON_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libbson+= libbson>=0.6.8 +BUILDLINK_PKGSRCDIR.libbson?= ../../devel/libbson +.endif # LIBBSON_BUILDLINK3_MK + +BUILDLINK_TREE+= -libbson diff --git a/devel/libbson/distinfo b/devel/libbson/distinfo new file mode 100644 index 00000000000..7433cbba059 --- /dev/null +++ b/devel/libbson/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2014/05/07 15:43:59 fhajny Exp $ + +SHA1 (libbson-0.6.8.tar.gz) = 96f7bb4bcc6a5b1e40e1c9179d96212f8846c1dc +RMD160 (libbson-0.6.8.tar.gz) = 5f8dd76462314e3bc3747491e71d2819031c69ff +Size (libbson-0.6.8.tar.gz) = 4467230 bytes +SHA1 (patch-configure) = 9ffba2df753b7b210bb44846a9600480634a9c3b diff --git a/devel/libbson/patches/patch-configure b/devel/libbson/patches/patch-configure new file mode 100644 index 00000000000..051cd15a06d --- /dev/null +++ b/devel/libbson/patches/patch-configure @@ -0,0 +1,14 @@ +$NetBSD: patch-configure,v 1.1 2014/05/07 15:43:59 fhajny Exp $ + +Portability. +--- configure.orig 2014-05-07 11:46:16.964134378 +0000 ++++ configure +@@ -20130,7 +20130,7 @@ else + ax_python_lib=no + fi + +- if test x$ax_python_lib == xno; then ++ if test x$ax_python_lib = xno; then + as_ac_Lib=`$as_echo "ac_cv_lib_${ax_python_bin}m''_main" | $as_tr_sh` + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l${ax_python_bin}m" >&5 + $as_echo_n "checking for main in -l${ax_python_bin}m... " >&6; } |