git: d2c97fca5eac - main - devel/args: Update 6.3.0 -> 6.4.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 29 Dec 2022 22:15:42 UTC
The branch main has been updated by yuri:

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

commit d2c97fca5eacfae60c3f4d45a73e2f9546f945db
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-29 09:08:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-29 22:15:34 +0000

    devel/args: Update 6.3.0 -> 6.4.2
---
 devel/args/Makefile | 19 +++++++------------
 devel/args/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/devel/args/Makefile b/devel/args/Makefile
index 085ae074e31f..fb19bca96290 100644
--- a/devel/args/Makefile
+++ b/devel/args/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	args
-DISTVERSION=	6.3.0
+DISTVERSION=	6.4.2
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -9,24 +9,19 @@ WWW=		https://github.com/Taywee/args
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake
+USES=		cmake:testing
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	Taywee
 
 CMAKE_OFF=	ARGS_BUILD_EXAMPLE ARGS_BUILD_UNITTESTS
+CMAKE_TESTING_ON=	ARGS_BUILD_UNITTESTS
 
 NO_BUILD=	yes
 NO_ARCH=	yes
 
-PLIST_FILES=	include/args.hxx
-
-do-install: # https://github.com/reconquest/args/issues/1
-	${INSTALL_DATA} ${WRKSRC}/args.hxx ${STAGEDIR}${PREFIX}/include
-
-do-test:
-	@cd ${BUILD_WRKSRC} && \
-		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DARGS_BUILD_UNITTESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
+PLIST_FILES=	include/args.hxx \
+		lib/cmake/args/args-config.cmake \
+		libdata/pkgconfig/args.pc
 
 .include <bsd.port.mk>
diff --git a/devel/args/distinfo b/devel/args/distinfo
index 86d4eb0c581f..f2730f1c9177 100644
--- a/devel/args/distinfo
+++ b/devel/args/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640408411
-SHA256 (Taywee-args-6.3.0_GH0.tar.gz) = e072c4a9d6990872b0ecb45480a5487db82e0dc3d27c3c3eb9fc0930c0d796ae
-SIZE (Taywee-args-6.3.0_GH0.tar.gz) = 202613
+TIMESTAMP = 1672303729
+SHA256 (Taywee-args-6.4.2_GH0.tar.gz) = 882adaf179471edf0ac468bab67a0ee53979e4efe91fe4992d5b38422067dd85
+SIZE (Taywee-args-6.4.2_GH0.tar.gz) = 202952