Added devel/ocaml-fmt, an OCaml pretty-printing library.

This commit is contained in:
jaapb 2019-03-12 17:41:27 +00:00
parent f0f5f91def
commit 3251bff244
5 changed files with 83 additions and 0 deletions

5
devel/ocaml-fmt/DESCR Normal file
View file

@ -0,0 +1,5 @@
Fmt exposes combinators to devise OCaml Format pretty-printing functions.
The optional Fmt_tty library allows to setup formatters for terminal color
output.
The optional Fmt_cli library provides command line support for Fmt.

23
devel/ocaml-fmt/Makefile Normal file
View file

@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.1 2019/03/12 17:41:27 jaapb Exp $
DISTNAME= fmt-0.8.5
PKGNAME= ocaml-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= https://erratique.ch/software/fmt/releases/
EXTRACT_SUFX= .tbz
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://erratique.ch/software/fmt/
COMMENT= OCaml combinators for pretty-printing functions
LICENSE= isc
USE_LANGUAGES= # none
OCAML_USE_TOPKG= yes
OCAML_USE_OPAM= yes
.include "../../devel/ocaml-cmdliner/buildlink3.mk"
.include "../../devel/ocaml-result/buildlink3.mk"
.include "../../textproc/ocaml-uchar/buildlink3.mk"
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"

36
devel/ocaml-fmt/PLIST Normal file
View file

@ -0,0 +1,36 @@
@comment $NetBSD: PLIST,v 1.1 2019/03/12 17:41:27 jaapb Exp $
${OCAML_SITELIB}/fmt/META
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt.a
${OCAML_SITELIB}/fmt/fmt.cma
${OCAML_SITELIB}/fmt/fmt.cmi
${OCAML_SITELIB}/fmt/fmt.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt.cmxs
${OCAML_SITELIB}/fmt/fmt.mli
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_cli.a
${OCAML_SITELIB}/fmt/fmt_cli.cma
${OCAML_SITELIB}/fmt/fmt_cli.cmi
${OCAML_SITELIB}/fmt/fmt_cli.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_cli.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_cli.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_cli.cmxs
${OCAML_SITELIB}/fmt/fmt_cli.mli
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_top.a
${OCAML_SITELIB}/fmt/fmt_top.cma
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_top.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_top.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_top.cmxs
${OCAML_SITELIB}/fmt/fmt_top_init.ml
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_tty.a
${OCAML_SITELIB}/fmt/fmt_tty.cma
${OCAML_SITELIB}/fmt/fmt_tty.cmi
${OCAML_SITELIB}/fmt/fmt_tty.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_tty.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_tty.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/fmt/fmt_tty.cmxs
${OCAML_SITELIB}/fmt/fmt_tty.mli
${OCAML_SITELIB}/fmt/opam
share/doc/fmt/CHANGES.md
share/doc/fmt/LICENSE.md
share/doc/fmt/README.md

View file

@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.1 2019/03/12 17:41:27 jaapb Exp $
BUILDLINK_TREE+= ocaml-fmt
.if !defined(OCAML_FMT_BUILDLINK3_MK)
OCAML_FMT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-fmt+= ocaml-fmt>=0.8.5
BUILDLINK_PKGSRCDIR.ocaml-fmt?= ../../devel/ocaml-fmt
.endif # OCAML_FMT_BUILDLINK3_MK
BUILDLINK_TREE+= -ocaml-fmt

6
devel/ocaml-fmt/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2019/03/12 17:41:27 jaapb Exp $
SHA1 (fmt-0.8.5.tbz) = 6e1be70f369a544f9d07ef3ba0c41c290a390aa7
RMD160 (fmt-0.8.5.tbz) = 258d9ad924a7f3707df6e143e93ebbaadf77160d
SHA512 (fmt-0.8.5.tbz) = 3ec8991ac008b0b8a942b4aec7a24d7a9cb047b68c81b2abe6e3074bf6f54c4e30a7cf6707c93edbd516ed5ef05de1adf1a879267f1cac4ccbc441de78b1d37c
Size (fmt-0.8.5.tbz) = 14348 bytes