git: 73334a8ed82c - main - sysutils/htop: Update 3.3.0 → 3.4.0

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sat, 15 Mar 2025 14:57:52 UTC
The branch main has been updated by vvd:

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

commit 73334a8ed82c4a52be89e695158e285e66ecb2b1
Author:     Hung-Yi Chen <gaod@hychen.org>
AuthorDate: 2025-03-15 14:56:01 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-03-15 14:56:01 +0000

    sysutils/htop: Update 3.3.0 → 3.4.0
    
    Changelog:
    https://github.com/htop-dev/htop/blob/3.4.0/ChangeLog
    
    PR:     285438
---
 sysutils/htop/Makefile | 9 ++++-----
 sysutils/htop/distinfo | 8 +++-----
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile
index 1b8496876590..7159c0d71fd9 100644
--- a/sysutils/htop/Makefile
+++ b/sysutils/htop/Makefile
@@ -1,12 +1,8 @@
 PORTNAME=	htop
-DISTVERSION=	3.3.0
-PORTREVISION=	5
+DISTVERSION=	3.4.0
 CATEGORIES=	sysutils
 MASTER_SITES=	https://github.com/${PORTNAME}-dev/${PORTNAME}/releases/download/${DISTVERSION}/
 
-PATCH_SITES=	https://github.com/htop-dev/htop/commit/
-PATCHFILES=	3c7fe273989626b299eb78d3ad1acb88ed64db64.diff:-p1
-
 MAINTAINER=	gaod@hychen.org
 COMMENT=	Better top(1) - interactive process viewer
 WWW=		https://htop.dev/
@@ -29,4 +25,7 @@ OPTIONS_DEFINE=	LSOF
 
 LSOF_RUN_DEPENDS=	lsof:sysutils/lsof
 
+post-patch:
+	@${REINPLACE_CMD} -e 's/3.4.0-dev-3.4.0/3.4.0/' ${WRKSRC}/configure
+
 .include <bsd.port.mk>
diff --git a/sysutils/htop/distinfo b/sysutils/htop/distinfo
index 5f1bb3a4399a..7f60889d18d7 100644
--- a/sysutils/htop/distinfo
+++ b/sysutils/htop/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1724410572
-SHA256 (htop-3.3.0.tar.xz) = a69acf9b42ff592c4861010fce7d8006805f0d6ef0e8ee647a6ee6e59b743d5c
-SIZE (htop-3.3.0.tar.xz) = 337956
-SHA256 (3c7fe273989626b299eb78d3ad1acb88ed64db64.diff) = 6b5717180fb1769e50e04e1b03c064b5600bae5a0ff2a67af77b4ae6085a4d61
-SIZE (3c7fe273989626b299eb78d3ad1acb88ed64db64.diff) = 583
+TIMESTAMP = 1742047079
+SHA256 (htop-3.4.0.tar.xz) = feaabd2d31ca27c09c367a3b1b547ea9f96105fc41f4dfa799e2f49daad5de29
+SIZE (htop-3.4.0.tar.xz) = 427092