diff options
author | jaapb <jaapb@pkgsrc.org> | 2019-03-13 11:03:16 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2019-03-13 11:03:16 +0000 |
commit | 91fa75824dc259b1d4975763516b9124d8477db9 (patch) | |
tree | 40e575cf33d3df2dfcf31dde21959d9d595adb24 /devel | |
parent | 4643d881a8483391e4ea45cfd519cc0eefdfcb3b (diff) | |
download | pkgsrc-91fa75824dc259b1d4975763516b9124d8477db9.tar.gz |
Added devel/ocaml-ppx_variants_conv, ppx rewriter for variant types
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-ppx_variants_conv/DESCR | 3 | ||||
-rw-r--r-- | devel/ocaml-ppx_variants_conv/Makefile | 23 | ||||
-rw-r--r-- | devel/ocaml-ppx_variants_conv/PLIST | 17 | ||||
-rw-r--r-- | devel/ocaml-ppx_variants_conv/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/ocaml-ppx_variants_conv/distinfo | 6 |
5 files changed, 62 insertions, 0 deletions
diff --git a/devel/ocaml-ppx_variants_conv/DESCR b/devel/ocaml-ppx_variants_conv/DESCR new file mode 100644 index 00000000000..c1cfe8d4dc5 --- /dev/null +++ b/devel/ocaml-ppx_variants_conv/DESCR @@ -0,0 +1,3 @@ +ppx_variants_conv is a ppx rewriter that can be used to define first class +values representing variant constructors, and additional routines to fold, +iterate and map over all constructors of a variant type. diff --git a/devel/ocaml-ppx_variants_conv/Makefile b/devel/ocaml-ppx_variants_conv/Makefile new file mode 100644 index 00000000000..9555694d79a --- /dev/null +++ b/devel/ocaml-ppx_variants_conv/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2019/03/13 11:03:16 jaapb Exp $ + +GITHUB_PROJECT= ppx_variants_conv +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/ppx_variants_conv/ +COMMENT= Generation of accessor and iteration functions for OCaml variant types +LICENSE= mit + +USE_LANGUAGES= # none + +OCAML_USE_DUNE= yes + +.include "../../mk/ocaml.mk" +.include "../../devel/ocaml-base/buildlink3.mk" +.include "../../devel/ocaml-variantslib/buildlink3.mk" +.include "../../devel/ocaml-ppxlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-ppx_variants_conv/PLIST b/devel/ocaml-ppx_variants_conv/PLIST new file mode 100644 index 00000000000..8d7c343fef7 --- /dev/null +++ b/devel/ocaml-ppx_variants_conv/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1 2019/03/13 11:03:16 jaapb Exp $ +${OCAML_SITELIB}/ppx_variants_conv/META +${OCAML_SITELIB}/ppx_variants_conv/dune-package +${OCAML_SITELIB}/ppx_variants_conv/opam +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.a +${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cma +${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmi +${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmt +${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmxs +${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.ml +${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.mli +share/doc/ppx_variants_conv/CHANGES.md +share/doc/ppx_variants_conv/LICENSE.md +share/doc/ppx_variants_conv/README.md diff --git a/devel/ocaml-ppx_variants_conv/buildlink3.mk b/devel/ocaml-ppx_variants_conv/buildlink3.mk new file mode 100644 index 00000000000..d7254fb50fe --- /dev/null +++ b/devel/ocaml-ppx_variants_conv/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 11:03:16 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-ppx_variants_conv + +.if !defined(OCAML_PPX_VARIANTS_CONV_BUILDLINK3_MK) +OCAML_PPX_VARIANTS_CONV_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-ppx_variants_conv+= ocaml-ppx_variants_conv>=0.12.0 +BUILDLINK_PKGSRCDIR.ocaml-ppx_variants_conv?= ../../devel/ocaml-ppx_variants_conv + +.endif # OCAML_PPX_VARIANTS_CONV_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-ppx_variants_conv diff --git a/devel/ocaml-ppx_variants_conv/distinfo b/devel/ocaml-ppx_variants_conv/distinfo new file mode 100644 index 00000000000..27c1e78daa3 --- /dev/null +++ b/devel/ocaml-ppx_variants_conv/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/03/13 11:03:16 jaapb Exp $ + +SHA1 (ppx_variants_conv-0.12.0.tar.gz) = 6ce1987af2c31109f3d85822c647eac66a95655b +RMD160 (ppx_variants_conv-0.12.0.tar.gz) = 095adf3452ca9784d98757046af49969e843cb85 +SHA512 (ppx_variants_conv-0.12.0.tar.gz) = 4ec3f91bc18699b6825d7a4942c92786cabdfe44a67e14ef14329cbaa3b7b2ee7076b26acfd322f8048fe49f5f9ae029d194b181b2f1b00643fb0c4fc5f4b40d +Size (ppx_variants_conv-0.12.0.tar.gz) = 9351 bytes |