git: fc0716260e63 - main - devel/glaze: New port: Fast, in memory, JSON and interface library for modern C++

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 12 Dec 2023 23:14:37 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fc0716260e6398774a33c355089efd1cc7c7be1d

commit fc0716260e6398774a33c355089efd1cc7c7be1d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-12 22:08:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-12 23:14:33 +0000

    devel/glaze: New port: Fast, in memory, JSON and interface library for modern C++
---
 devel/Makefile        |   1 +
 devel/glaze/Makefile  |  22 +++++++++++
 devel/glaze/distinfo  |   3 ++
 devel/glaze/pkg-descr |   7 ++++
 devel/glaze/pkg-plist | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 134 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 79f6bed1a237..cff91b87f0a8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -835,6 +835,7 @@
     SUBDIR += glab
     SUBDIR += glade
     SUBDIR += glademm
+    SUBDIR += glaze
     SUBDIR += glib20
     SUBDIR += glibd
     SUBDIR += glibmm
diff --git a/devel/glaze/Makefile b/devel/glaze/Makefile
new file mode 100644
index 000000000000..60a714ad5306
--- /dev/null
+++ b/devel/glaze/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	glaze
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.9.5
+CATEGORIES=	devel textproc
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Fast, in memory, JSON and interface library for modern C++
+WWW=		https://github.com/stephenberry/glaze
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake:testing compiler:c++11-lang
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	stephenberry
+
+CMAKE_OFF=	BUILD_TESTING # tests fail to run due to https://github.com/stephenberry/glaze/issues/619
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/glaze/distinfo b/devel/glaze/distinfo
new file mode 100644
index 000000000000..2bab1112fa8b
--- /dev/null
+++ b/devel/glaze/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1702412481
+SHA256 (stephenberry-glaze-v1.9.5_GH0.tar.gz) = 3800fa7283a1d4e5bd2c746fe9e268d2f8af76d3a75be7318b2084f38f529c7f
+SIZE (stephenberry-glaze-v1.9.5_GH0.tar.gz) = 241902
diff --git a/devel/glaze/pkg-descr b/devel/glaze/pkg-descr
new file mode 100644
index 000000000000..37bc3959b009
--- /dev/null
+++ b/devel/glaze/pkg-descr
@@ -0,0 +1,7 @@
+Glaze is one of the fastest JSON libraries in the world.
+Glaze reads and writes from object memory, simplifying interfaces and offering
+incredible performance.
+
+Glaze isn't just a JSON library. Glaze also supports:
+* BEVE (binary efficient versatile encoding)
+* CSV (comma separated value)
diff --git a/devel/glaze/pkg-plist b/devel/glaze/pkg-plist
new file mode 100644
index 000000000000..f7b4184a7d79
--- /dev/null
+++ b/devel/glaze/pkg-plist
@@ -0,0 +1,101 @@
+include/glaze/api/api.hpp
+include/glaze/api/hash.hpp
+include/glaze/api/impl.hpp
+include/glaze/api/lib.hpp
+include/glaze/api/name.hpp
+include/glaze/api/std/array.hpp
+include/glaze/api/std/deque.hpp
+include/glaze/api/std/functional.hpp
+include/glaze/api/std/list.hpp
+include/glaze/api/std/map.hpp
+include/glaze/api/std/optional.hpp
+include/glaze/api/std/set.hpp
+include/glaze/api/std/shared_ptr.hpp
+include/glaze/api/std/span.hpp
+include/glaze/api/std/string.hpp
+include/glaze/api/std/tuple.hpp
+include/glaze/api/std/unique_ptr.hpp
+include/glaze/api/std/unordered_map.hpp
+include/glaze/api/std/unordered_set.hpp
+include/glaze/api/std/variant.hpp
+include/glaze/api/std/vector.hpp
+include/glaze/api/trait.hpp
+include/glaze/api/tuplet.hpp
+include/glaze/api/type_support.hpp
+include/glaze/api/xxh64.hpp
+include/glaze/binary.hpp
+include/glaze/binary/header.hpp
+include/glaze/binary/ptr.hpp
+include/glaze/binary/read.hpp
+include/glaze/binary/skip.hpp
+include/glaze/binary/write.hpp
+include/glaze/compare/approx.hpp
+include/glaze/compare/compare.hpp
+include/glaze/core/common.hpp
+include/glaze/core/context.hpp
+include/glaze/core/format.hpp
+include/glaze/core/macros.hpp
+include/glaze/core/meta.hpp
+include/glaze/core/opts.hpp
+include/glaze/core/ptr.hpp
+include/glaze/core/read.hpp
+include/glaze/core/write.hpp
+include/glaze/core/write_chars.hpp
+include/glaze/csv.hpp
+include/glaze/csv/read.hpp
+include/glaze/csv/write.hpp
+include/glaze/exceptions/binary_exceptions.hpp
+include/glaze/exceptions/csv_exceptions.hpp
+include/glaze/exceptions/json_exceptions.hpp
+include/glaze/ext/eigen.hpp
+include/glaze/ext/jsonrpc.hpp
+include/glaze/file/file_ops.hpp
+include/glaze/file/file_watch.hpp
+include/glaze/glaze.hpp
+include/glaze/glaze_exceptions.hpp
+include/glaze/json.hpp
+include/glaze/json/custom.hpp
+include/glaze/json/invoke.hpp
+include/glaze/json/json_ptr.hpp
+include/glaze/json/json_t.hpp
+include/glaze/json/manage.hpp
+include/glaze/json/ndjson.hpp
+include/glaze/json/prettify.hpp
+include/glaze/json/ptr.hpp
+include/glaze/json/quoted.hpp
+include/glaze/json/raw_string.hpp
+include/glaze/json/read.hpp
+include/glaze/json/schema.hpp
+include/glaze/json/skip.hpp
+include/glaze/json/study.hpp
+include/glaze/json/write.hpp
+include/glaze/record/recorder.hpp
+include/glaze/reflection/get_name.hpp
+include/glaze/reflection/reflect.hpp
+include/glaze/reflection/to_tuple.hpp
+include/glaze/thread/threadpool.hpp
+include/glaze/tuplet/tuple.hpp
+include/glaze/util/any.hpp
+include/glaze/util/bit_array.hpp
+include/glaze/util/dtoa.hpp
+include/glaze/util/dump.hpp
+include/glaze/util/expected.hpp
+include/glaze/util/for_each.hpp
+include/glaze/util/hash_map.hpp
+include/glaze/util/inline.hpp
+include/glaze/util/itoa.hpp
+include/glaze/util/murmur.hpp
+include/glaze/util/parse.hpp
+include/glaze/util/poly.hpp
+include/glaze/util/progress_bar.hpp
+include/glaze/util/stoui64.hpp
+include/glaze/util/string_literal.hpp
+include/glaze/util/string_view.hpp
+include/glaze/util/strod.hpp
+include/glaze/util/tuple.hpp
+include/glaze/util/type_traits.hpp
+include/glaze/util/validate.hpp
+include/glaze/util/variant.hpp
+%%DATADIR%%/glazeConfig.cmake
+%%DATADIR%%/glazeConfigVersion.cmake
+%%DATADIR%%/glazeTargets.cmake