git: 00a882b78f0f - main - devel/cpp-utilities: New port: Common C++ classes such as argument parser, IO, conversion utilities

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 04 Jul 2023 20:23:43 UTC
The branch main has been updated by yuri:

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

commit 00a882b78f0fdd7f8dcaed36df6778631a3f6e61
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-04 20:22:58 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-04 20:23:41 +0000

    devel/cpp-utilities: New port: Common C++ classes such as argument parser, IO, conversion utilities
---
 devel/Makefile                |  1 +
 devel/cpp-utilities/Makefile  | 25 ++++++++++++++++
 devel/cpp-utilities/distinfo  |  3 ++
 devel/cpp-utilities/pkg-descr |  2 ++
 devel/cpp-utilities/pkg-plist | 67 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 98 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1f7359e54597..14d491d8c3b6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -447,6 +447,7 @@
     SUBDIR += cpan-upload-http
     SUBDIR += cpp-hocon
     SUBDIR += cpp-netlib
+    SUBDIR += cpp-utilities
     SUBDIR += cpp2py
     SUBDIR += cppcheck
     SUBDIR += cppi
diff --git a/devel/cpp-utilities/Makefile b/devel/cpp-utilities/Makefile
new file mode 100644
index 000000000000..d4cfea6e818c
--- /dev/null
+++ b/devel/cpp-utilities/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	cpp-utilities
+DISTVERSIONPREFIX=	v
+DISTVERSION=	5.24.0
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Common C++ classes such as argument parser, IO, conversion utilities
+WWW=		https://github.com/Martchus/cpp-utilities
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libboost_iostreams.so:devel/boost-libs
+
+USES=		cmake:testing compiler:c++17-lang
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Martchus
+
+CMAKE_ON=	BUILD_SHARED_LIBS
+
+# unclear how to run tests, see https://github.com/Martchus/cpp-utilities/issues/26
+
+.include <bsd.port.mk>
diff --git a/devel/cpp-utilities/distinfo b/devel/cpp-utilities/distinfo
new file mode 100644
index 000000000000..f9829e7fe82c
--- /dev/null
+++ b/devel/cpp-utilities/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688501499
+SHA256 (Martchus-cpp-utilities-v5.24.0_GH0.tar.gz) = 959e9884bdab1a2afe67937611b6b168fb60dc0cf0acf236b3a342cc0479e57d
+SIZE (Martchus-cpp-utilities-v5.24.0_GH0.tar.gz) = 190215
diff --git a/devel/cpp-utilities/pkg-descr b/devel/cpp-utilities/pkg-descr
new file mode 100644
index 000000000000..743875d3bb4c
--- /dev/null
+++ b/devel/cpp-utilities/pkg-descr
@@ -0,0 +1,2 @@
+cpp-utilities contains useful C++ classes and routines such as argument parser,
+IO and conversion utilities.
diff --git a/devel/cpp-utilities/pkg-plist b/devel/cpp-utilities/pkg-plist
new file mode 100644
index 000000000000..3673fb30c33f
--- /dev/null
+++ b/devel/cpp-utilities/pkg-plist
@@ -0,0 +1,67 @@
+include/c++utilities/application/argumentparser.h
+include/c++utilities/application/commandlineutils.h
+include/c++utilities/application/fakeqtconfigarguments.h
+include/c++utilities/application/global.h
+include/c++utilities/chrono/datetime.h
+include/c++utilities/chrono/format.h
+include/c++utilities/chrono/period.h
+include/c++utilities/chrono/timespan.h
+include/c++utilities/conversion/binaryconversion.h
+include/c++utilities/conversion/binaryconversionprivate.h
+include/c++utilities/conversion/conversionexception.h
+include/c++utilities/conversion/stringbuilder.h
+include/c++utilities/conversion/stringconversion.h
+include/c++utilities/global.h
+include/c++utilities/io/ansiescapecodes.h
+include/c++utilities/io/binaryreader.h
+include/c++utilities/io/binarywriter.h
+include/c++utilities/io/bitreader.h
+include/c++utilities/io/buffersearch.h
+include/c++utilities/io/copy.h
+include/c++utilities/io/inifile.h
+include/c++utilities/io/misc.h
+include/c++utilities/io/nativefilestream.h
+include/c++utilities/io/path.h
+include/c++utilities/misc/flagenumclass.h
+include/c++utilities/misc/levenshtein.h
+include/c++utilities/misc/math.h
+include/c++utilities/misc/multiarray.h
+include/c++utilities/misc/parseerror.h
+include/c++utilities/misc/traits.h
+include/c++utilities/tests/cppunit.h
+include/c++utilities/tests/outputcheck.h
+include/c++utilities/tests/testutils.h
+include/c++utilities/version.h
+lib/libc++utilities.so
+lib/libc++utilities.so.5
+lib/libc++utilities.so.5.24.0
+libdata/pkgconfig/c++utilities.pc
+share/c++utilities/cmake/c++utilitiesConfig.cmake
+share/c++utilities/cmake/c++utilitiesConfigVersion.cmake
+share/c++utilities/cmake/c++utilitiesTargets-%%CMAKE_BUILD_TYPE%%.cmake
+share/c++utilities/cmake/c++utilitiesTargets.cmake
+share/c++utilities/cmake/modules/3rdParty.cmake
+share/c++utilities/cmake/modules/AppTarget.cmake
+share/c++utilities/cmake/modules/AppUtilities.cmake
+share/c++utilities/cmake/modules/BasicConfig.cmake
+share/c++utilities/cmake/modules/ConfigHeader.cmake
+share/c++utilities/cmake/modules/DevelUtilities.cmake
+share/c++utilities/cmake/modules/Doxygen.cmake
+share/c++utilities/cmake/modules/LibraryTarget.cmake
+share/c++utilities/cmake/modules/ListToString.cmake
+share/c++utilities/cmake/modules/ShellCompletion.cmake
+share/c++utilities/cmake/modules/TemplateFinder.cmake
+share/c++utilities/cmake/modules/TestTarget.cmake
+share/c++utilities/cmake/modules/TestUtilities.cmake
+share/c++utilities/cmake/modules/WindowsResources.cmake
+share/c++utilities/cmake/templates/Config.cmake.in
+share/c++utilities/cmake/templates/appdata.xml.in
+share/c++utilities/cmake/templates/bash-completion.sh.in
+share/c++utilities/cmake/templates/config.h.in
+share/c++utilities/cmake/templates/desktop.in
+share/c++utilities/cmake/templates/doxygen.in
+share/c++utilities/cmake/templates/global.h.in
+share/c++utilities/cmake/templates/template.pc.in
+share/c++utilities/cmake/templates/version.h.in
+share/c++utilities/coding-style.clang-format
+share/c++utilities/tests/calculateoverallcoverage.awk