From bad0a8c1549830acefe7b20e091b797ad4e129bb Mon Sep 17 00:00:00 2001
From: Siva Mahadevan <me@svmhdvn.name>
Date: Wed, 14 Aug 2024 15:25:07 -0400
Subject: [PATCH] sysutils/htop: simplify Makefile

---
 sysutils/htop/Makefile | 10 +++-------
 sysutils/htop/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile
index 260bc3b87484..4f3da8f62cf9 100644
--- a/sysutils/htop/Makefile
+++ b/sysutils/htop/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	htop
 DISTVERSION=	3.3.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
+MASTER_SITES=	https://github.com/htop-dev/htop/releases/download/${DISTVERSION}/
 
 MAINTAINER=	gaod@hychen.org
 COMMENT=	Better top(1) - interactive process viewer
@@ -10,14 +11,9 @@ WWW=		https://htop.dev/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf compiler:c11 cpe libtool localbase \
-		ncurses pkgconfig python:build shebangfix
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	htop-dev
+USES=		ncurses tar:xz
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--enable-unicode
 
 PLIST_FILES=	bin/htop \
diff --git a/sysutils/htop/distinfo b/sysutils/htop/distinfo
index d21bc33fcf9e..d247b5d6850f 100644
--- a/sysutils/htop/distinfo
+++ b/sysutils/htop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707274617
-SHA256 (htop-dev-htop-3.3.0_GH0.tar.gz) = 1e5cc328eee2bd1acff89f860e3179ea24b85df3ac483433f92a29977b14b045
-SIZE (htop-dev-htop-3.3.0_GH0.tar.gz) = 406012
+TIMESTAMP = 1723652453
+SHA256 (htop-3.3.0.tar.xz) = a69acf9b42ff592c4861010fce7d8006805f0d6ef0e8ee647a6ee6e59b743d5c
+SIZE (htop-3.3.0.tar.xz) = 337956
-- 
2.46.0