pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-hxd Added devel/ocaml-hxd, a hex dump libr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af568b3860be
branches:  trunk
changeset: 380952:af568b3860be
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Jun 20 08:16:58 2022 +0000

description:
Added devel/ocaml-hxd, a hex dump library for OCaml.

Needed as a (transitive) dependency for the update of ocaml-git.

diffstat:

 devel/ocaml-hxd/DESCR         |   3 +
 devel/ocaml-hxd/Makefile      |  26 ++++++++++++++++
 devel/ocaml-hxd/PLIST         |  69 +++++++++++++++++++++++++++++++++++++++++++
 devel/ocaml-hxd/buildlink3.mk |  13 ++++++++
 devel/ocaml-hxd/distinfo      |   5 +++
 5 files changed, 116 insertions(+), 0 deletions(-)

diffs (136 lines):

diff -r d877dbab9c40 -r af568b3860be devel/ocaml-hxd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hxd/DESCR     Mon Jun 20 08:16:58 2022 +0000
@@ -0,0 +1,3 @@
+`hxd` is a little program to output a hexdump of a stdin or a binary file.
+The main difference with `xxd` is to color outputs to be more fancy to read.
+Then, it provides a way to generate a Caml code which is a dump of inputs.
diff -r d877dbab9c40 -r af568b3860be devel/ocaml-hxd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hxd/Makefile  Mon Jun 20 08:16:58 2022 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2022/06/20 08:16:58 jaapb Exp $
+
+PKGNAME=       ocaml-${DISTNAME}
+DISTNAME=      ${GITHUB_PROJECT}-0.3.2
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=dinosaure/}
+GITHUB_PROJECT=        hxd
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/dinosaure/hxd/
+COMMENT=       Hexdump in OCaml
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE=        yes
+
+DUNE_BUILD_PACKAGES=   hxd
+OPAM_INSTALL_FILES=    ${DUNE_BUILD_PACKAGES}
+OCAML_FINDLIB_DIRS=    ${DUNE_BUILD_PACKAGES}
+
+.include "../../lang/ocaml/ocaml.mk"
+.include "../../devel/ocaml-cmdliner/buildlink3.mk"
+.include "../../devel/ocaml-dune-configurator/buildlink3.mk"
+.include "../../devel/ocaml-lwt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d877dbab9c40 -r af568b3860be devel/ocaml-hxd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hxd/PLIST     Mon Jun 20 08:16:58 2022 +0000
@@ -0,0 +1,69 @@
+@comment $NetBSD: PLIST,v 1.1 2022/06/20 08:16:58 jaapb Exp $
+bin/hxd.caml
+bin/hxd.xxd
+${OCAML_SITELIB}/hxd/META
+${OCAML_SITELIB}/hxd/core/fmt.ml
+${OCAML_SITELIB}/hxd/core/fmt_meta.ml
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/core/hxd.a
+${OCAML_SITELIB}/hxd/core/hxd.cma
+${OCAML_SITELIB}/hxd/core/hxd.cmi
+${OCAML_SITELIB}/hxd/core/hxd.cmt
+${OCAML_SITELIB}/hxd/core/hxd.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/core/hxd.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/core/hxd.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/core/hxd.cmxs
+${OCAML_SITELIB}/hxd/core/hxd.ml
+${OCAML_SITELIB}/hxd/core/hxd.mli
+${OCAML_SITELIB}/hxd/core/hxd__.cmi
+${OCAML_SITELIB}/hxd/core/hxd__.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/core/hxd__.cmx
+${OCAML_SITELIB}/hxd/core/hxd__.ml
+${OCAML_SITELIB}/hxd/core/hxd__Fmt.cmi
+${OCAML_SITELIB}/hxd/core/hxd__Fmt.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/core/hxd__Fmt.cmx
+${OCAML_SITELIB}/hxd/core/hxd__Fmt_meta.cmi
+${OCAML_SITELIB}/hxd/core/hxd__Fmt_meta.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/core/hxd__Fmt_meta.cmx
+${OCAML_SITELIB}/hxd/core/hxd__O.cmi
+${OCAML_SITELIB}/hxd/core/hxd__O.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/core/hxd__O.cmx
+${OCAML_SITELIB}/hxd/core/hxd__S.cmi
+${OCAML_SITELIB}/hxd/core/hxd__S.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/core/hxd__S.cmx
+${OCAML_SITELIB}/hxd/core/o.ml
+${OCAML_SITELIB}/hxd/core/s.ml
+${OCAML_SITELIB}/hxd/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/lwt/hxd_lwt.a
+${OCAML_SITELIB}/hxd/lwt/hxd_lwt.cma
+${OCAML_SITELIB}/hxd/lwt/hxd_lwt.cmi
+${OCAML_SITELIB}/hxd/lwt/hxd_lwt.cmt
+${OCAML_SITELIB}/hxd/lwt/hxd_lwt.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/lwt/hxd_lwt.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/lwt/hxd_lwt.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/lwt/hxd_lwt.cmxs
+${OCAML_SITELIB}/hxd/lwt/hxd_lwt.ml
+${OCAML_SITELIB}/hxd/lwt/hxd_lwt.mli
+${OCAML_SITELIB}/hxd/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/string/hxd_string.a
+${OCAML_SITELIB}/hxd/string/hxd_string.cma
+${OCAML_SITELIB}/hxd/string/hxd_string.cmi
+${OCAML_SITELIB}/hxd/string/hxd_string.cmt
+${OCAML_SITELIB}/hxd/string/hxd_string.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/string/hxd_string.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/string/hxd_string.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/string/hxd_string.cmxs
+${OCAML_SITELIB}/hxd/string/hxd_string.ml
+${OCAML_SITELIB}/hxd/string/hxd_string.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/unix/hxd_unix.a
+${OCAML_SITELIB}/hxd/unix/hxd_unix.cma
+${OCAML_SITELIB}/hxd/unix/hxd_unix.cmi
+${OCAML_SITELIB}/hxd/unix/hxd_unix.cmt
+${OCAML_SITELIB}/hxd/unix/hxd_unix.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/unix/hxd_unix.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/unix/hxd_unix.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/hxd/unix/hxd_unix.cmxs
+${OCAML_SITELIB}/hxd/unix/hxd_unix.ml
+${OCAML_SITELIB}/hxd/unix/hxd_unix.mli
+share/doc/hxd/CHANGES.md
+share/doc/hxd/LICENSE.md
+share/doc/hxd/README.md
diff -r d877dbab9c40 -r af568b3860be devel/ocaml-hxd/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hxd/buildlink3.mk     Mon Jun 20 08:16:58 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/06/20 08:16:58 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-hxd
+
+.if !defined(OCAML_HXD_BUILDLINK3_MK)
+OCAML_HXD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-hxd+=      ocaml-hxd>=0.3.2
+BUILDLINK_PKGSRCDIR.ocaml-hxd?=                ../../devel/ocaml-hxd
+
+.endif # OCAML_HXD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-hxd
diff -r d877dbab9c40 -r af568b3860be devel/ocaml-hxd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-hxd/distinfo  Mon Jun 20 08:16:58 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/06/20 08:16:58 jaapb Exp $
+
+BLAKE2s (hxd-0.3.2.tar.gz) = 6e5454a57ce8674db0fb1575e634a957083bb2686326c42ff1327ebc87acfe97
+SHA512 (hxd-0.3.2.tar.gz) = d3f47fbb18ebc201eefa663825949eaff11534aefb35bcff9ec0683b14a21c595a3d409fcc5111f5cbab2fac361f7f206ec1d8ad978978ed62c7828835f44b9d
+Size (hxd-0.3.2.tar.gz) = 38629 bytes



Home | Main Index | Thread Index | Old Index