diff options
author | jaapb <jaapb@pkgsrc.org> | 2019-03-19 10:29:26 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2019-03-19 10:29:26 +0000 |
commit | e925a60af9c8bbc2385b14b99f0d43843497e657 (patch) | |
tree | 02e9dfbd67e332373f0b5b798f865be7f3f4cd99 /devel | |
parent | 5f66478bcee3eafd42766a073eec0bc490b3e5d3 (diff) | |
download | pkgsrc-e925a60af9c8bbc2385b14b99f0d43843497e657.tar.gz |
Added devel/ocaml-ppx_stable, extensions for almost-identical types
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-ppx_stable/DESCR | 2 | ||||
-rw-r--r-- | devel/ocaml-ppx_stable/Makefile | 22 | ||||
-rw-r--r-- | devel/ocaml-ppx_stable/PLIST | 16 | ||||
-rw-r--r-- | devel/ocaml-ppx_stable/buildlink3.mk | 13 | ||||
-rw-r--r-- | devel/ocaml-ppx_stable/distinfo | 6 |
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/ocaml-ppx_stable/DESCR b/devel/ocaml-ppx_stable/DESCR new file mode 100644 index 00000000000..380b152042b --- /dev/null +++ b/devel/ocaml-ppx_stable/DESCR @@ -0,0 +1,2 @@ +A ppx extension for easier implementation of conversion functions between +almost identical types. diff --git a/devel/ocaml-ppx_stable/Makefile b/devel/ocaml-ppx_stable/Makefile new file mode 100644 index 00000000000..24235043083 --- /dev/null +++ b/devel/ocaml-ppx_stable/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2019/03/19 10:29:26 jaapb Exp $ + +GITHUB_PROJECT= ppx_stable +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_stable/ +COMMENT= Stable type conversions generator for OCaml +LICENSE= mit + +USE_LANGUAGES= # none +OCAML_USE_DUNE= yes + +.include "../../devel/ocaml-base/buildlink3.mk" +.include "../../devel/ocaml-ppxlib/buildlink3.mk" + +.include "../../mk/ocaml.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-ppx_stable/PLIST b/devel/ocaml-ppx_stable/PLIST new file mode 100644 index 00000000000..75eabab8a65 --- /dev/null +++ b/devel/ocaml-ppx_stable/PLIST @@ -0,0 +1,16 @@ +@comment $NetBSD: PLIST,v 1.1 2019/03/19 10:29:26 jaapb Exp $ +${OCAML_SITELIB}/ppx_stable/META +${OCAML_SITELIB}/ppx_stable/dune-package +${OCAML_SITELIB}/ppx_stable/opam +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_stable/ppx_stable.a +${OCAML_SITELIB}/ppx_stable/ppx_stable.cma +${OCAML_SITELIB}/ppx_stable/ppx_stable.cmi +${OCAML_SITELIB}/ppx_stable/ppx_stable.cmt +${OCAML_SITELIB}/ppx_stable/ppx_stable.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_stable/ppx_stable.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_stable/ppx_stable.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_stable/ppx_stable.cmxs +${OCAML_SITELIB}/ppx_stable/ppx_stable.ml +${OCAML_SITELIB}/ppx_stable/ppx_stable.mli +share/doc/ppx_stable/LICENSE.md +share/doc/ppx_stable/README.md diff --git a/devel/ocaml-ppx_stable/buildlink3.mk b/devel/ocaml-ppx_stable/buildlink3.mk new file mode 100644 index 00000000000..11981b6255c --- /dev/null +++ b/devel/ocaml-ppx_stable/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/03/19 10:29:26 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-ppx_stable + +.if !defined(OCAML_PPX_STABLE_BUILDLINK3_MK) +OCAML_PPX_STABLE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-ppx_stable+= ocaml-ppx_stable>=0.12.0 +BUILDLINK_PKGSRCDIR.ocaml-ppx_stable?= ../../devel/ocaml-ppx_stable + +.endif # OCAML_PPX_STABLE_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-ppx_stable diff --git a/devel/ocaml-ppx_stable/distinfo b/devel/ocaml-ppx_stable/distinfo new file mode 100644 index 00000000000..477e3acdc5f --- /dev/null +++ b/devel/ocaml-ppx_stable/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/03/19 10:29:26 jaapb Exp $ + +SHA1 (ppx_stable-0.12.0.tar.gz) = f81d65ad28bf8bbab41733f890251ae4b443a53c +RMD160 (ppx_stable-0.12.0.tar.gz) = d0d5f3b8fbeb0f3ae7817fc397c69869c64ecc46 +SHA512 (ppx_stable-0.12.0.tar.gz) = 8d645deaa82f58ea277b6efee7aba9805414c97114424894b98c6e66573c2ceeb9d4ee61765b9f62fcf7121846c251d2097b1d4622bfb01dc8cd8bb0e3b9a25a +Size (ppx_stable-0.12.0.tar.gz) = 9987 bytes |