summaryrefslogtreecommitdiff
path: root/devel/msgpack
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-04-06 13:01:30 +0000
committerobache <obache@pkgsrc.org>2011-04-06 13:01:30 +0000
commit1a50e04aae8b1fd25d3e2b24aa58ba83f0e26cce (patch)
tree739569b937437e4ec89677b4a1999d67a5e660db /devel/msgpack
parentd2f7b691111e2616845105b254c3257081f7ac16 (diff)
downloadpkgsrc-1a50e04aae8b1fd25d3e2b24aa58ba83f0e26cce.tar.gz
Import msgpack-0.5.5 as devel/msgpack.
MessagePack is an efficient object serialization library, which are very compact and fast data format, with rich data structures compatible with JSON.
Diffstat (limited to 'devel/msgpack')
-rw-r--r--devel/msgpack/DESCR2
-rw-r--r--devel/msgpack/Makefile30
-rw-r--r--devel/msgpack/PLIST43
-rw-r--r--devel/msgpack/buildlink3.mk13
-rw-r--r--devel/msgpack/distinfo5
-rw-r--r--devel/msgpack/options.mk13
6 files changed, 106 insertions, 0 deletions
diff --git a/devel/msgpack/DESCR b/devel/msgpack/DESCR
new file mode 100644
index 00000000000..694cf5553f3
--- /dev/null
+++ b/devel/msgpack/DESCR
@@ -0,0 +1,2 @@
+MessagePack is an efficient object serialization library, which are very compact
+and fast data format, with rich data structures compatible with JSON.
diff --git a/devel/msgpack/Makefile b/devel/msgpack/Makefile
new file mode 100644
index 00000000000..a32db9aeab4
--- /dev/null
+++ b/devel/msgpack/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/04/06 13:01:30 obache Exp $
+#
+
+DISTNAME= msgpack-0.5.5
+CATEGORIES= devel
+MASTER_SITES= http://msgpack.org/releases/cpp/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://msgpack.org/
+COMMENT= Binary-based efficient object serialization library
+LICENSE= apache-2.0
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+
+GCC_REQD= 4.1
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+= -march=i686
+CXXFLAGS+= -march=i686
+.endif
+
+.include "options.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/msgpack/PLIST b/devel/msgpack/PLIST
new file mode 100644
index 00000000000..e0b04829d06
--- /dev/null
+++ b/devel/msgpack/PLIST
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/04/06 13:01:30 obache Exp $
+include/msgpack.h
+include/msgpack.hpp
+include/msgpack/object.h
+include/msgpack/object.hpp
+include/msgpack/pack.h
+include/msgpack/pack.hpp
+include/msgpack/pack_define.h
+include/msgpack/pack_template.h
+include/msgpack/sbuffer.h
+include/msgpack/sbuffer.hpp
+include/msgpack/sysdep.h
+include/msgpack/type.hpp
+include/msgpack/type/bool.hpp
+include/msgpack/type/define.hpp
+include/msgpack/type/deque.hpp
+include/msgpack/type/fixint.hpp
+include/msgpack/type/float.hpp
+include/msgpack/type/int.hpp
+include/msgpack/type/list.hpp
+include/msgpack/type/map.hpp
+include/msgpack/type/nil.hpp
+include/msgpack/type/pair.hpp
+include/msgpack/type/raw.hpp
+include/msgpack/type/set.hpp
+include/msgpack/type/string.hpp
+include/msgpack/type/tr1/unordered_map.hpp
+include/msgpack/type/tr1/unordered_set.hpp
+include/msgpack/type/tuple.hpp
+include/msgpack/type/vector.hpp
+include/msgpack/unpack.h
+include/msgpack/unpack.hpp
+include/msgpack/unpack_define.h
+include/msgpack/unpack_template.h
+include/msgpack/version.h
+include/msgpack/vrefbuffer.h
+include/msgpack/vrefbuffer.hpp
+include/msgpack/zbuffer.h
+include/msgpack/zbuffer.hpp
+include/msgpack/zone.h
+include/msgpack/zone.hpp
+lib/libmsgpack.la
+lib/libmsgpackc.la
diff --git a/devel/msgpack/buildlink3.mk b/devel/msgpack/buildlink3.mk
new file mode 100644
index 00000000000..48defa1db82
--- /dev/null
+++ b/devel/msgpack/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/04/06 13:01:30 obache Exp $
+#
+
+BUILDLINK_TREE+= msgpack
+
+.if !defined(MSGPACK_BUILDLINK3_MK)
+MSGPACK_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.msgpack+= msgpack>=0.5.5
+BUILDLINK_PKGSRCDIR.msgpack?= ../../devel/msgpack
+.endif # MSGPACK_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -msgpack
diff --git a/devel/msgpack/distinfo b/devel/msgpack/distinfo
new file mode 100644
index 00000000000..01b9d499502
--- /dev/null
+++ b/devel/msgpack/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/04/06 13:01:30 obache Exp $
+
+SHA1 (msgpack-0.5.5.tar.gz) = 788380285ae8b84058658c4115e44fefbde28737
+RMD160 (msgpack-0.5.5.tar.gz) = cda680ef73765c0a4340888bc5efc74af2aea88f
+Size (msgpack-0.5.5.tar.gz) = 407670 bytes
diff --git a/devel/msgpack/options.mk b/devel/msgpack/options.mk
new file mode 100644
index 00000000000..5bc0ab3944b
--- /dev/null
+++ b/devel/msgpack/options.mk
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1.1.1 2011/04/06 13:01:30 obache Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.msgpack
+PKG_SUPPORTED_OPTIONS= tests
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mtests)
+BUILDLINK_DEPMETHOD.googletest+= build
+.include "../../devel/googletest/buildlink3.mk"
+TEST_TARGET= check
+.endif