From nobody Wed Jan 3 12:59:29 2024 X-Original-To: dev-commits-ports-all@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 4T4qYZ3Rgsz55pcY; Wed, 3 Jan 2024 12:59:30 +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 4T4qYZ1TfTz4Dcy; Wed, 3 Jan 2024 12:59:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704286770; 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=MyryGLPolv6RtyrjF+R4pwYBGQOrwkisQMYCWjnkJ0w=; b=yYS3lqBQXcHvB3nnIDxN5A3s+bPJCxcXiNoDVjSG690i1X43KoyPLmdrGCKEjpbzJFE7Kp 1KXeU0QT3FWT3LzUrIQdKL1Zto08EZYAXQ7ewyc0gQB/LQFLogqHSRONMeMNzGWk6ZKVMg +YRORw/E3UhwooCpkRplS7mt2Pw8gqzxBvM8GmS97IPsl4QU4tbRLpFdcSeY3QCm3exLDD H4N5JRUBX4YfslCHN7zzPWoEFj7CuY4GgVia1egHJ2CyueTkLw9+/xRCEiLElq9ooij9eQ kcFNd/d95PA8iELhKUVuXI9OUtD1zq1apyJ0ERhImBGvftuR1eSS26+3MJ5zUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704286770; 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=MyryGLPolv6RtyrjF+R4pwYBGQOrwkisQMYCWjnkJ0w=; b=Zr8NT4RGnygiibQ0p0R5pypSM91jcXWU8Ad1obdNevOLUC1enF7y1zmY51mDs+DDBAdIKP LmEuLd8VQk8Gx6MG4T1ga+DvIn+TMlQEJ6n9RvZv8b48vbxNNTd1ho9zs19ZrbMgHe/CW8 ZgyTetDrN9B++9i86WWa7+Dg+CfIt0fHlZE8IAxmkq+A0ShNhZqJE1S57Lceb4BgnuVzzL uAG59oRmYtTiFmnJXRaUwenL9NPw65Fu7SdjirgaP3gD1bA/+eu3e40U92692LDQg2VmVW PCqfiwouRZEs1s+iUWuCX2r1/Q8dwb+p/nkHUPOrOVKWpMKyxOxWwCIgJwsj1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704286770; a=rsa-sha256; cv=none; b=VK/eQK1bijHair/5Cr2//hIPDKAsQsYUj4LtItcBvoj2001cCNmdBqKaloZQlSui2aE30X jICuT7z56pG6yziFVVi44GMg9iJkKH/gcRDhUICnnjk4ndzjdlB+mIagj7mz4SrWSaUPA3 gvIX8nNB8/Cf4bwqZEZZBh1lkLzdrDk6ilkLtfjntTogFwvQiSD9zUENEpDI0ZA0UwYNSM xL74ey7DxqXfcsAaHONaQX4Wm/JPdGgm8PJ47S/HL72HMRD0N/lZVsXA/w4hMLdGKRpb8o ZrsU8UOhh/fDb2KahMBHNveoSfyfutiQo3J7NiSYG1oQtyMHDIYcJoF1kw35XQ== 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 4T4qYZ0LJNzlXh; Wed, 3 Jan 2024 12:59:30 +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 403CxTwX046794; Wed, 3 Jan 2024 12:59:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 403CxTSg046791; Wed, 3 Jan 2024 12:59:29 GMT (envelope-from git) Date: Wed, 3 Jan 2024 12:59:29 GMT Message-Id: <202401031259.403CxTSg046791@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 164e36910286 - main - devel/tomlplusplus: add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 164e369102861ba4d2d6b5be8589a296c0673449 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=164e369102861ba4d2d6b5be8589a296c0673449 commit 164e369102861ba4d2d6b5be8589a296c0673449 Author: Jan Beich AuthorDate: 2023-10-13 13:39:42 +0000 Commit: Jan Beich CommitDate: 2024-01-03 12:58:12 +0000 devel/tomlplusplus: add new port TOML config parser and serializer for C++ Features: - Header-only (optional!) - Supports the latest TOML release v1.0.0, plus optional support for some unreleased TOML features - Passes all tests in the toml-test suite - Supports serializing to JSON and YAML - Proper UTF-8 handling (incl. BOM) - C++17 (plus some C++20 features where available, e.g. experimental support for char8_t strings) - Doesn't require RTTI - Works with or without exceptions https://marzer.github.io/tomlplusplus/ --- devel/Makefile | 1 + devel/tomlplusplus/Makefile | 33 +++++++++++++++++++++++++ devel/tomlplusplus/distinfo | 3 +++ devel/tomlplusplus/pkg-descr | 12 ++++++++++ devel/tomlplusplus/pkg-plist | 57 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 106 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 11da06554d54..e3705ef46ff8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7794,6 +7794,7 @@ SUBDIR += tokei SUBDIR += tokio-console SUBDIR += toml11 + SUBDIR += tomlplusplus SUBDIR += tortoisehg SUBDIR += tpasm SUBDIR += tradcpp diff --git a/devel/tomlplusplus/Makefile b/devel/tomlplusplus/Makefile new file mode 100644 index 000000000000..b9c79dfd0b03 --- /dev/null +++ b/devel/tomlplusplus/Makefile @@ -0,0 +1,33 @@ +PORTNAME= tomlplusplus +DISTVERSIONPREFIX= v +DISTVERSION= 3.4.0 +CATEGORIES= devel + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= TOML config parser and serializer for C++ +WWW= https://marzer.github.io/tomlplusplus/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= cmake:devel/cmake-core +TEST_DEPENDS= catch>0:devel/catch + +USES= compiler:c++17-lang meson pkgconfig +USE_GITHUB= yes +USE_LDCONFIG= yes +GH_ACCOUNT= marzer +MESON_ARGS= -Duse_vendored_libs=false + +post-patch: +# Convert codeset from GNU to IANA + @${REINPLACE_CMD} 's/utf8/UTF-8/' ${WRKSRC}/tests/meson.build + +pre-test: + @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ + ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ + ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dbuild_tests=true"; \ + ${TOUCH} ${WRKDIR}/.meson_build_tests; \ + fi + +.include diff --git a/devel/tomlplusplus/distinfo b/devel/tomlplusplus/distinfo new file mode 100644 index 000000000000..e48cae7d379e --- /dev/null +++ b/devel/tomlplusplus/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1697204382 +SHA256 (marzer-tomlplusplus-v3.4.0_GH0.tar.gz) = 8517f65938a4faae9ccf8ebb36631a38c1cadfb5efa85d9a72e15b9e97d25155 +SIZE (marzer-tomlplusplus-v3.4.0_GH0.tar.gz) = 1294731 diff --git a/devel/tomlplusplus/pkg-descr b/devel/tomlplusplus/pkg-descr new file mode 100644 index 000000000000..0983c0fb046c --- /dev/null +++ b/devel/tomlplusplus/pkg-descr @@ -0,0 +1,12 @@ +toml++ is a TOML config parser and serializer for C++. + +Features: +- Header-only (optional!) +- Supports the latest TOML release v1.0.0, plus + optional support for some unreleased TOML features +- Passes all tests in the toml-test suite +- Supports serializing to JSON and YAML +- Proper UTF-8 handling (incl. BOM) +- C++17 (plus some C++20 features where available, e.g. experimental support for char8_t strings) +- Doesn't require RTTI +- Works with or without exceptions diff --git a/devel/tomlplusplus/pkg-plist b/devel/tomlplusplus/pkg-plist new file mode 100644 index 000000000000..f3fa1262a085 --- /dev/null +++ b/devel/tomlplusplus/pkg-plist @@ -0,0 +1,57 @@ +include/toml++/impl/array.hpp +include/toml++/impl/array.inl +include/toml++/impl/at_path.hpp +include/toml++/impl/at_path.inl +include/toml++/impl/date_time.hpp +include/toml++/impl/formatter.hpp +include/toml++/impl/formatter.inl +include/toml++/impl/forward_declarations.hpp +include/toml++/impl/header_end.hpp +include/toml++/impl/header_start.hpp +include/toml++/impl/json_formatter.hpp +include/toml++/impl/json_formatter.inl +include/toml++/impl/key.hpp +include/toml++/impl/make_node.hpp +include/toml++/impl/node.hpp +include/toml++/impl/node.inl +include/toml++/impl/node_view.hpp +include/toml++/impl/parse_error.hpp +include/toml++/impl/parse_result.hpp +include/toml++/impl/parser.hpp +include/toml++/impl/parser.inl +include/toml++/impl/path.hpp +include/toml++/impl/path.inl +include/toml++/impl/preprocessor.hpp +include/toml++/impl/print_to_stream.hpp +include/toml++/impl/print_to_stream.inl +include/toml++/impl/simd.hpp +include/toml++/impl/source_region.hpp +include/toml++/impl/std_except.hpp +include/toml++/impl/std_initializer_list.hpp +include/toml++/impl/std_map.hpp +include/toml++/impl/std_new.hpp +include/toml++/impl/std_optional.hpp +include/toml++/impl/std_string.hpp +include/toml++/impl/std_string.inl +include/toml++/impl/std_utility.hpp +include/toml++/impl/std_variant.hpp +include/toml++/impl/std_vector.hpp +include/toml++/impl/table.hpp +include/toml++/impl/table.inl +include/toml++/impl/toml_formatter.hpp +include/toml++/impl/toml_formatter.inl +include/toml++/impl/unicode.hpp +include/toml++/impl/unicode.inl +include/toml++/impl/unicode_autogenerated.hpp +include/toml++/impl/value.hpp +include/toml++/impl/version.hpp +include/toml++/impl/yaml_formatter.hpp +include/toml++/impl/yaml_formatter.inl +include/toml++/toml.h +include/toml++/toml.hpp +lib/cmake/tomlplusplus/tomlplusplusConfig.cmake +lib/cmake/tomlplusplus/tomlplusplusConfigVersion.cmake +lib/libtomlplusplus.so +lib/libtomlplusplus.so.3 +lib/libtomlplusplus.so.3.4.0 +libdata/pkgconfig/tomlplusplus.pc