summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2020-04-21 10:53:10 +0000
committerjaapb <jaapb@pkgsrc.org>2020-04-21 10:53:10 +0000
commitdcd72e74f5606942927342e1fdef4886b7b6f9e6 (patch)
tree9f68c9008eab3b4da0d79c0a4fde885f9e4e5e9f /devel
parent1fc44f8a3e0c86d1aa8831c1e31a8e0ae88fba9f (diff)
downloadpkgsrc-dcd72e74f5606942927342e1fdef4886b7b6f9e6.tar.gz
Added devel/ocaml-stdlib-shims, an OCaml compatibility library.
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-stdlib-shims/DESCR3
-rw-r--r--devel/ocaml-stdlib-shims/Makefile19
-rw-r--r--devel/ocaml-stdlib-shims/PLIST15
-rw-r--r--devel/ocaml-stdlib-shims/buildlink3.mk12
-rw-r--r--devel/ocaml-stdlib-shims/distinfo6
5 files changed, 55 insertions, 0 deletions
diff --git a/devel/ocaml-stdlib-shims/DESCR b/devel/ocaml-stdlib-shims/DESCR
new file mode 100644
index 00000000000..f66a93c2b63
--- /dev/null
+++ b/devel/ocaml-stdlib-shims/DESCR
@@ -0,0 +1,3 @@
+This is a compatibility library for OCaml; the shim will make post-4.08
+code work with pre-4.08 versions of OCaml (with respect to the change from
+Pervasives to Stdlib).
diff --git a/devel/ocaml-stdlib-shims/Makefile b/devel/ocaml-stdlib-shims/Makefile
new file mode 100644
index 00000000000..c5c5054c4aa
--- /dev/null
+++ b/devel/ocaml-stdlib-shims/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/04/21 10:53:10 jaapb Exp $
+
+GITHUB_PROJECT= stdlib-shims
+DISTNAME= ${GITHUB_PROJECT}-0.2.0
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/}
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= https://github.com/ocaml/stdlib-shims/
+COMMENT= OCaml stdlib compatibility module
+LICENSE= gnu-lgpl-v2.1
+
+USE_LANGUAGES= # none
+
+OCAML_USE_DUNE= yes
+
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-stdlib-shims/PLIST b/devel/ocaml-stdlib-shims/PLIST
new file mode 100644
index 00000000000..5f1ea8e4350
--- /dev/null
+++ b/devel/ocaml-stdlib-shims/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/21 10:53:10 jaapb Exp $
+${OCAML_SITELIB}/stdlib-shims/META
+${OCAML_SITELIB}/stdlib-shims/dune-package
+${OCAML_SITELIB}/stdlib-shims/opam
+${OCAML_SITELIB}/stdlib-shims/pervasives.cmi
+${OCAML_SITELIB}/stdlib-shims/pervasives.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/stdlib-shims/pervasives.cmx
+${OCAML_SITELIB}/stdlib-shims/pervasives.ml
+${PLIST.ocaml-opt}${OCAML_SITELIB}/stdlib-shims/stdlib_shims.a
+${OCAML_SITELIB}/stdlib-shims/stdlib_shims.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/stdlib-shims/stdlib_shims.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/stdlib-shims/stdlib_shims.cmxs
+share/doc/stdlib-shims/CHANGES.md
+share/doc/stdlib-shims/LICENSE
+share/doc/stdlib-shims/README.md
diff --git a/devel/ocaml-stdlib-shims/buildlink3.mk b/devel/ocaml-stdlib-shims/buildlink3.mk
new file mode 100644
index 00000000000..988dde09c6d
--- /dev/null
+++ b/devel/ocaml-stdlib-shims/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/04/21 10:53:10 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-stdlib-shims
+
+.if !defined(OCAML_STDLIB_SHIMS_BUILDLINK3_MK)
+OCAML_STDLIB_SHIMS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-stdlib-shims+= ocaml-stdlib-shims>=0.2.0
+BUILDLINK_PKGSRCDIR.ocaml-stdlib-shims?= ../../devel/ocaml-stdlib-shims
+.endif # OCAML_STDLIB_SHIMS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-stdlib-shims
diff --git a/devel/ocaml-stdlib-shims/distinfo b/devel/ocaml-stdlib-shims/distinfo
new file mode 100644
index 00000000000..3c5842b69fc
--- /dev/null
+++ b/devel/ocaml-stdlib-shims/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/21 10:53:10 jaapb Exp $
+
+SHA1 (stdlib-shims-0.2.0.tar.gz) = 098f2a9ff8d3c44075c03b383a0818b70cc2c42d
+RMD160 (stdlib-shims-0.2.0.tar.gz) = c4f9c142ad9657213b80a4ba7b2411c5bffd1c58
+SHA512 (stdlib-shims-0.2.0.tar.gz) = 3f62bb2512a754bd9f1977fc6effcadd5887e251e66db35f527052db9b2c80e60295e10abfa416fe1de71b5f80b32318ac568ddf86c82a1e94e6dcb75d6ffee0
+Size (stdlib-shims-0.2.0.tar.gz) = 17528 bytes