aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-20 20:40:57 +0800
committerkrion <krion@FreeBSD.org>2003-08-20 20:40:57 +0800
commit45321470bda5401a128d1dc2ba26b04382782e33 (patch)
tree612ee0a8f4d814eb54201556d0b4f946939641f9 /net
parent59b1b340381d2ad28ce1f64b3ec19a37590993dd (diff)
downloadfreebsd-ports-gnome-45321470bda5401a128d1dc2ba26b04382782e33.tar.gz
freebsd-ports-gnome-45321470bda5401a128d1dc2ba26b04382782e33.tar.zst
freebsd-ports-gnome-45321470bda5401a128d1dc2ba26b04382782e33.zip
- get rid of ${STRIP_CMD}
- documentation fixes PR: 55803 Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/nload/Makefile3
-rw-r--r--net/nload/files/patch-ab33
2 files changed, 33 insertions, 3 deletions
diff --git a/net/nload/Makefile b/net/nload/Makefile
index cf9d3761fc49..8b2a24ed9126 100644
--- a/net/nload/Makefile
+++ b/net/nload/Makefile
@@ -19,7 +19,4 @@ HAS_CONFIGURE= yes
MAN1= nload.1
MANCOMPRESSED= yes
-post-install:
- ${STRIP_CMD} ${PREFIX}/bin/nload
-
.include <bsd.port.mk>
diff --git a/net/nload/files/patch-ab b/net/nload/files/patch-ab
new file mode 100644
index 000000000000..a75960c58f45
--- /dev/null
+++ b/net/nload/files/patch-ab
@@ -0,0 +1,33 @@
+--- src/main.cpp.orig Wed Aug 20 13:39:57 2003
++++ src/main.cpp Wed Aug 20 13:40:16 2003
+@@ -441,7 +441,7 @@
+ " default is \"%s\"\n"
+ "--help\n"
+ "-h print this help\n\n"
+- "example: %s -t 200 -s 7 -i 1024 -o 128 -U h eth0 eth1\n\n"
++ "example: %s -t 200 -s 7 -i 1024 -o 128 -U h fxp0 fxp1\n\n"
+ "The options above can also be changed at run time by pressing the 'o' key.\n\n",
+ PACKAGE,
+ VERSION,
+--- docs/nload.1.in.orig Wed Aug 20 13:38:09 2003
++++ docs/nload.1.in Wed Aug 20 13:38:31 2003
+@@ -85,7 +85,7 @@
+ The default is M.
+ .TP
+ .B devices
+-Network devices to use. The default device is "eth0".
++Network devices to use. The default device is "fxp0".
+ .TP
+ .B \-h, \-\-help
+ Show a short summary of these command line options.
+@@ -112,10 +112,6 @@
+ .TP
+ .B '+', '-'
+ Scroll the option window.
+-
+-.SH FILES
+-.I /proc/net/dev
+-is read by nload to get the network traffic data.
+
+ .SH VERSION
+ This is version @VERSION@ of nload.