pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libbson Import libbson as devel/libbson.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/603506d87881
branches:  trunk
changeset: 634040:603506d87881
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed May 07 15:43:59 2014 +0000

description:
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:

 devel/libbson/DESCR                   |    4 +
 devel/libbson/Makefile                |   21 ++++
 devel/libbson/PLIST                   |  154 ++++++++++++++++++++++++++++++++++
 devel/libbson/buildlink3.mk           |   12 ++
 devel/libbson/distinfo                |    6 +
 devel/libbson/patches/patch-configure |   14 +++
 6 files changed, 211 insertions(+), 0 deletions(-)

diffs (235 lines):

diff -r c3744ce64015 -r 603506d87881 devel/libbson/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libbson/DESCR       Wed May 07 15:43:59 2014 +0000
@@ -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 -r c3744ce64015 -r 603506d87881 devel/libbson/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libbson/Makefile    Wed May 07 15:43:59 2014 +0000
@@ -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@localhost
+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 -r c3744ce64015 -r 603506d87881 devel/libbson/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libbson/PLIST       Wed May 07 15:43:59 2014 +0000
@@ -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 -r c3744ce64015 -r 603506d87881 devel/libbson/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libbson/buildlink3.mk       Wed May 07 15:43:59 2014 +0000
@@ -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 -r c3744ce64015 -r 603506d87881 devel/libbson/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libbson/distinfo    Wed May 07 15:43:59 2014 +0000
@@ -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 -r c3744ce64015 -r 603506d87881 devel/libbson/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libbson/patches/patch-configure     Wed May 07 15:43:59 2014 +0000
@@ -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; }



Home | Main Index | Thread Index | Old Index