pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/tomlplusplus devel/tomlplusplus: import tomlplus...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb0b1ccbc041
branches:  trunk
changeset: 770799:fb0b1ccbc041
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Dec 09 16:28:33 2021 +0000

description:
devel/tomlplusplus: import tomlplusplus-2.5.0

TOML library for C++

Features

* Supports the latest TOML release (v1.0.0), plus optional support
  for some unreleased TOML features
* Supports serializing to JSON
* Proper UTF-8 handling (incl. BOM)
* C++17 (plus some C++20 features where available, e.g. experimental
  support for char8_t strings)
* Header-only (optional!)
* Doesn't require RTTI
* Works with or without exceptions

diffstat:

 devel/tomlplusplus/DESCR         |  13 +++++++++++++
 devel/tomlplusplus/Makefile      |  18 ++++++++++++++++++
 devel/tomlplusplus/PLIST         |  31 +++++++++++++++++++++++++++++++
 devel/tomlplusplus/buildlink3.mk |  15 +++++++++++++++
 devel/tomlplusplus/distinfo      |   5 +++++
 5 files changed, 82 insertions(+), 0 deletions(-)

diffs (102 lines):

diff -r ce39466d661e -r fb0b1ccbc041 devel/tomlplusplus/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tomlplusplus/DESCR  Thu Dec 09 16:28:33 2021 +0000
@@ -0,0 +1,13 @@
+TOML library for C++
+
+Features
+
+* Supports the latest TOML release (v1.0.0), plus optional support
+  for some unreleased TOML features
+* Supports serializing to JSON
+* Proper UTF-8 handling (incl. BOM)
+* C++17 (plus some C++20 features where available, e.g. experimental
+  support for char8_t strings)
+* Header-only (optional!)
+* Doesn't require RTTI
+* Works with or without exceptions
diff -r ce39466d661e -r fb0b1ccbc041 devel/tomlplusplus/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tomlplusplus/Makefile       Thu Dec 09 16:28:33 2021 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2021/12/09 16:28:33 wiz Exp $
+
+DISTNAME=      tomlplusplus-2.5.0
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=marzer/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://marzer.github.io/tomlplusplus/
+COMMENT=       TOML library for c++
+LICENSE=       mit
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+MESON_ARGS+=   --datadir=lib
+
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ce39466d661e -r fb0b1ccbc041 devel/tomlplusplus/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tomlplusplus/PLIST  Thu Dec 09 16:28:33 2021 +0000
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1 2021/12/09 16:28:33 wiz Exp $
+include/toml++/toml.h
+include/toml++/toml_array.h
+include/toml++/toml_array.hpp
+include/toml++/toml_common.h
+include/toml++/toml_date_time.h
+include/toml++/toml_default_formatter.h
+include/toml++/toml_default_formatter.hpp
+include/toml++/toml_formatter.h
+include/toml++/toml_instantiations.hpp
+include/toml++/toml_json_formatter.h
+include/toml++/toml_json_formatter.hpp
+include/toml++/toml_node.h
+include/toml++/toml_node.hpp
+include/toml++/toml_node_view.h
+include/toml++/toml_parse_error.h
+include/toml++/toml_parse_result.h
+include/toml++/toml_parser.h
+include/toml++/toml_parser.hpp
+include/toml++/toml_preprocessor.h
+include/toml++/toml_print_to_stream.h
+include/toml++/toml_table.h
+include/toml++/toml_table.hpp
+include/toml++/toml_utf8.h
+include/toml++/toml_utf8_streams.h
+include/toml++/toml_utf8_streams.hpp
+include/toml++/toml_value.h
+include/toml++/toml_version.h
+lib/cmake/tomlplusplus/tomlplusplusConfig.cmake
+lib/cmake/tomlplusplus/tomlplusplusConfigVersion.cmake
+lib/pkgconfig/tomlplusplus.pc
diff -r ce39466d661e -r fb0b1ccbc041 devel/tomlplusplus/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tomlplusplus/buildlink3.mk  Thu Dec 09 16:28:33 2021 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/12/09 16:28:33 wiz Exp $
+
+BUILDLINK_TREE+=       tomlplusplus
+
+.if !defined(TOMLPLUSPLUS_BUILDLINK3_MK)
+TOMLPLUSPLUS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.tomlplusplus+=   tomlplusplus>=2.5.0
+BUILDLINK_PKGSRCDIR.tomlplusplus?=     ../../devel/tomlplusplus
+
+# header-only library
+BUILDLINK_DEPMETHOD.tomlplusplus?=     build
+.endif # TOMLPLUSPLUS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -tomlplusplus
diff -r ce39466d661e -r fb0b1ccbc041 devel/tomlplusplus/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tomlplusplus/distinfo       Thu Dec 09 16:28:33 2021 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/12/09 16:28:33 wiz Exp $
+
+BLAKE2s (tomlplusplus-2.5.0.tar.gz) = 74391d051aa119cdf369272b94016e66214cae4f4735c8944d4235d4211dda26
+SHA512 (tomlplusplus-2.5.0.tar.gz) = 7394cda2009b37e88f9028ee5d1887120bed7042833c7cb218d7705cdc92273c81a84163ff0be034d3f23c8dd93e63b7615134a4b0e1c580e1e945fae45c7d35
+Size (tomlplusplus-2.5.0.tar.gz) = 950719 bytes



Home | Main Index | Thread Index | Old Index