git: 3097119feab1 - main - devel/cxxopts: Update 2.2.1 -> 3.0.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 11 Dec 2021 08:41:27 UTC
The branch main has been updated by yuri:

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

commit 3097119feab1824b0a642be2a5812bc6671ea44a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-12-11 06:20:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-12-11 08:41:22 +0000

    devel/cxxopts: Update 2.2.1 -> 3.0.0
    
    Also add the 'test' target.
    
    Reported by:    portscout
---
 devel/cxxopts/Makefile | 8 +++++---
 devel/cxxopts/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/devel/cxxopts/Makefile b/devel/cxxopts/Makefile
index 2ebb7b3a7c6e..fceec59c9ae1 100644
--- a/devel/cxxopts/Makefile
+++ b/devel/cxxopts/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cxxopts
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.2.1
+DISTVERSION=	3.0.0
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -9,11 +9,12 @@ COMMENT=	Lightweight C++ command line option parser
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++11-lang
+USES=		cmake:testing compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	jarro2783
 
 CMAKE_OFF=	CXXOPTS_BUILD_TESTS CXXOPTS_BUILD_EXAMPLES
+CMAKE_TESTING_ON=	CXXOPTS_BUILD_TESTS
 
 NO_BUILD=	yes
 NO_ARCH=	yes
@@ -21,6 +22,7 @@ NO_ARCH=	yes
 PLIST_FILES=	include/cxxopts.hpp \
 		lib/cmake/cxxopts/cxxopts-config-version.cmake \
 		lib/cmake/cxxopts/cxxopts-config.cmake \
-		lib/cmake/cxxopts/cxxopts-targets.cmake
+		lib/cmake/cxxopts/cxxopts-targets.cmake \
+		libdata/pkgconfig/cxxopts.pc
 
 .include <bsd.port.mk>
diff --git a/devel/cxxopts/distinfo b/devel/cxxopts/distinfo
index 8d3ac605d858..b325f478eff8 100644
--- a/devel/cxxopts/distinfo
+++ b/devel/cxxopts/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1597774770
-SHA256 (jarro2783-cxxopts-v2.2.1_GH0.tar.gz) = 984aa3c8917d649b14d7f6277104ce38dd142ce378a9198ec926f03302399681
-SIZE (jarro2783-cxxopts-v2.2.1_GH0.tar.gz) = 89561
+TIMESTAMP = 1639203241
+SHA256 (jarro2783-cxxopts-v3.0.0_GH0.tar.gz) = 36f41fa2a46b3c1466613b63f3fa73dc24d912bc90d667147f1e43215a8c6d00
+SIZE (jarro2783-cxxopts-v3.0.0_GH0.tar.gz) = 97020