Added package devel/ocaml-stdio, an IO library for OCaml. Prerequisite for

an update of devel/ocaml-ppx_core.
This commit is contained in:
jaapb 2017-07-21 10:36:03 +00:00
parent cfe264119b
commit eb4849b846
5 changed files with 74 additions and 0 deletions

2
devel/ocaml-stdio/DESCR Normal file
View file

@ -0,0 +1,2 @@
Stdio provides input/output functions for OCaml. It re-exports the buffered
channels of the stdlib distributed with OCaml but with some improvements.

View file

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1 2017/07/21 10:36:03 jaapb Exp $
VERSION= 0.9.0
GITHUB_PROJECT= stdio
GITHUB_TAG= v${VERSION}
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
PKGNAME= ocaml-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/janestreet/stdio/
COMMENT= Standard IO library for OCaml
LICENSE= apache-2.0
USE_LANGUAGES= # none
OCAML_USE_FINDLIB= yes
OCAML_USE_JBUILDER= yes
.include "../../mk/ocaml.mk"
.include "../../devel/ocaml-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

32
devel/ocaml-stdio/PLIST Normal file
View file

@ -0,0 +1,32 @@
@comment $NetBSD: PLIST,v 1.1 2017/07/21 10:36:03 jaapb Exp $
${OCAML_SITELIB}/stdio/META
${OCAML_SITELIB}/stdio/import.ml
${OCAML_SITELIB}/stdio/in_channel.mli
${OCAML_SITELIB}/stdio/opam
${OCAML_SITELIB}/stdio/out_channel.mli
${PLIST.ocaml-opt}${OCAML_SITELIB}/stdio/stdio.a
${OCAML_SITELIB}/stdio/stdio.cma
${OCAML_SITELIB}/stdio/stdio.cmi
${OCAML_SITELIB}/stdio/stdio.cmt
${OCAML_SITELIB}/stdio/stdio.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/stdio/stdio.cmx
${PLIST.ocaml-opt}${OCAML_SITELIB}/stdio/stdio.cmxa
${PLIST.ocaml-opt}${OCAML_SITELIB}/stdio/stdio.cmxs
${OCAML_SITELIB}/stdio/stdio.mli
${OCAML_SITELIB}/stdio/stdio__.cmi
${OCAML_SITELIB}/stdio/stdio__.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/stdio/stdio__.cmx
${OCAML_SITELIB}/stdio/stdio__.ml-gen
${OCAML_SITELIB}/stdio/stdio__Import.cmi
${OCAML_SITELIB}/stdio/stdio__Import.cmt
${PLIST.ocaml-opt}${OCAML_SITELIB}/stdio/stdio__Import.cmx
${OCAML_SITELIB}/stdio/stdio__In_channel.cmi
${OCAML_SITELIB}/stdio/stdio__In_channel.cmt
${OCAML_SITELIB}/stdio/stdio__In_channel.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/stdio/stdio__In_channel.cmx
${OCAML_SITELIB}/stdio/stdio__Out_channel.cmi
${OCAML_SITELIB}/stdio/stdio__Out_channel.cmt
${OCAML_SITELIB}/stdio/stdio__Out_channel.cmti
${PLIST.ocaml-opt}${OCAML_SITELIB}/stdio/stdio__Out_channel.cmx
share/doc/stdio/LICENSE.txt
share/doc/stdio/README.org

View file

@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1 2017/07/21 10:36:03 jaapb Exp $
BUILDLINK_TREE+= ocaml-stdio
.if !defined(OCAML_STDIO_BUILDLINK3_MK)
OCAML_STDIO_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-stdio+= ocaml-stdio>=0.9.0
BUILDLINK_PKGSRCDIR.ocaml-stdio?= ../../devel/ocaml-stdio
.endif # OCAML_STDIO_BUILDLINK3_MK
BUILDLINK_TREE+= -ocaml-stdio

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2017/07/21 10:36:03 jaapb Exp $
SHA1 (stdio-0.9.0.tar.gz) = c4799b9706172bfaa2ea79c1c3c279151b3f9f0c
RMD160 (stdio-0.9.0.tar.gz) = c5bde039048d4375dd5437a625ebb02e6ece732e
SHA512 (stdio-0.9.0.tar.gz) = a3809272c00653872d02b07b6c133215e06a70a7cbebed8c6c22ba5790ee8cbba17821da7875290c8869dfac22bf3cf248028e2aed2570195ca9b5f63b6ab75d
Size (stdio-0.9.0.tar.gz) = 9264 bytes