Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -430,6 +430,7 @@ SUBDIR += cpplint SUBDIR += cpprestsdk SUBDIR += cpptest + SUBDIR += cpptoml SUBDIR += cppunit SUBDIR += cppurses SUBDIR += cpputest Index: devel/cpptoml/Makefile =================================================================== --- /dev/null +++ devel/cpptoml/Makefile @@ -0,0 +1,26 @@ +PORTNAME= cpptoml +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.1 +CATEGORIES= 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: devel/cpptoml/distinfo =================================================================== --- /dev/null +++ devel/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: devel/cpptoml/pkg-descr =================================================================== --- /dev/null +++ devel/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/