pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/tomlplusplus



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Dec  9 16:28:33 UTC 2021

Added Files:
        pkgsrc/devel/tomlplusplus: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/tomlplusplus/DESCR \
    pkgsrc/devel/tomlplusplus/Makefile pkgsrc/devel/tomlplusplus/PLIST \
    pkgsrc/devel/tomlplusplus/buildlink3.mk \
    pkgsrc/devel/tomlplusplus/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/tomlplusplus/DESCR
diff -u /dev/null pkgsrc/devel/tomlplusplus/DESCR:1.1
--- /dev/null   Thu Dec  9 16:28:33 2021
+++ pkgsrc/devel/tomlplusplus/DESCR     Thu Dec  9 16:28:33 2021
@@ -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
Index: pkgsrc/devel/tomlplusplus/Makefile
diff -u /dev/null pkgsrc/devel/tomlplusplus/Makefile:1.1
--- /dev/null   Thu Dec  9 16:28:33 2021
+++ pkgsrc/devel/tomlplusplus/Makefile  Thu Dec  9 16:28:33 2021
@@ -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"
Index: pkgsrc/devel/tomlplusplus/PLIST
diff -u /dev/null pkgsrc/devel/tomlplusplus/PLIST:1.1
--- /dev/null   Thu Dec  9 16:28:33 2021
+++ pkgsrc/devel/tomlplusplus/PLIST     Thu Dec  9 16:28:33 2021
@@ -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
Index: pkgsrc/devel/tomlplusplus/buildlink3.mk
diff -u /dev/null pkgsrc/devel/tomlplusplus/buildlink3.mk:1.1
--- /dev/null   Thu Dec  9 16:28:33 2021
+++ pkgsrc/devel/tomlplusplus/buildlink3.mk     Thu Dec  9 16:28:33 2021
@@ -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
Index: pkgsrc/devel/tomlplusplus/distinfo
diff -u /dev/null pkgsrc/devel/tomlplusplus/distinfo:1.1
--- /dev/null   Thu Dec  9 16:28:33 2021
+++ pkgsrc/devel/tomlplusplus/distinfo  Thu Dec  9 16:28:33 2021
@@ -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