pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
tosview: Initial package
Module Name: pkgsrc-wip
Committed By: Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By: drixter
Date: Mon Sep 14 10:19:24 2026 +0200
Changeset: e2004b93b713976468c45b5d2e5f4bdf061c231e
Added Files:
tosview/COMMIT_MSG
tosview/DESCR
tosview/Makefile
tosview/PLIST
tosview/distinfo
tosview/patches/patch-Makefile
Log Message:
tosview: Initial package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e2004b93b713976468c45b5d2e5f4bdf061c231e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
tosview/COMMIT_MSG | 6 ++++++
tosview/DESCR | 6 ++++++
tosview/Makefile | 15 +++++++++++++++
tosview/PLIST | 3 +++
tosview/distinfo | 6 ++++++
tosview/patches/patch-Makefile | 33 +++++++++++++++++++++++++++++++++
6 files changed, 69 insertions(+)
diffs:
diff --git a/tosview/COMMIT_MSG b/tosview/COMMIT_MSG
new file mode 100644
index 0000000000..034d5e283c
--- /dev/null
+++ b/tosview/COMMIT_MSG
@@ -0,0 +1,6 @@
+tosview is a terminal system resource monitor written in C,
+inspired by SGI IRIX gr_osview and xosview.
+Its main visual model is resource composition: several
+native resource states share one horizontal stacked bar.
+It is not a top clone and will not include a process list
+or process sorting.
diff --git a/tosview/DESCR b/tosview/DESCR
new file mode 100644
index 0000000000..034d5e283c
--- /dev/null
+++ b/tosview/DESCR
@@ -0,0 +1,6 @@
+tosview is a terminal system resource monitor written in C,
+inspired by SGI IRIX gr_osview and xosview.
+Its main visual model is resource composition: several
+native resource states share one horizontal stacked bar.
+It is not a top clone and will not include a process list
+or process sorting.
diff --git a/tosview/Makefile b/tosview/Makefile
new file mode 100644
index 0000000000..bdd99be5b6
--- /dev/null
+++ b/tosview/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+DISTNAME= tosview-0.1.0
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=lex0de/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= drixter%e-utp.net@localhost
+HOMEPAGE= https://github.com/lex0de/tosview/
+COMMENT= Terminal system resource monitor written in C
+LICENSE= isc
+
+MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/tosview/PLIST b/tosview/PLIST
new file mode 100644
index 0000000000..c254942d28
--- /dev/null
+++ b/tosview/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/tosview
+man/man1/tosview.1
diff --git a/tosview/distinfo b/tosview/distinfo
new file mode 100644
index 0000000000..1434739dd6
--- /dev/null
+++ b/tosview/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (tosview-0.1.0.tar.gz) = 57072478f8a3bcfe5ece3d17824e71164e5a14df1fce510f906a6c5ef36295e2
+SHA512 (tosview-0.1.0.tar.gz) = 4874353bab3387c90539a0f5c2842f9ade4bfe9535dca29d603fa145e430b99a0e0171794ac17efbf4703f154d2e2da0b4070483a007a19868ffcd06c470d587
+Size (tosview-0.1.0.tar.gz) = 163461 bytes
+SHA1 (patch-Makefile) = 0388ae2a0452440a583cf41b61b4aaddc73d963b
diff --git a/tosview/patches/patch-Makefile b/tosview/patches/patch-Makefile
new file mode 100644
index 0000000000..98bf201409
--- /dev/null
+++ b/tosview/patches/patch-Makefile
@@ -0,0 +1,33 @@
+$NetBSD$
+
+Make variables configurable
+
+--- Makefile.orig 2026-09-14 08:12:09.484898456 +0000
++++ Makefile
+@@ -1,16 +1,16 @@
+ # tosview - Developed by lex0de (lex0de%tuta.com@localhost)
+ # tosview/Makefile
+
+-CC = cc
+-CFLAGS = -O
+-CPPFLAGS =
+-LDFLAGS =
+-LDLIBS = -lcurses
+-OSLIBS = `uname -s | sed -n 's/^SunOS$$/-lkstat/p'`
+-PREFIX = /usr/local
+-MANDIR = ${PREFIX}/share/man/man1
+-DESTDIR =
+-PLATFORM = auto
++CC ?= cc
++CFLAGS ?= -O
++CPPFLAGS ?=
++LDFLAGS ?=
++LDLIBS ?= -lcurses
++OSLIBS ?= `uname -s | sed -n 's/^SunOS$$/-lkstat/p'`
++PREFIX ?= /usr/local
++MANDIR ?= ${PREFIX}/share/man/man1
++DESTDIR ?=
++PLATFORM ?= auto
+
+ OBJS = src/main.o src/meter.o src/cpu.o src/rate.o src/ui.o src/compat.o
+ COLLECTORS = platform/auto.c platform/none.c platform/openbsd.c platform/freebsd.c \
Home |
Main Index |
Thread Index |
Old Index