From 6c0f96e6befdb015e257553f41c2ffb7658b3535 Mon Sep 17 00:00:00 2001 From: pgollucci Date: Mon, 13 Sep 2010 02:10:09 +0000 Subject: pcpustat provides per-cpu usage statistics in a format that can be piped. WWW: http://chipstips.com/?tag=c_pcpustat PR: ports/149040 Submitted by: sterling --- sysutils/Makefile | 1 + sysutils/pcpustat/Makefile | 30 ++++++++++++++++++++++++++++++ sysutils/pcpustat/distinfo | 3 +++ sysutils/pcpustat/files/license.txt | 25 +++++++++++++++++++++++++ sysutils/pcpustat/pkg-descr | 3 +++ 5 files changed, 62 insertions(+) create mode 100644 sysutils/pcpustat/Makefile create mode 100644 sysutils/pcpustat/distinfo create mode 100644 sysutils/pcpustat/files/license.txt create mode 100644 sysutils/pcpustat/pkg-descr (limited to 'sysutils') diff --git a/sysutils/Makefile b/sysutils/Makefile index 063902894264..ab033499b0c7 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -605,6 +605,7 @@ SUBDIR += pbreg SUBDIR += pcfclock SUBDIR += pciutils + SUBDIR += pcpustat SUBDIR += pdixtract SUBDIR += pdsh SUBDIR += pdumpfs diff --git a/sysutils/pcpustat/Makefile b/sysutils/pcpustat/Makefile new file mode 100644 index 000000000000..da079a198b65 --- /dev/null +++ b/sysutils/pcpustat/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: pcpustat +# Date created: 13 July 2010 +# Whom: sterling +# +# $FreeBSD$ +# + +PORTNAME= pcpustat +PORTVERSION= 1.1 +CATEGORIES= sysutils +MASTER_SITES= http://chipstips.com/download/ + +MAINTAINER= sterling@camdensoftware.com +COMMENT= Per-CPU usage statistics + +MAN1= pcpustat.1 + +USE_BZIP2= yes +PLIST_FILES= bin/pcpustat + +LICENSE= OWL +LICENSE_NAME= Open Works License +LICENSE_PERMS= none +LICENSE_FILE= ${FILESDIR}/license.txt + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 ${MANPREFIX}/man/man1 + +.include diff --git a/sysutils/pcpustat/distinfo b/sysutils/pcpustat/distinfo new file mode 100644 index 000000000000..e0049abd4720 --- /dev/null +++ b/sysutils/pcpustat/distinfo @@ -0,0 +1,3 @@ +MD5 (pcpustat-1.1.tar.bz2) = 2e5300fb722250e0ee549432da916273 +SHA256 (pcpustat-1.1.tar.bz2) = c60beff5cce7ea49b26de6ead1515345d4ad31e3fd43d5e80667e0ec5b789535 +SIZE (pcpustat-1.1.tar.bz2) = 4040 diff --git a/sysutils/pcpustat/files/license.txt b/sysutils/pcpustat/files/license.txt new file mode 100644 index 000000000000..289bfbb5e90e --- /dev/null +++ b/sysutils/pcpustat/files/license.txt @@ -0,0 +1,25 @@ +# Open Works License + +This is version 0.7 of the Open Works License. + +## Terms + +Permission is hereby granted by the copyright holder(s), author(s), +and contributor(s) of this work, to any person who obtains a copy of +this work, in any form, to reproduce, modify, distribute, publish, +sell, use, or otherwise deal in the licensed material without +restriction, provided the following conditions are met: + +1. Redistributions, modified or unmodified, in whole or in part, must + retain the above license notice, this list of conditions, and the + following disclaimer. + +2. Redistributions, modified or unmodified, in whole or in part, must + retain any applicable notices of attribution and copyright. + +No warranty or guarantee is implied, or should be inferred, by this +license or the act of distribution under the terms of this license. +This license does not grant permission to use the trade names, +trademarks, service marks, product names, or other identifications +used by the licensor except as required for reasonable and customary +use in reproducing, and describing the origin or use of, the work. diff --git a/sysutils/pcpustat/pkg-descr b/sysutils/pcpustat/pkg-descr new file mode 100644 index 000000000000..ef2e7cdb6e4c --- /dev/null +++ b/sysutils/pcpustat/pkg-descr @@ -0,0 +1,3 @@ +pcpustat provides per-cpu usage statistics in a format that can be piped. + +WWW: http://chipstips.com/?tag=c_pcpustat -- cgit