ports/net/pload/Makefile
J.R. Oldroyd 82f3677256 net/pload: Fix command-line args and unit display.
This patch updates the port to fix the fact that the code calls
XtAppInitialize() which eats the command-line args and so causes ps(1)
to not display them. The command-line args are now saved before and restored
after the call to XtAppInitialize().

Also, correct the display of the units of total byte counts to show as "B",
"kB", "GB" etc, rather than the imprecise/incorrect "b", "k", "G" etc.

PR:		267710
Approved by:	J.R. Oldroyd (maintainer)
2023-01-16 18:33:55 +01:00

18 lines
425 B
Makefile

PORTNAME= pload
PORTVERSION= 0.9.5
PORTREVISION= 5
CATEGORIES= net sysutils
MASTER_SITES= http://opal.com/src/pload/ LOCAL/pav
MAINTAINER= fbsd@opal.com
COMMENT= X11 program to display network traffic graphs
WWW= https://opal.com/src/pload/
USES= imake:env xorg
USE_XORG= ice sm x11 xaw xext xmu xpm xt
HAS_CONFIGURE= yes
LATE_INSTALL_ARGS= install.man
PLIST_FILES= bin/pload man/man1/pload.1.gz
.include <bsd.port.mk>