git: 8038b6c1a6c9 - main - devel/ocaml-sexplib0: Update to 0.17.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Oct 2024 11:19:25 UTC
The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=8038b6c1a6c91bd3e967bb51e7b85804a0e8a19a commit 8038b6c1a6c91bd3e967bb51e7b85804a0e8a19a Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2024-10-15 11:17:11 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> CommitDate: 2024-10-15 11:17:11 +0000 devel/ocaml-sexplib0: Update to 0.17.0 Assign maintainership to submitter PR: 282086 --- devel/ocaml-sexplib0/Makefile | 33 +++++++----------------- devel/ocaml-sexplib0/distinfo | 6 ++--- devel/ocaml-sexplib0/pkg-plist | 57 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 27 deletions(-) diff --git a/devel/ocaml-sexplib0/Makefile b/devel/ocaml-sexplib0/Makefile index 9517c7248a43..9053007fd7c7 100644 --- a/devel/ocaml-sexplib0/Makefile +++ b/devel/ocaml-sexplib0/Makefile @@ -1,29 +1,18 @@ PORTNAME= sexplib0 DISTVERSIONPREFIX= v -DISTVERSION= 0.16.0 -PORTREVISION= 1 +DISTVERSION= 0.17.0 CATEGORIES= devel PKGNAMEPREFIX= ocaml- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= freebsd@dev.thsi.be COMMENT= OCaml library for working with S-expressions WWW= https://janestreet.github.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -BUILD_DEPENDS= dune:devel/ocaml-dune \ - ocaml-type_conv>=0:devel/ocaml-type_conv \ - ${LOCALBASE}/${OCAML_SITELIBDIR}/num/META:math/ocaml-num -RUN_DEPENDS= ocaml-type_conv>=0:devel/ocaml-type_conv - -USES= gmake -ALL_TARGET= default +USES= ocaml:dune USE_OCAML= yes -USE_OCAML_FINDLIB= yes -USE_OCAML_CAMLP4= yes -USE_OCAMLFIND_PLIST= yes -CONFIGURE_ARGS= --disable-docs --prefix ${PREFIX} USE_GITHUB= yes GH_ACCOUNT= janestreet @@ -31,18 +20,14 @@ GH_ACCOUNT= janestreet OPTIONS_DEFINE= DOCS DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} -OCAML_PKGDIRS= ${PORTNAME} ${PORTNAME}_num ${PORTNAME}_unix -PORTDOCS= * +PORTDOCS= CHANGES.md LICENSE.md README.md -do-install: - cd ${INSTALL_WRKSRC} && dune install --destdir=${STAGEDIR} \ - --prefix=${PREFIX} --libdir=${PREFIX}/${OCAML_SITELIBDIR} +post-patch: + @${REINPLACE_CMD} \ + -e "s/(lang dune 3.11)/(lang dune 3.7)/" \ + ${WRKSRC}/dune-project post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/sexplib*/*.cmxs - -#post-install-DOCS-on: -# ${MKDIR} ${STAGEDIR}${DOCSDIR}/ -# cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.md README.md ${STAGEDIR}${DOCSDIR}/ + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs .include <bsd.port.mk> diff --git a/devel/ocaml-sexplib0/distinfo b/devel/ocaml-sexplib0/distinfo index f0c29bf06cc6..bbac5b659d1a 100644 --- a/devel/ocaml-sexplib0/distinfo +++ b/devel/ocaml-sexplib0/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1684854162 -SHA256 (janestreet-sexplib0-v0.16.0_GH0.tar.gz) = 73002106488074187a174992da6e76f36f543e6daa80dbf6039a3e10e46adc80 -SIZE (janestreet-sexplib0-v0.16.0_GH0.tar.gz) = 22171 +TIMESTAMP = 1717249856 +SHA256 (janestreet-sexplib0-v0.17.0_GH0.tar.gz) = 5b0910b5dab8ec63633be5dbf92a3e4863d415d803cad9dddf99dba43ce7498b +SIZE (janestreet-sexplib0-v0.17.0_GH0.tar.gz) = 23052 diff --git a/devel/ocaml-sexplib0/pkg-plist b/devel/ocaml-sexplib0/pkg-plist new file mode 100644 index 000000000000..25bf5a7b86c7 --- /dev/null +++ b/devel/ocaml-sexplib0/pkg-plist @@ -0,0 +1,57 @@ +%%OCAML_SITELIBDIR%%/sexplib0/META +%%OCAML_SITELIBDIR%%/sexplib0/dune-package +%%OCAML_SITELIBDIR%%/sexplib0/opam +%%OCAML_SITELIBDIR%%/sexplib0/sexp.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexp.mli +%%OCAML_SITELIBDIR%%/sexplib0/sexp_conv.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexp_conv.mli +%%OCAML_SITELIBDIR%%/sexplib0/sexp_conv_error.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexp_conv_grammar.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexp_conv_grammar.mli +%%OCAML_SITELIBDIR%%/sexplib0/sexp_conv_labeled_tuple.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexp_conv_labeled_tuple.mli +%%OCAML_SITELIBDIR%%/sexplib0/sexp_conv_record.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexp_conv_record.mli +%%OCAML_SITELIBDIR%%/sexplib0/sexp_grammar.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexpable.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0.a +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0.cma +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0.cmx +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0.cmxa +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0.cmxs +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__.cmx +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__.ml +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp.cmti +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp.cmx +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv.cmti +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv.cmx +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_error.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_error.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_error.cmx +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_grammar.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_grammar.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_grammar.cmti +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_grammar.cmx +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_labeled_tuple.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_labeled_tuple.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_labeled_tuple.cmti +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_labeled_tuple.cmx +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_record.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_record.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_record.cmti +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_conv_record.cmx +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_grammar.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_grammar.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexp_grammar.cmx +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexpable.cmi +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexpable.cmt +%%OCAML_SITELIBDIR%%/sexplib0/sexplib0__Sexpable.cmx