Index: textproc/Makefile =================================================================== --- textproc/Makefile +++ textproc/Makefile @@ -109,6 +109,7 @@ SUBDIR += confget SUBDIR += consul-template SUBDIR += cpp-peglib + SUBDIR += cpptoml SUBDIR += crex SUBDIR += crunch SUBDIR += cs-aspell Index: textproc/cpptoml/Makefile =================================================================== --- /dev/null +++ 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 Index: textproc/cpptoml/distinfo =================================================================== --- /dev/null +++ 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 Index: textproc/cpptoml/pkg-descr =================================================================== --- /dev/null +++ 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/