pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ocaml-hmap Created package devel/ocaml-hmap, ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/801b4b7e0113
branches:  trunk
changeset: 379084:801b4b7e0113
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Wed May 11 11:25:03 2022 +0000

description:
Created package devel/ocaml-hmap, version 0.8.1.

This is a heterogenous value map library for OCaml. It is needed as a
dependency for the new version of www/ocsigen.

diffstat:

 devel/ocaml-hmap/DESCR         |   4 ++++
 devel/ocaml-hmap/Makefile      |  21 +++++++++++++++++++++
 devel/ocaml-hmap/PLIST         |  14 ++++++++++++++
 devel/ocaml-hmap/buildlink3.mk |  14 ++++++++++++++
 devel/ocaml-hmap/distinfo      |   5 +++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r a608ac5e9034 -r 801b4b7e0113 devel/ocaml-hmap/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hmap/DESCR    Wed May 11 11:25:03 2022 +0000
@@ -0,0 +1,4 @@
+Hmap provides heterogeneous value maps for OCaml. These maps
+bind keys to values with arbitrary types. Keys witness the type of
+the value they are bound to which allows to add and lookup
+bindings in a type safe manner.
diff -r a608ac5e9034 -r 801b4b7e0113 devel/ocaml-hmap/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hmap/Makefile Wed May 11 11:25:03 2022 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2022/05/11 11:25:03 jaapb Exp $
+
+DISTNAME=      hmap-0.8.1
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  https://erratique.ch/software/hmap/releases/
+EXTRACT_SUFX=  .tbz
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://erratique.ch/software/hmap/
+COMMENT=       Heterogeneous value map library
+LICENSE=       isc
+
+USE_LANGUAGES= # none
+
+OCAML_USE_TOPKG=       yes
+OCAML_USE_OPAM=                yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a608ac5e9034 -r 801b4b7e0113 devel/ocaml-hmap/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hmap/PLIST    Wed May 11 11:25:03 2022 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/11 11:25:03 jaapb Exp $
+${OCAML_SITELIB}/hmap/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hmap/hmap.a
+${OCAML_SITELIB}/hmap/hmap.cma
+${OCAML_SITELIB}/hmap/hmap.cmi
+${OCAML_SITELIB}/hmap/hmap.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hmap/hmap.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hmap/hmap.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hmap/hmap.cmxs
+${OCAML_SITELIB}/hmap/hmap.mli
+${OCAML_SITELIB}/hmap/opam
+share/doc/hmap/CHANGES.md
+share/doc/hmap/LICENSE.md
+share/doc/hmap/README.md
diff -r a608ac5e9034 -r 801b4b7e0113 devel/ocaml-hmap/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hmap/buildlink3.mk    Wed May 11 11:25:03 2022 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/05/11 11:25:03 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-hmap
+
+.if !defined(OCAML_HMAP_BUILDLINK3_MK)
+OCAML_HMAP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-hmap+=     ocaml-hmap>=0.8.1
+BUILDLINK_ABI_DEPENDS.ocaml-hmap+=     ocaml-hmap>=0.8.1
+BUILDLINK_PKGSRCDIR.ocaml-hmap?=       ../../devel/ocaml-hmap
+
+.endif # OCAML_HMAP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-hmap
diff -r a608ac5e9034 -r 801b4b7e0113 devel/ocaml-hmap/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hmap/distinfo Wed May 11 11:25:03 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/11 11:25:03 jaapb Exp $
+
+BLAKE2s (hmap-0.8.1.tbz) = 4086b72c036ac79f2c93ab962ea2ab12d96776536f8aaa6c926838c5d2d80ced
+SHA512 (hmap-0.8.1.tbz) = 9c476d9cf4acc16332e646ed67086d680d14dad76b1e7d3bfbbe22ddb96c55469efba1e2f006f89ef4816b26b68a9aa8094308967bda44283ed4384554fa9bb5
+Size (hmap-0.8.1.tbz) = 4801 bytes



Home | Main Index | Thread Index | Old Index