Permalink
Browse files

Package nicstat-1.92.

  • Loading branch information...
1 parent 757228a commit a26f0fa840558d3a68580415d22da48e61c15fa5 @jperkin jperkin committed Feb 6, 2013
Showing with 44 additions and 0 deletions.
  1. +3 −0 nicstat/DESCR
  2. +33 −0 nicstat/Makefile
  3. +3 −0 nicstat/PLIST
  4. +5 −0 nicstat/distinfo
View
@@ -0,0 +1,3 @@
+nicstat is a Solaris and Linux command-line that prints out network statistics
+for all network interface cards (NICs), including packets, kilobytes per
+second, average packet sizes and more.
View
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+PKGNAME= ${DISTNAME:C/-src//}
+DISTNAME= nicstat-src-1.92
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nicstat/}
+
+MAINTAINER= jperkin@joyent.com
+HOMEPAGE= http://nicstat.sourceforge.net/
+COMMENT= Network traffic statics utility for Solaris and Linux
+LICENSE= artistic-2.0
+
+ONLY_FOR_PLATFORM= Linux-*-* SunOS-*-*
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_LANGUAGES= c
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+MAKE_FILE= Makefile.Linux
+.elif ${OPSYS} == "SunOS"
+MAKE_FILE= Makefile.Solaris
+.endif
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/.nicstat* ${DESTDIR}${PREFIX}/bin/nicstat
+ ${INSTALL_MAN} ${WRKSRC}/nicstat.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+
+.include "../../mk/bsd.pkg.mk"
View
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/nicstat
+man/man1/nicstat.1
View
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (nicstat-src-1.92.tar.gz) = 812495af67efc3544e32ce63ab81f4781ce29c84
+RMD160 (nicstat-src-1.92.tar.gz) = a1d1f80e314b7060e4d023ac953e39fc7f289233
+Size (nicstat-src-1.92.tar.gz) = 30964 bytes

0 comments on commit a26f0fa

Please sign in to comment.