aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-12-11 06:20:33 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-12-11 08:41:22 +0000
commit3097119feab1824b0a642be2a5812bc6671ea44a (patch)
tree162b521115e1bdbcc7b10b2c7e4a69ec24dd5452
parent63452f60766fabd5199dea67b8870053affb77df (diff)
downloadports-3097119feab1824b0a642be2a5812bc6671ea44a.tar.gz
ports-3097119feab1824b0a642be2a5812bc6671ea44a.zip
devel/cxxopts: Update 2.2.1 -> 3.0.0
Also add the 'test' target. Reported by: portscout
-rw-r--r--devel/cxxopts/Makefile8
-rw-r--r--devel/cxxopts/distinfo6
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