mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
textproc/ocaml-yojson: New port: JSON library for OCaml
PR: 279334
This commit is contained in:
parent
219301897a
commit
df31bca0e5
@ -522,6 +522,7 @@
|
||||
SUBDIR += ocaml-csv
|
||||
SUBDIR += ocaml-expat
|
||||
SUBDIR += ocaml-text
|
||||
SUBDIR += ocaml-yojson
|
||||
SUBDIR += odt2txt
|
||||
SUBDIR += openfts
|
||||
SUBDIR += openjade
|
||||
|
35
textproc/ocaml-yojson/Makefile
Normal file
35
textproc/ocaml-yojson/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
PORTNAME= yojson
|
||||
PORTVERSION= 2.1.2
|
||||
CATEGORIES= textproc
|
||||
PKGNAMEPREFIX= ocaml-
|
||||
|
||||
MAINTAINER= freebsd@dev.thsi.be
|
||||
COMMENT= JSON library for OCaml
|
||||
WWW= https://github.com/ocaml-community/yojson
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
BUILD_DEPENDS= cppo:devel/ocaml-cppo \
|
||||
${SA_DIR}/seq/META:devel/ocaml-seq
|
||||
RUN_DEPENDS= ${SA_DIR}/seq/META:devel/ocaml-seq
|
||||
|
||||
USES= ocaml:dune
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ocaml-community
|
||||
USE_OCAML= yes
|
||||
DUNE_INSTALL_TARGETS= ${OCAML_PACKAGES}
|
||||
|
||||
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
||||
PORTDOCS= CHANGES.md LICENSE.md README.md odoc-pages/index.mld
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} \
|
||||
${STAGEDIR}${PREFIX}/bin/ydump \
|
||||
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/ocaml-yojson/distinfo
Normal file
3
textproc/ocaml-yojson/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1716287417
|
||||
SHA256 (ocaml-community-yojson-2.1.2_GH0.tar.gz) = fd84f8a6cf5bdae6c6b235be8d40d1788c1427291e02bf0e6a4d5cfad7f881bf
|
||||
SIZE (ocaml-community-yojson-2.1.2_GH0.tar.gz) = 49324
|
2
textproc/ocaml-yojson/pkg-descr
Normal file
2
textproc/ocaml-yojson/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
The Yojson library provides several types for working with the
|
||||
JavaScript Object Notation with Objective-Caml.
|
58
textproc/ocaml-yojson/pkg-plist
Normal file
58
textproc/ocaml-yojson/pkg-plist
Normal file
@ -0,0 +1,58 @@
|
||||
bin/ydump
|
||||
%%OCAML_SITELIBDIR%%/yojson/META
|
||||
%%OCAML_SITELIBDIR%%/yojson/basic.ml
|
||||
%%OCAML_SITELIBDIR%%/yojson/basic.mli
|
||||
%%OCAML_SITELIBDIR%%/yojson/codec.ml
|
||||
%%OCAML_SITELIBDIR%%/yojson/codec.mli
|
||||
%%OCAML_SITELIBDIR%%/yojson/common.ml
|
||||
%%OCAML_SITELIBDIR%%/yojson/common.mli
|
||||
%%OCAML_SITELIBDIR%%/yojson/dune-package
|
||||
%%OCAML_SITELIBDIR%%/yojson/lexer_utils.ml
|
||||
%%OCAML_SITELIBDIR%%/yojson/opam
|
||||
%%OCAML_SITELIBDIR%%/yojson/raw.ml
|
||||
%%OCAML_SITELIBDIR%%/yojson/raw.mli
|
||||
%%OCAML_SITELIBDIR%%/yojson/safe.ml
|
||||
%%OCAML_SITELIBDIR%%/yojson/safe.mli
|
||||
%%OCAML_SITELIBDIR%%/yojson/t.ml
|
||||
%%OCAML_SITELIBDIR%%/yojson/t.mli
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.a
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.cma
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.cmi
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.cmt
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.cmti
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.cmx
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.cmxa
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.cmxs
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.ml
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson.mli
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__.cmi
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__.cmt
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__.cmx
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__.ml
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Basic.cmi
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Basic.cmt
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Basic.cmti
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Basic.cmx
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Codec.cmi
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Codec.cmt
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Codec.cmti
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Codec.cmx
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Common.cmi
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Common.cmt
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Common.cmti
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Common.cmx
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Lexer_utils.cmi
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Lexer_utils.cmt
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Lexer_utils.cmx
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Raw.cmi
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Raw.cmt
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Raw.cmti
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Raw.cmx
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Safe.cmi
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Safe.cmt
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Safe.cmti
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__Safe.cmx
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__T.cmi
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__T.cmt
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__T.cmti
|
||||
%%OCAML_SITELIBDIR%%/yojson/yojson__T.cmx
|
Loading…
Reference in New Issue
Block a user