git: 896c05e76b3d - main - comms/tio: Update to 2.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 11 Sep 2022 19:25:54 UTC
The branch main has been updated by diizzy:

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

commit 896c05e76b3d660c620bcb75db951ff0b8398a55
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-09-11 19:23:55 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-09-11 19:24:01 +0000

    comms/tio: Update to 2.0
    
    Switch to upstream release archive
    Use (lib)inih from ports
    
    PR:             266370
    Reviewed by:    dmgk (maintainer)
---
 comms/tio/Makefile | 9 ++++-----
 comms/tio/distinfo | 8 +++-----
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/comms/tio/Makefile b/comms/tio/Makefile
index 50de60517cc1..23e26006a809 100644
--- a/comms/tio/Makefile
+++ b/comms/tio/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	tio
-DISTVERSIONPREFIX=	v
-DISTVERSION=	1.47
+DISTVERSION=	2.0
 CATEGORIES=	comms
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	dmgk@FreeBSD.org
 COMMENT=	Simple TTY terminal I/O application
@@ -10,10 +10,9 @@ WWW=		https://tio.github.io
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		meson pkgconfig
+LIB_DEPENDS=	libinih.so:devel/inih
 
-USE_GITHUB=	yes
-GH_TUPLE=	benhoyt:inih:r55:inih/subprojects/libinih
+USES=		meson pkgconfig tar:xz
 
 OPTIONS_DEFINE=	BASH DOCS
 OPTIONS_DEFAULT=	BASH
diff --git a/comms/tio/distinfo b/comms/tio/distinfo
index 0ec831370243..f1f4ff169c8a 100644
--- a/comms/tio/distinfo
+++ b/comms/tio/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1658861654
-SHA256 (tio-tio-v1.47_GH0.tar.gz) = d1cad2c8482f656d4f392e34bd7acae8e14e44c10ff8f98379d6415919f8ab31
-SIZE (tio-tio-v1.47_GH0.tar.gz) = 3535878
-SHA256 (benhoyt-inih-r55_GH0.tar.gz) = ba55f8ae2a8caf0653f30f48567241e14ea916acfc13481f502d8a9c8f507f68
-SIZE (benhoyt-inih-r55_GH0.tar.gz) = 18219
+TIMESTAMP = 1662922637
+SHA256 (tio-2.0.tar.xz) = e5826109773a89b267c3484df71234bc6c45715f735e3fdbee5984768faf5836
+SIZE (tio-2.0.tar.xz) = 3415300