git: 1c59b3dd56b3 - main - sysutils/btop: Monitor of resources

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 14 Jun 2022 17:45:19 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c59b3dd56b3aa8c54ada2fd04a1067d455e2f01

commit 1c59b3dd56b3aa8c54ada2fd04a1067d455e2f01
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-06-14 17:41:41 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-06-14 17:41:41 +0000

    sysutils/btop: Monitor of resources
---
 sysutils/Makefile       |  1 +
 sysutils/btop/Makefile  | 17 +++++++++++++++++
 sysutils/btop/distinfo  |  3 +++
 sysutils/btop/pkg-descr |  6 ++++++
 sysutils/btop/pkg-plist | 26 ++++++++++++++++++++++++++
 5 files changed, 53 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index e6b713ed151c..5c0462bd9815 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -140,6 +140,7 @@
     SUBDIR += bsdisks
     SUBDIR += bsdstats
     SUBDIR += bstack
+    SUBDIR += btop
     SUBDIR += btsixad
     SUBDIR += bulk_extractor
     SUBDIR += bupstash
diff --git a/sysutils/btop/Makefile b/sysutils/btop/Makefile
new file mode 100644
index 000000000000..272fd8789763
--- /dev/null
+++ b/sysutils/btop/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	btop
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.2.7
+CATEGORIES=	sysutils
+
+MAINTAINER=	pkubaj@FreeBSD.org
+COMMENT=	Monitor of resources
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gmake
+USE_GCC=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	aristocratos
+
+.include <bsd.port.mk>
diff --git a/sysutils/btop/distinfo b/sysutils/btop/distinfo
new file mode 100644
index 000000000000..1abbeebeb95d
--- /dev/null
+++ b/sysutils/btop/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1655221748
+SHA256 (aristocratos-btop-v1.2.7_GH0.tar.gz) = 60075824ca4e14c1ca920b76ffb101fc2340c5342f3ba600b5c280389b69bbbf
+SIZE (aristocratos-btop-v1.2.7_GH0.tar.gz) = 974883
diff --git a/sysutils/btop/pkg-descr b/sysutils/btop/pkg-descr
new file mode 100644
index 000000000000..35484ece5ce1
--- /dev/null
+++ b/sysutils/btop/pkg-descr
@@ -0,0 +1,6 @@
+Resource monitor that shows usage and stats for processor, memory, disks,
+network and processes.
+
+C++ version and continuation of bashtop and bpytop.
+
+WWW: https://github.com/aristocratos/btop
diff --git a/sysutils/btop/pkg-plist b/sysutils/btop/pkg-plist
new file mode 100644
index 000000000000..0ea6d45e5f5c
--- /dev/null
+++ b/sysutils/btop/pkg-plist
@@ -0,0 +1,26 @@
+bin/btop
+share/applications/btop.desktop
+%%DATADIR%%/README.md
+%%DATADIR%%/themes/HotPurpleTrafficLight.theme
+%%DATADIR%%/themes/adapta.theme
+%%DATADIR%%/themes/ayu.theme
+%%DATADIR%%/themes/dracula.theme
+%%DATADIR%%/themes/dusklight.theme
+%%DATADIR%%/themes/flat-remix-light.theme
+%%DATADIR%%/themes/flat-remix.theme
+%%DATADIR%%/themes/greyscale.theme
+%%DATADIR%%/themes/gruvbox_dark.theme
+%%DATADIR%%/themes/gruvbox_dark_v2.theme
+%%DATADIR%%/themes/gruvbox_material_dark.theme
+%%DATADIR%%/themes/kyli0x.theme
+%%DATADIR%%/themes/matcha-dark-sea.theme
+%%DATADIR%%/themes/monokai.theme
+%%DATADIR%%/themes/night-owl.theme
+%%DATADIR%%/themes/nord.theme
+%%DATADIR%%/themes/onedark.theme
+%%DATADIR%%/themes/solarized_dark.theme
+%%DATADIR%%/themes/tokyo-night.theme
+%%DATADIR%%/themes/tokyo-storm.theme
+%%DATADIR%%/themes/whiteout.theme
+share/icons/hicolor/48x48/apps/btop.png
+share/icons/hicolor/scalable/apps/btop.svg