git: 266c2e8881b7 - main - textproc/cpptoml: [+] Header-only C++ library for parsing TOML

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 06 Jun 2022 15:56:18 UTC
The branch main has been updated by arrowd:

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

commit 266c2e8881b78e731026bf4122d543dad37a1945
Author:     Florian Limberger <flo@purplekraken.com>
AuthorDate: 2022-06-06 15:52:29 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-06-06 15:55:35 +0000

    textproc/cpptoml: [+] Header-only C++ library for parsing TOML
    
    Reviewed by: arrowd, koobs
    Differential Revision: https://reviews.freebsd.org/D35404
    
    Tested by:      arrowd
---
 textproc/Makefile          |  1 +
 textproc/cpptoml/Makefile  | 26 ++++++++++++++++++++++++++
 textproc/cpptoml/distinfo  |  3 +++
 textproc/cpptoml/pkg-descr |  6 ++++++
 4 files changed, 36 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 73f3dce4a46d..ba0311d0e8c0 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -109,6 +109,7 @@
     SUBDIR += confget
     SUBDIR += consul-template
     SUBDIR += cpp-peglib
+    SUBDIR += cpptoml
     SUBDIR += crex
     SUBDIR += crunch
     SUBDIR += cs-aspell
diff --git a/textproc/cpptoml/Makefile b/textproc/cpptoml/Makefile
new file mode 100644
index 000000000000..cab8f5d2df8c
--- /dev/null
+++ b/textproc/cpptoml/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	cpptoml
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.1
+CATEGORIES=	textproc devel
+
+MAINTAINER=	flo@purplekraken.com
+COMMENT=	Header-only C++ library for parsing TOML
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	skystrife
+
+CMAKE_OFF=	CPPTOML_BUILD_EXAMPLES ENABLE_LIBCXX
+
+NO_ARCH=	yes
+
+PLIST_FILES=	include/cpptoml.h \
+		lib/cmake/cpptoml/cpptomlConfig.cmake \
+		lib/cmake/cpptoml/cpptomlConfigVersion.cmake \
+		lib/cmake/cpptoml/cpptomlTargets.cmake
+
+.include <bsd.port.mk>
diff --git a/textproc/cpptoml/distinfo b/textproc/cpptoml/distinfo
new file mode 100644
index 000000000000..7801ca2715db
--- /dev/null
+++ b/textproc/cpptoml/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1654013088
+SHA256 (skystrife-cpptoml-v0.1.1_GH0.tar.gz) = 23af72468cfd4040984d46a0dd2a609538579c78ddc429d6b8fd7a10a6e24403
+SIZE (skystrife-cpptoml-v0.1.1_GH0.tar.gz) = 47398
diff --git a/textproc/cpptoml/pkg-descr b/textproc/cpptoml/pkg-descr
new file mode 100644
index 000000000000..c9813b9edb0e
--- /dev/null
+++ b/textproc/cpptoml/pkg-descr
@@ -0,0 +1,6 @@
+A header-only library for parsing TOML configuration files with support for the
+new DateTime format, inline tables, multi-line basic and raw strings, digit
+separators, hexadecimal integers, octal integers, binary integers, and float
+special values.
+
+WWW: https://github.com/skystrife/cpptoml/