summaryrefslogtreecommitdiff
path: root/sysutils/htop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/htop/Makefile')
-rw-r--r--sysutils/htop/Makefile22
1 files changed, 13 insertions, 9 deletions
diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile
index 32932ea1f7e..5504c18f157 100644
--- a/sysutils/htop/Makefile
+++ b/sysutils/htop/Makefile
@@ -1,24 +1,28 @@
-# $NetBSD: Makefile,v 1.20 2020/12/04 20:45:41 nia Exp $
+# $NetBSD: Makefile,v 1.21 2021/03/15 22:23:58 fox Exp $
-DISTNAME= htop-2.2.0
-PKGREVISION= 2
+DISTNAME= htop-3.0.5
CATEGORIES= sysutils
-MASTER_SITES= http://hisham.hm/htop/releases/${PKGVERSION_NOREV}/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=htop-dev/}
+GITHUB_TAG= 3.0.5
+EXTRACT_USING= bsdtar
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= https://hisham.hm/htop/
+HOMEPAGE= https://htop.dev/
COMMENT= Enhanced version of top utility
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+USE_TOOLS+= autoreconf automake
USE_NCURSES= yes # uses ncurses mouse definitions
-REPLACE_PYTHON+= scripts/MakeHeader.py
-CONFIGURE_ENV+= ac_cv_file__proc_meminfo=yes
-CONFIGURE_ENV+= ac_cv_file__proc_stat=yes
+CONFIGURE_ENV+= ac_cv_file__proc_meminfo=yes
+CONFIGURE_ENV+= ac_cv_file__proc_stat=yes
+
+pre-configure:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./autogen.sh
-.include "../../lang/python/application.mk"
.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"