pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
btop-git: add man page.
Module Name: pkgsrc-wip
Committed By: Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By: fox
Date: Mon Mar 4 21:31:57 2024 +0100
Changeset: c283cb12e5af0f7c03a9f6429c29a0fef7af726a
Modified Files:
btop-git/Makefile
btop-git/PLIST
btop-git/distinfo
Added Files:
btop-git/files/btop.1
Log Message:
btop-git: add man page.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c283cb12e5af0f7c03a9f6429c29a0fef7af726a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
btop-git/Makefile | 15 ++++++++++++--
btop-git/PLIST | 2 ++
btop-git/distinfo | 6 +++---
btop-git/files/btop.1 | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 74 insertions(+), 5 deletions(-)
diffs:
diff --git a/btop-git/Makefile b/btop-git/Makefile
index 9a6203f8f2..be05293bd9 100644
--- a/btop-git/Makefile
+++ b/btop-git/Makefile
@@ -1,10 +1,10 @@
# $NetBSD$
-DISTNAME= btop-1.2.13.20240301
+DISTNAME= btop-1.2.13.20240304
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=aristocratos/}
#GITHUB_TAG= v${PKGVERSION_NOREV}
-GITHUB_TAG= c6fbfd1e27c27cfe89b2e272c0419e57193ea8c5
+GITHUB_TAG= c767099d765b0094c50b8c66030aeacff26f56ef
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://github.com/aristocratos/btop
@@ -15,9 +15,20 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GCC_REQD+= 10 # needs --std=c++20
+INSTALLATION_DIRS= ${PKGMANDIR}/man1
+
CXXFLAGS+= -DNDEBUG
MAKE_ENV+= STRIP=true VERBOSE=true
+post-extract:
+ ${CHMOD} -R g-w ${WRKSRC}
+
+post-build:
+ ${CP} ${FILESDIR}/btop.1 ${WRKDIR}/btop.1
+
+post-install:
+ ${INSTALL_MAN} ${WRKDIR}/btop.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/btop-git/PLIST b/btop-git/PLIST
index a736a0a6dd..1151bcbc7b 100644
--- a/btop-git/PLIST
+++ b/btop-git/PLIST
@@ -1,5 +1,6 @@
@comment $NetBSD$
bin/btop
+man/man1/btop.1
share/applications/btop.desktop
share/btop/README.md
share/btop/themes/HotPurpleTrafficLight.theme
@@ -33,3 +34,4 @@ share/btop/themes/tomorrow-night.theme
share/btop/themes/whiteout.theme
share/icons/hicolor/48x48/apps/btop.png
share/icons/hicolor/scalable/apps/btop.svg
+share/man/man1/btop.1
diff --git a/btop-git/distinfo b/btop-git/distinfo
index 0565579847..ce46f2f44d 100644
--- a/btop-git/distinfo
+++ b/btop-git/distinfo
@@ -1,8 +1,8 @@
$NetBSD$
-BLAKE2s (btop-1.2.13.20240301-c6fbfd1e27c27cfe89b2e272c0419e57193ea8c5.tar.gz) = b6ad8dcfdcddb617e330af31d9391650aa8bc913802d6b83dcddb0ab7f8b4959
-SHA512 (btop-1.2.13.20240301-c6fbfd1e27c27cfe89b2e272c0419e57193ea8c5.tar.gz) = 7eeed45e6edbebf59dc61bee625e0266a5fb5804523def3cbad478ce5579d49ac7b842279aeecd3e2557a24beb62092048788952bade33c108c784b9174ef72d
-Size (btop-1.2.13.20240301-c6fbfd1e27c27cfe89b2e272c0419e57193ea8c5.tar.gz) = 1145548 bytes
+BLAKE2s (btop-1.2.13.20240304-c767099d765b0094c50b8c66030aeacff26f56ef.tar.gz) = 8f4a1e5097d9040b5ca3063baa7c8cd16a11471aca6f6977a57b74fb24c7b7ad
+SHA512 (btop-1.2.13.20240304-c767099d765b0094c50b8c66030aeacff26f56ef.tar.gz) = 9263ced32d0a98493a03c1007a12db3301311e062d7c98363a2e186f13602ac0e92d41c02caad72a5072eaeb490974b471d75426c6355621f83632b16e0d053b
+Size (btop-1.2.13.20240304-c767099d765b0094c50b8c66030aeacff26f56ef.tar.gz) = 1146430 bytes
SHA1 (patch-Makefile) = 851febd30b48556be117091f806c2939af23ce38
SHA1 (patch-src_btop.cpp) = 60c805d6a5343d2e46f8f7cb0b03059426871fe9
SHA1 (patch-src_btop__shared.hpp) = 4bc5e25af7a12324d5f7674b4131f802ddad9d0d
diff --git a/btop-git/files/btop.1 b/btop-git/files/btop.1
new file mode 100644
index 0000000000..ab40ead08e
--- /dev/null
+++ b/btop-git/files/btop.1
@@ -0,0 +1,56 @@
+.\" -*- mode: troff; coding: utf-8 -*-
+.TH "btop" "1" "\(lqJanuary 4 2024\(rq" "" "User Commands"
+.SH
+NAME
+.LP
+btop - Resource monitor that shows usage and stats for processor, memory, disks, network, and processes.
+.SH
+SYNOPSIS
+.LP
+\fBbtop\fR [\fB-lc\fR] [\fB-t\fR | \fB+t\fR] [\fB-p\fR \fIid\fR] [\fB--utf-force\fR]
+[\fB--debug\fR] [{\fB-h\fR | \fB--help\fR} | {\fB-v\fR | \fB--version\fR}]
+.SH
+DESCRIPTION
+.LP
+\fBbtop\fR is a program that shows usage and stats for processor, memory, disks, network, and processes.
+.SH
+OPTIONS
+.LP
+The program follows the usual GNU command line syntax, with long options
+starting with two dashes (\(oq-\(cq). A summary of options is included below.
+.TP 3
+\fB-lc\fR, \fB--low-color\fR
+Disable truecolor, converts 24-bit colors to 256-color.
+.TP 3
+\fB-t\fR, \fB--tty_on\fR
+Force (ON) tty mode, max 16 colors and tty-friendly graph symbols.
+.TP 3
+\fB+t\fR, \fB--tty_off\fR
+Force (OFF) tty mode.
+.TP 3
+\fB-p\fR, \fB--preset \f(BIid\fB\fR
+Start with preset, integer value between 0-9.
+.TP 3
+\fB--utf-force\fR
+Force start even if no UTF-8 locale was detected.
+.TP 3
+\fB--debug\fR
+Start in DEBUG mode: shows microsecond timer for information collect and screen draw functions and sets loglevel to DEBUG.
+.TP 3
+\fB-h\fR, \fB--help\fR
+Show summary of options.
+.TP 3
+\fB-v\fR, \fB--version\fR
+Show version of program.
+.SH
+BUGS
+.LP
+The upstream bug tracker can be found at \fIhttps://github.com/aristocratos/btop/issues\fR.
+.SH
+SEE ALSO
+.LP
+\fBtop\fR(1), \fBhtop\fR(1)
+.SH
+AUTHOR
+.LP
+\fBbtop\fR was written by Jakob P. Liljenberg a.k.a. \(lqAristocratos\(rq.
Home |
Main Index |
Thread Index |
Old Index