From 425a12f6f0f1e80074cf14ade1b3de25c0c1595a Mon Sep 17 00:00:00 2001 From: Santhosh Raju Date: Sun, 1 Mar 2020 08:02:14 -0500 Subject: [PATCH] htop-git: Modified version of sysutils/htop for NetBSD without procfs mount. --- htop-git/DESCR | 3 +++ htop-git/Makefile | 32 ++++++++++++++++++++++++++++++++ htop-git/PLIST | 5 +++++ htop-git/distinfo | 6 ++++++ 4 files changed, 46 insertions(+) create mode 100644 htop-git/DESCR create mode 100644 htop-git/Makefile create mode 100644 htop-git/PLIST create mode 100644 htop-git/distinfo diff --git a/htop-git/DESCR b/htop-git/DESCR new file mode 100644 index 0000000000..1402d72ae5 --- /dev/null +++ b/htop-git/DESCR @@ -0,0 +1,3 @@ +This is htop, an interactive process viewer. + +This version for NetBSD does not require procfs mount. diff --git a/htop-git/Makefile b/htop-git/Makefile new file mode 100644 index 0000000000..e2f3035ed8 --- /dev/null +++ b/htop-git/Makefile @@ -0,0 +1,32 @@ +# $NetBSD$ + +DISTNAME= htop-2.2.0.20200227 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_GITHUB:=fraggerfox/} +GITHUB_TAG= 37ccabf6ec2c62007b4353df01c74eb95c301825 +EXTRACT_USING= bsdtar + +MAINTAINER= fox@NetBSD.org +HOMEPAGE= https://github.com/fraggerfox/htop/tree/netbsd-no-procfs/netbsd +COMMENT= Enhanced version of top utility +LICENSE= gnu-gpl-v2 + +# This version does not need procfs mount in NetBSD +# Report bugs to fox@NetBSD.org +CONFLICTS= htop-[0-9]* + +GNU_CONFIGURE= yes +USE_TOOLS+= autoreconf autoconf automake gmake m4 pkg-config +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +USE_NCURSES= yes # uses ncurses mouse definitions + +REPLACE_PYTHON+= scripts/MakeHeader.py + +pre-configure: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} autoreconf -vif + +.include "../../lang/python/application.mk" +.include "../../devel/ncursesw/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/htop-git/PLIST b/htop-git/PLIST new file mode 100644 index 0000000000..f6286c6e43 --- /dev/null +++ b/htop-git/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD$ +bin/htop +man/man1/htop.1 +share/applications/htop.desktop +share/pixmaps/htop.png diff --git a/htop-git/distinfo b/htop-git/distinfo new file mode 100644 index 0000000000..8ed383439e --- /dev/null +++ b/htop-git/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +SHA1 (htop-2.2.0.20200227-37ccabf6ec2c62007b4353df01c74eb95c301825.tar.gz) = 39925d9fe0308453e8b17011545f921a1c9a654f +RMD160 (htop-2.2.0.20200227-37ccabf6ec2c62007b4353df01c74eb95c301825.tar.gz) = 4d27a482d0ff0d8d2467ec7e8693b2b218c1491d +SHA512 (htop-2.2.0.20200227-37ccabf6ec2c62007b4353df01c74eb95c301825.tar.gz) = 8041888eadc357adeef9073a9c717d673b4c1b71fdb9d180ba600ccdc0f848b1199f11d56b001c7f3d9e43e27d427b50beb7c1bbfd4cadab0b847053ce805598 +Size (htop-2.2.0.20200227-37ccabf6ec2c62007b4353df01c74eb95c301825.tar.gz) = 176250 bytes