diff options
author | jaapb <jaapb@pkgsrc.org> | 2019-03-13 11:06:00 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2019-03-13 11:06:00 +0000 |
commit | b38c6111714b5d2d75b88ee37ecd4be22395bda5 (patch) | |
tree | 22e22091ce7bee3bb7681bc0de55f66db24ed0d4 /devel | |
parent | c9f294f50a72d8c3f32885e82a8a991cc5a199ec (diff) | |
download | pkgsrc-b38c6111714b5d2d75b88ee37ecd4be22395bda5.tar.gz |
Added devel/ocaml-bin_prot, a binary protocol generator for OCaml
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-bin_prot/DESCR | 6 | ||||
-rw-r--r-- | devel/ocaml-bin_prot/Makefile | 26 | ||||
-rw-r--r-- | devel/ocaml-bin_prot/PLIST | 112 | ||||
-rw-r--r-- | devel/ocaml-bin_prot/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/ocaml-bin_prot/distinfo | 6 |
5 files changed, 163 insertions, 0 deletions
diff --git a/devel/ocaml-bin_prot/DESCR b/devel/ocaml-bin_prot/DESCR new file mode 100644 index 00000000000..043f85583e9 --- /dev/null +++ b/devel/ocaml-bin_prot/DESCR @@ -0,0 +1,6 @@ +This library contains functionality for reading and writing OCaml-values in a +type-safe binary protocol. It is extremely efficient, typically supporting +type-safe marshalling and unmarshalling of even highly structured values at +speeds sufficient to saturate a gigabit connection. The protocol is also heavily +optimized for size, making it ideal for long-term storage of large amounts of +data. diff --git a/devel/ocaml-bin_prot/Makefile b/devel/ocaml-bin_prot/Makefile new file mode 100644 index 00000000000..051799e6f5f --- /dev/null +++ b/devel/ocaml-bin_prot/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2019/03/13 11:06:00 jaapb Exp $ + +GITHUB_PROJECT= bin_prot +GITHUB_TAG= v${PKGVERSION_NOREV} +DISTNAME= ${GITHUB_PROJECT}-0.12.0 +PKGNAME= ocaml-${DISTNAME} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/} + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= https://github.com/janestreet/bin_prot/ +COMMENT= Binary protocol generator for OCaml +LICENSE= mit + +USE_LANGUAGES= # none +OCAML_USE_DUNE= yes + +.include "../../devel/ocaml-base/buildlink3.mk" +.include "../../devel/ocaml-ppx_compare/buildlink3.mk" +.include "../../devel/ocaml-ppx_custom_printf/buildlink3.mk" +.include "../../devel/ocaml-ppx_fields_conv/buildlink3.mk" +.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk" +.include "../../devel/ocaml-ppx_variants_conv/buildlink3.mk" + +.include "../../mk/ocaml.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-bin_prot/PLIST b/devel/ocaml-bin_prot/PLIST new file mode 100644 index 00000000000..1653c4d341b --- /dev/null +++ b/devel/ocaml-bin_prot/PLIST @@ -0,0 +1,112 @@ +@comment $NetBSD: PLIST,v 1.1 2019/03/13 11:06:00 jaapb Exp $ +${OCAML_SITELIB}/bin_prot/META +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot.a +${OCAML_SITELIB}/bin_prot/bin_prot.cma +${OCAML_SITELIB}/bin_prot/bin_prot.cmi +${OCAML_SITELIB}/bin_prot/bin_prot.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot.cmxs +${OCAML_SITELIB}/bin_prot/bin_prot.ml +${OCAML_SITELIB}/bin_prot/bin_prot__Binable.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Binable.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Binable.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Blob.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Blob.cmt +${OCAML_SITELIB}/bin_prot/bin_prot__Blob.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Blob.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Common.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Common.cmt +${OCAML_SITELIB}/bin_prot/bin_prot__Common.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Common.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Md5.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Md5.cmt +${OCAML_SITELIB}/bin_prot/bin_prot__Md5.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Md5.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Nat0.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Nat0.cmt +${OCAML_SITELIB}/bin_prot/bin_prot__Nat0.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Nat0.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Read.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Read.cmt +${OCAML_SITELIB}/bin_prot/bin_prot__Read.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Read.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Shape.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Shape.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Shape.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Size.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Size.cmt +${OCAML_SITELIB}/bin_prot/bin_prot__Size.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Size.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Std.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Std.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Std.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Type_class.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Type_class.cmt +${OCAML_SITELIB}/bin_prot/bin_prot__Type_class.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Type_class.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Utils.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Utils.cmt +${OCAML_SITELIB}/bin_prot/bin_prot__Utils.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Utils.cmx +${OCAML_SITELIB}/bin_prot/bin_prot__Write.cmi +${OCAML_SITELIB}/bin_prot/bin_prot__Write.cmt +${OCAML_SITELIB}/bin_prot/bin_prot__Write.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/bin_prot__Write.cmx +${OCAML_SITELIB}/bin_prot/binable.ml +${OCAML_SITELIB}/bin_prot/blob.ml +${OCAML_SITELIB}/bin_prot/blob.mli +${OCAML_SITELIB}/bin_prot/common.ml +${OCAML_SITELIB}/bin_prot/common.mli +${OCAML_SITELIB}/bin_prot/dune-package +${OCAML_SITELIB}/bin_prot/libbin_prot_stubs.a +${OCAML_SITELIB}/bin_prot/md5.ml +${OCAML_SITELIB}/bin_prot/md5.mli +${OCAML_SITELIB}/bin_prot/nat0.ml +${OCAML_SITELIB}/bin_prot/nat0.mli +${OCAML_SITELIB}/bin_prot/opam +${OCAML_SITELIB}/bin_prot/read.ml +${OCAML_SITELIB}/bin_prot/read.mli +${OCAML_SITELIB}/bin_prot/runtime.js +${OCAML_SITELIB}/bin_prot/shape.ml +${OCAML_SITELIB}/bin_prot/shape/bin_shape.ml +${OCAML_SITELIB}/bin_prot/shape/bin_shape.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib.a +${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib.cma +${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib.cmi +${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib.cmxs +${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib.ml +${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib__Bin_shape.cmi +${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib__Bin_shape.cmt +${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib__Bin_shape.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib__Bin_shape.cmx +${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib__Std.cmi +${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib__Std.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/shape/bin_shape_lib__Std.cmx +${OCAML_SITELIB}/bin_prot/shape/std.ml +${OCAML_SITELIB}/bin_prot/size.ml +${OCAML_SITELIB}/bin_prot/size.mli +${OCAML_SITELIB}/bin_prot/std.ml +${OCAML_SITELIB}/bin_prot/type_class.ml +${OCAML_SITELIB}/bin_prot/type_class.mli +${OCAML_SITELIB}/bin_prot/utils.ml +${OCAML_SITELIB}/bin_prot/utils.mli +${OCAML_SITELIB}/bin_prot/write.ml +${OCAML_SITELIB}/bin_prot/write.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/xen/bin_prot_xen.a +${OCAML_SITELIB}/bin_prot/xen/bin_prot_xen.cma +${OCAML_SITELIB}/bin_prot/xen/bin_prot_xen.cmi +${OCAML_SITELIB}/bin_prot/xen/bin_prot_xen.cmt +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/xen/bin_prot_xen.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/xen/bin_prot_xen.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/bin_prot/xen/bin_prot_xen.cmxs +${OCAML_SITELIB}/bin_prot/xen/bin_prot_xen.ml +${OCAML_SITELIB}/stublibs/dllbin_prot_stubs.so +share/doc/bin_prot/CHANGES.md +share/doc/bin_prot/CHANGES.txt +share/doc/bin_prot/LICENSE-Tywith.txt +share/doc/bin_prot/LICENSE.md +share/doc/bin_prot/README.md diff --git a/devel/ocaml-bin_prot/buildlink3.mk b/devel/ocaml-bin_prot/buildlink3.mk new file mode 100644 index 00000000000..493f4bb71b9 --- /dev/null +++ b/devel/ocaml-bin_prot/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 11:06:00 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-bin_prot + +.if !defined(OCAML_BIN_PROT_BUILDLINK3_MK) +OCAML_BIN_PROT_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-bin_prot+= ocaml-bin_prot>=0.12.0 +BUILDLINK_PKGSRCDIR.ocaml-bin_prot?= ../../devel/ocaml-bin_prot + +.endif # OCAML_BIN_PROT_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-bin_prot diff --git a/devel/ocaml-bin_prot/distinfo b/devel/ocaml-bin_prot/distinfo new file mode 100644 index 00000000000..210a2185a1d --- /dev/null +++ b/devel/ocaml-bin_prot/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/03/13 11:06:00 jaapb Exp $ + +SHA1 (bin_prot-0.12.0.tar.gz) = 70b695c95d186fd16bc395860434a90f16c39b43 +RMD160 (bin_prot-0.12.0.tar.gz) = 724b108e2d7e73803510cab4fcf9c4b74ad39834 +SHA512 (bin_prot-0.12.0.tar.gz) = e3e68e51473449208a5789a72dbfff311934ac23c84d3283f82099850fa0176e082de4ec734a60dcfef93e8c5194974e47024ab411cec5e311f7005ef93841d2 +Size (bin_prot-0.12.0.tar.gz) = 337996 bytes |