summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/bwm-ng/Makefile25
-rw-r--r--net-mgmt/bwm-ng/distinfo3
-rw-r--r--net-mgmt/bwm-ng/pkg-descr14
4 files changed, 43 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 3d3c99eae4bb..aa29a0e83ab9 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -27,6 +27,7 @@
SUBDIR += braa
SUBDIR += bsd-airtools
SUBDIR += bsnmpd
+ SUBDIR += bwm-ng
SUBDIR += cdpd
SUBDIR += cdpr
SUBDIR += cfgstoragemk
diff --git a/net-mgmt/bwm-ng/Makefile b/net-mgmt/bwm-ng/Makefile
new file mode 100644
index 000000000000..d1724f2602e3
--- /dev/null
+++ b/net-mgmt/bwm-ng/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: bwm-ng
+# Date created: 19 February 2006
+# Whom: Tim Bishop <tdb@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bwm-ng
+PORTVERSION= 0.5
+CATEGORIES= net-mgmt
+MASTER_SITES= http://www.gropp.org/bwm-ng/
+
+MAINTAINER= tdb@FreeBSD.org
+COMMENT= A small and simple bandwidth monitor
+
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+LIB_DEPENDS= statgrab.7:${PORTSDIR}/devel/libstatgrab
+
+GNU_CONFIGURE= yes
+MAN1= bwm-ng.1
+PLIST_FILES= bin/bwm-ng
+
+CONFIGURE_ENV= LIBS="`pkg-config --libs libstatgrab`"
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/bwm-ng/distinfo b/net-mgmt/bwm-ng/distinfo
new file mode 100644
index 000000000000..12757926c4ad
--- /dev/null
+++ b/net-mgmt/bwm-ng/distinfo
@@ -0,0 +1,3 @@
+MD5 (bwm-ng-0.5.tar.gz) = 4c5197527c985dc8b45973dfd00deca0
+SHA256 (bwm-ng-0.5.tar.gz) = 128962eaa5126e5e8008abc29b32f2107f7ebddcb76cf0b3bb4a09c92a4249c8
+SIZE (bwm-ng-0.5.tar.gz) = 68498
diff --git a/net-mgmt/bwm-ng/pkg-descr b/net-mgmt/bwm-ng/pkg-descr
new file mode 100644
index 000000000000..1367f90148a7
--- /dev/null
+++ b/net-mgmt/bwm-ng/pkg-descr
@@ -0,0 +1,14 @@
+Bandwidth Monitor NG is a small and simple console-based live
+bandwidth monitor for Linux, BSD, Solaris, Mac OS X and others.
+
+Short list of features:
+
+ * supports /proc/net/dev, netstat, getifaddr, sysctl, kstat and libstatgrab
+ * unlimited number of interfaces supported
+ * interfaces are added or removed dynamically from list
+ * white-/blacklist of interfaces
+ * output of KB/s, Kb/s, packets, errors, average, max and total sum
+ * output in curses, plain console, CSV or HTML
+ * configfile
+
+WWW: http://www.gropp.org/