git: 28f8590a82a5 - main - textproc/sdcv: update to 0.5.5

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sat, 27 Jul 2024 05:38:40 UTC
The branch main has been updated by uzsolt:

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

commit 28f8590a82a5f913ac25b48df6c202f0dca82723
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-07-27 05:34:38 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-07-27 05:37:42 +0000

    textproc/sdcv: update to 0.5.5
    
    Add TEST_DEPENDS and CMAKE_ON=BUILD_TESTS.
    Switch to DISTVERSION.
    Pet portlint, portfmt.
    
    Changelog: https://dushistov.github.io/sdcv/
    
    PR:             277589
    Approved by:    maintainer timeout (3+ weeks)
---
 textproc/sdcv/Makefile | 13 ++++++++-----
 textproc/sdcv/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/textproc/sdcv/Makefile b/textproc/sdcv/Makefile
index 8b62dcace26b..faae8459cefc 100644
--- a/textproc/sdcv/Makefile
+++ b/textproc/sdcv/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	sdcv
-PORTVERSION=	0.5.2
-PORTREVISION=	4
 DISTVERSIONPREFIX=	v
+DISTVERSION=	0.5.5
 CATEGORIES=	textproc
 
 MAINTAINER=	citrin@citrin.ru
@@ -11,13 +10,17 @@ WWW=		https://dushistov.github.io/sdcv/
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+TEST_DEPENDS=	jq>0:textproc/jq
+
 USES=		cmake compiler:c++11-lang gnome pkgconfig readline
+USE_GITHUB=	yes
+GH_ACCOUNT=	Dushistov
 USE_GNOME=	glib20
 
-SUB_FILES=	pkg-message
+CMAKE_ON=	BUILD_TESTS
+TEST_TARGET=	test
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	Dushistov
+SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
diff --git a/textproc/sdcv/distinfo b/textproc/sdcv/distinfo
index fcc03d0c02e5..18ffc728123c 100644
--- a/textproc/sdcv/distinfo
+++ b/textproc/sdcv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1505656097
-SHA256 (Dushistov-sdcv-v0.5.2_GH0.tar.gz) = ec08dc084a0748d5a89df01a20bbf294f09b0366295cd418000f15d2e043c4f7
-SIZE (Dushistov-sdcv-v0.5.2_GH0.tar.gz) = 61541
+TIMESTAMP = 1710808173
+SHA256 (Dushistov-sdcv-v0.5.5_GH0.tar.gz) = 4d2519e8f8479b9301dc91e9cda3e1eefef19970ece0e8c05f0c7b7ade5dc94b
+SIZE (Dushistov-sdcv-v0.5.5_GH0.tar.gz) = 67016