Joerg Jung <m...@umaxx.net> writes: > Hi,
Hi, > please find attached a port for the tiny dstat utility, which is written > for and requires x11/dwm. > > $ cat pkg/DESCR > dstat is a lightweight utility to set the dwm status bar text. dstat displays > the current network throughput, CPU usage, performance settings, battery > status, temperature, volume settings, as well as the current date and time on > the dwm status bar. > > > Comments, OKs for import? cc -c -Os -ansi -pedantic -Wall -Wextra -Isrc -I/usr/include -I/usr/local/include -I/usr/X11R6/include -o dstat.o dstat.c This ^^^ is wrong, ports should respect DEBUG=-g / CFLAGS. dstat.c includes machine/apmvar.h, shouldn't this port be ONLY_FOR_ARCHS=${APM_ARCHS}? Except for this, looks fine. mandoc catched this: $ mandoc -Tlint dstat.1 mandoc: dstat.1:88:2: WARNING: unusual Xr punctuation: . before apm(4) -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE