summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2019-03-19 12:56:46 +0000
committerjaapb <jaapb@pkgsrc.org>2019-03-19 12:56:46 +0000
commitea2409ec0a3a99800fbbe619e22c38b583b883a3 (patch)
tree095834ac651238b2eb6031fd7746b226dcf02160 /devel
parent661abc889fbe1f4ed9d4059bdecc552a35c532ed (diff)
downloadpkgsrc-ea2409ec0a3a99800fbbe619e22c38b583b883a3.tar.gz
Added devel/ocaml-hex, simple hexadecimal converters for OCaml
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-hex/DESCR1
-rw-r--r--devel/ocaml-hex/Makefile20
-rw-r--r--devel/ocaml-hex/PLIST17
-rw-r--r--devel/ocaml-hex/buildlink3.mk13
-rw-r--r--devel/ocaml-hex/distinfo6
5 files changed, 57 insertions, 0 deletions
diff --git a/devel/ocaml-hex/DESCR b/devel/ocaml-hex/DESCR
new file mode 100644
index 00000000000..8d4b96ac4ad
--- /dev/null
+++ b/devel/ocaml-hex/DESCR
@@ -0,0 +1 @@
+A minimal library providing hexadecimal converters.
diff --git a/devel/ocaml-hex/Makefile b/devel/ocaml-hex/Makefile
new file mode 100644
index 00000000000..007cd611585
--- /dev/null
+++ b/devel/ocaml-hex/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2019/03/19 12:56:46 jaapb Exp $
+
+GITHUB_PROJECT= ocaml-hex
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= ${GITHUB_PROJECT}-1.3.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/}
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= https://github.com/mirage/ocaml-hex/
+COMMENT= Hexadecimal converter for OCaml
+LICENSE= isc
+
+USE_LANGUAGES= # none
+
+OCAML_USE_DUNE= yes
+
+.include "../../devel/ocaml-cstruct/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-hex/PLIST b/devel/ocaml-hex/PLIST
new file mode 100644
index 00000000000..dd4e2f8ad42
--- /dev/null
+++ b/devel/ocaml-hex/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/19 12:56:46 jaapb Exp $
+${OCAML_SITELIB}/hex/META
+${OCAML_SITELIB}/hex/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hex/hex.a
+${OCAML_SITELIB}/hex/hex.cma
+${OCAML_SITELIB}/hex/hex.cmi
+${OCAML_SITELIB}/hex/hex.cmt
+${OCAML_SITELIB}/hex/hex.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hex/hex.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hex/hex.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hex/hex.cmxs
+${OCAML_SITELIB}/hex/hex.ml
+${OCAML_SITELIB}/hex/hex.mli
+${OCAML_SITELIB}/hex/opam
+share/doc/hex/CHANGES.md
+share/doc/hex/LICENSE.md
+share/doc/hex/README.md
diff --git a/devel/ocaml-hex/buildlink3.mk b/devel/ocaml-hex/buildlink3.mk
new file mode 100644
index 00000000000..aba0d9aeb27
--- /dev/null
+++ b/devel/ocaml-hex/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/19 12:56:46 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-hex
+
+.if !defined(OCAML_HEX_BUILDLINK3_MK)
+OCAML_HEX_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-hex+= ocaml-hex>=1.3.0
+BUILDLINK_PKGSRCDIR.ocaml-hex?= ../../devel/ocaml-hex
+
+.endif # OCAML_HEX_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-hex
diff --git a/devel/ocaml-hex/distinfo b/devel/ocaml-hex/distinfo
new file mode 100644
index 00000000000..d380a3dd103
--- /dev/null
+++ b/devel/ocaml-hex/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/19 12:56:46 jaapb Exp $
+
+SHA1 (ocaml-hex-1.3.0.tar.gz) = 71a18edeaff6f47d21a72dc1f8c8a2677a61044d
+RMD160 (ocaml-hex-1.3.0.tar.gz) = 5ab1f0e5d9b740c097c99ac796b307e258934856
+SHA512 (ocaml-hex-1.3.0.tar.gz) = dce12f2c58a61708c4d33a53643c49f36eb55d45866bb4714eb1446c56daa4b4e21fef66b2a32e763e9e1a469f0d0b55d47ed2142882b9389d8edfcc2ea9a64c
+Size (ocaml-hex-1.3.0.tar.gz) = 6688 bytes