converters/ocaml-jsonm: update the port to version 1.0.2

- Drop dependency on `uchar' and `bytes' compatibility modules
- Remove needless knobs and fix Makefile formatting while here

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev 2023-03-11 08:12:40 +00:00
parent 2a9782d33a
commit ea359fcd8a
3 changed files with 8 additions and 13 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= jsonm
PORTVERSION= 1.0.1
PORTREVISION= 1
PORTVERSION= 1.0.2
CATEGORIES= converters
MASTER_SITES= https://erratique.ch/software/jsonm/releases/
PKGNAMEPREFIX= ocaml-
@ -15,18 +14,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild \
opam-installer:devel/ocaml-opam \
${SA_DIR}/topkg/META:devel/ocaml-topkg \
${SA_DIR}/uchar/META:devel/ocaml-uchar \
${SA_DIR}/uutf/META:devel/ocaml-uutf
RUN_DEPENDS= ${SA_DIR}/uchar/META:devel/ocaml-uchar \
${SA_DIR}/uutf/META:devel/ocaml-uutf
RUN_DEPENDS= ${SA_DIR}/uutf/META:devel/ocaml-uutf
USES= tar:tbz
USE_OCAML= yes
USES= tar:tbz
USE_OCAML= yes
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
OPTIONS_DEFINE= DOCS
do-build:

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1632410748
SHA256 (jsonm-1.0.1.tbz) = 3c09562ed43b617d8b6d9522a249ff770228e7d6de9f9508b72e84d52b6be684
SIZE (jsonm-1.0.1.tbz) = 21608
TIMESTAMP = 1678200026
SHA256 (jsonm-1.0.2.tbz) = ea29239feb4053201df3e1e6d27c2ce123882ac4658e1c8bea9958be118a7bd6
SIZE (jsonm-1.0.2.tbz) = 22368

View file

@ -14,3 +14,4 @@ bin/jsontrip
%%PORTDOCS%%share/doc/ocaml/jsonm/README.md
%%PORTDOCS%%share/doc/ocaml/jsonm/examples.ml
%%PORTDOCS%%share/doc/ocaml/jsonm/jtree.ml
%%PORTDOCS%%share/doc/ocaml/jsonm/odoc-pages/index.mld