git: a2130025a44c - main - devel/libmcfp: New port: C++ header only library to parse command line arguments

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 24 Nov 2022 11:09:19 UTC
The branch main has been updated by yuri:

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

commit a2130025a44cb526e9a42f81e3a97de0d2c50092
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-11-24 10:56:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-11-24 11:09:16 +0000

    devel/libmcfp: New port: C++ header only library to parse command line arguments
---
 devel/Makefile          |  1 +
 devel/libmcfp/Makefile  | 24 ++++++++++++++++++++++++
 devel/libmcfp/distinfo  |  3 +++
 devel/libmcfp/pkg-descr |  2 ++
 devel/libmcfp/pkg-plist |  7 +++++++
 5 files changed, 37 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 7c17a6155677..acdafe337a36 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1258,6 +1258,7 @@
     SUBDIR += libmatheval
     SUBDIR += libmatthew
     SUBDIR += libmba
+    SUBDIR += libmcfp
     SUBDIR += libmill
     SUBDIR += libmimedir
     SUBDIR += libmodi
diff --git a/devel/libmcfp/Makefile b/devel/libmcfp/Makefile
new file mode 100644
index 000000000000..8b9054ea5014
--- /dev/null
+++ b/devel/libmcfp/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	libmcfp
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.2.2
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	C++ header only library to parse command line arguments
+WWW=		https://github.com/mhekkel/libmcfp
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	${LOCALBASE}/include/boost/test/included/unit_test.hpp:devel/boost-libs
+
+USES=		cmake:testing localbase
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	mhekkel
+
+CMAKE_TESTING_ON=	ENABLE_TESTING
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/libmcfp/distinfo b/devel/libmcfp/distinfo
new file mode 100644
index 000000000000..4516158056e3
--- /dev/null
+++ b/devel/libmcfp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1669286645
+SHA256 (mhekkel-libmcfp-v1.2.2_GH0.tar.gz) = 688f1235f4881c6a2ad8b3f543bed4a9bec2f38191363843db68b1710b610b8e
+SIZE (mhekkel-libmcfp-v1.2.2_GH0.tar.gz) = 14695
diff --git a/devel/libmcfp/pkg-descr b/devel/libmcfp/pkg-descr
new file mode 100644
index 000000000000..cbc91fb0b119
--- /dev/null
+++ b/devel/libmcfp/pkg-descr
@@ -0,0 +1,2 @@
+libmcfp is a library for parsing command line arguments and configuration files
+and making them available throughout a program.
diff --git a/devel/libmcfp/pkg-plist b/devel/libmcfp/pkg-plist
new file mode 100644
index 000000000000..55c0b29c5bae
--- /dev/null
+++ b/devel/libmcfp/pkg-plist
@@ -0,0 +1,7 @@
+include/mcfp.hpp
+include/mcfp/mcfp.hpp
+include/mcfp/text.hpp
+include/mcfp/utilities.hpp
+lib/cmake/libmcfp/libmcfpConfig.cmake
+lib/cmake/libmcfp/libmcfpConfigVersion.cmake
+lib/cmake/libmcfp/libmcfpTargets.cmake