From nobody Sun May 26 22:39:32 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VnYcN64Zsz5LyQ3; Sun, 26 May 2024 22:39:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VnYcN5CpXz4Vff; Sun, 26 May 2024 22:39:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716763172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NCyuLKlgk8qHpFXUwTiBaFGo/1/GMALxN4CfuYepU5A=; b=AT4NBN1AjZ0s+Ib8vwxQMK8GVfkonbBEA4fNYD1RFOT+dhDBY7qVOApLh5sfyxAs6tpMfo FiezPeWHLHAopQlH1Y9HYkjmfeN3nd2iMZSGFWZjcKA91P/P7NywJ9IYRxjz5MRmrX4FRe iP+cpzclEXzVpQeHiASuahhh1A2U9kiEsVEVys+vYQLQhnJ7IA4flwEgqWrD3Yjtb7EKxj Fh1p3jYJMxDv4KZ+e6iW6zfSanz8qGOmO8EBIuhbB0PVB3vIdPfwb/G1pTilSXbGELOMje 9hatx5xb66MLx4ozE8Gj4BH8PRvjcWSlAL5mRzmUvJ5Haw20Oqu5wjVr5Yjslg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716763172; a=rsa-sha256; cv=none; b=tJxaVZU+oOjyIyVROxPcE76xOz6b9f5vHCN5NriVWviuhp3DWhALpNNg/a4hBkLUM9VDgE 76pDGmE61UF20vVz2x/3CBQwQsbESPEbkWUzHA4Af3Catf70XQouwarjQ5MAEM2gp8fHVi D7OG1qQho/EE2ChlFVIqHTn4p5wIw+Op+dv1QxheLFETnrRdnovKu+7Di/Q1Etqnz1pih8 RVcNOlTHMFu5JGmtAigz28xN497ZH7nL7oO3fHgD3AgSaWKDuV/UW/R0QFw3Qu88kB1OjH T4lNgSbilbEqt8/ODQym/d2Wi70cNdexDMGaRn2oy+acSJFPDjQ65RTe0lpnug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716763172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NCyuLKlgk8qHpFXUwTiBaFGo/1/GMALxN4CfuYepU5A=; b=bti0unlSYv2vg2DRDoQWygtFAJq9Yx3l3S93BXeH4sRT9Bluw6Y3IGqJkEFwjKuEAeUwlA RKvxDlNA68uSwJV0OGH/smvzHxSSX6RztFQDWquGb6wtmtyrCSwoxLkpULvaduJYIiiBMY djUAPXZEpRPGzVlQBjBjhhxxbjTfNLXsc1bVeBHeWxSC9rzpKrwOfZGnHUqoWjtmVAvFUb aJuJVU1+T0DhAbzjB7MHcWcLVz1ecbQsUDTZj722Z0ZXb/JbTzlhIvSSm+pwD5OHcmE+H8 pnANtN7PRufcRy+UnSE4yk95TPjaC6EiUgEVpiV1elen2dqSAtcPfj5ShMCpEA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VnYcN4qvkzK3p; Sun, 26 May 2024 22:39:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44QMdWO2084879; Sun, 26 May 2024 22:39:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44QMdWjP084876; Sun, 26 May 2024 22:39:32 GMT (envelope-from git) Date: Sun, 26 May 2024 22:39:32 GMT Message-Id: <202405262239.44QMdWjP084876@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: df31bca0e5bf - main - textproc/ocaml-yojson: New port: JSON library for OCaml List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: df31bca0e5bf063ed60335c7d9cd24736ead4e08 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=df31bca0e5bf063ed60335c7d9cd24736ead4e08 commit df31bca0e5bf063ed60335c7d9cd24736ead4e08 Author: Benjamin Jacobs AuthorDate: 2024-05-26 22:36:25 +0000 Commit: Yuri Victorovich CommitDate: 2024-05-26 22:38:30 +0000 textproc/ocaml-yojson: New port: JSON library for OCaml PR: 279334 --- textproc/Makefile | 1 + textproc/ocaml-yojson/Makefile | 35 +++++++++++++++++++++++++ textproc/ocaml-yojson/distinfo | 3 +++ textproc/ocaml-yojson/pkg-descr | 2 ++ textproc/ocaml-yojson/pkg-plist | 58 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 99 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 94339494944b..581a7e9a5149 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -522,6 +522,7 @@ SUBDIR += ocaml-csv SUBDIR += ocaml-expat SUBDIR += ocaml-text + SUBDIR += ocaml-yojson SUBDIR += odt2txt SUBDIR += openfts SUBDIR += openjade diff --git a/textproc/ocaml-yojson/Makefile b/textproc/ocaml-yojson/Makefile new file mode 100644 index 000000000000..b4a10470d145 --- /dev/null +++ b/textproc/ocaml-yojson/Makefile @@ -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 diff --git a/textproc/ocaml-yojson/distinfo b/textproc/ocaml-yojson/distinfo new file mode 100644 index 000000000000..34f832199784 --- /dev/null +++ b/textproc/ocaml-yojson/distinfo @@ -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 diff --git a/textproc/ocaml-yojson/pkg-descr b/textproc/ocaml-yojson/pkg-descr new file mode 100644 index 000000000000..46a6b6f58700 --- /dev/null +++ b/textproc/ocaml-yojson/pkg-descr @@ -0,0 +1,2 @@ +The Yojson library provides several types for working with the +JavaScript Object Notation with Objective-Caml. diff --git a/textproc/ocaml-yojson/pkg-plist b/textproc/ocaml-yojson/pkg-plist new file mode 100644 index 000000000000..48cc9961154b --- /dev/null +++ b/textproc/ocaml-yojson/pkg-plist @@ -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