diff options
author | edwin <edwin@FreeBSD.org> | 2003-02-05 00:22:18 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-02-05 00:22:18 +0000 |
commit | c5cc4c37c563c67b37c30e89bfa30e0c3e0a3125 (patch) | |
tree | c3473b957b3430d344822ba0142cc6fb8c0f72bc /sysutils | |
parent | 82444246934e904b379d5ee67bb915ebbff09674 (diff) | |
download | FreeBSD-ports-c5cc4c37c563c67b37c30e89bfa30e0c3e0a3125.zip FreeBSD-ports-c5cc4c37c563c67b37c30e89bfa30e0c3e0a3125.tar.gz |
New port: sysutils/p5-Sys-CpuLoad - CPU load averages in Perl
This Perl5 module retrieves the 1 minute, 5 minute, and 15
minute load average of a machine.
PR: ports/46862
Submitted by: Lars Thegler <lars@thegler.dk>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/p5-Sys-CpuLoad/Makefile | 22 | ||||
-rw-r--r-- | sysutils/p5-Sys-CpuLoad/distinfo | 1 | ||||
-rw-r--r-- | sysutils/p5-Sys-CpuLoad/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/p5-Sys-CpuLoad/pkg-descr | 7 | ||||
-rw-r--r-- | sysutils/p5-Sys-CpuLoad/pkg-plist | 8 |
6 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 6f81574..ce6e856 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -161,6 +161,7 @@ SUBDIR += p5-Schedule-Cron SUBDIR += p5-Schedule-Match SUBDIR += p5-Stat-lsMode + SUBDIR += p5-Sys-CpuLoad SUBDIR += p5-SyslogScan SUBDIR += p5-Tie-Syslog SUBDIR += p5-Unix-ConfigFile diff --git a/sysutils/p5-Sys-CpuLoad/Makefile b/sysutils/p5-Sys-CpuLoad/Makefile new file mode 100644 index 0000000..d8fb9c7 --- /dev/null +++ b/sysutils/p5-Sys-CpuLoad/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Sys-CpuLoad +# Date created: Sun Jan 5 09:13:46 CET 2003 +# Whom: Lars Thegler <lars@thegler.dk> +# +# $FreeBSD$ +# + +PORTNAME= Sys-CpuLoad +PORTVERSION= 0.03 +CATEGORIES= sysutils perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Sys +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@thegler.dk + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Sys::CpuLoad.3 + +.include <bsd.port.mk> diff --git a/sysutils/p5-Sys-CpuLoad/distinfo b/sysutils/p5-Sys-CpuLoad/distinfo new file mode 100644 index 0000000..cd48f35 --- /dev/null +++ b/sysutils/p5-Sys-CpuLoad/distinfo @@ -0,0 +1 @@ +MD5 (Sys-CpuLoad-0.03.tar.gz) = 40b7683c26e8c8d3b11ddef1c139ac27 diff --git a/sysutils/p5-Sys-CpuLoad/pkg-comment b/sysutils/p5-Sys-CpuLoad/pkg-comment new file mode 100644 index 0000000..60f71d2 --- /dev/null +++ b/sysutils/p5-Sys-CpuLoad/pkg-comment @@ -0,0 +1 @@ +Perl5 module to retrieve CPU load averages diff --git a/sysutils/p5-Sys-CpuLoad/pkg-descr b/sysutils/p5-Sys-CpuLoad/pkg-descr new file mode 100644 index 0000000..8f02807 --- /dev/null +++ b/sysutils/p5-Sys-CpuLoad/pkg-descr @@ -0,0 +1,7 @@ +This Perl5 module retrieves the 1 minute, 5 minute, and 15 +minute load average of a machine. + +WWW: http://search.cpan.org/search?dist=Sys-CpuLoad + +- Lars Thegler +lars@thegler.dk diff --git a/sysutils/p5-Sys-CpuLoad/pkg-plist b/sysutils/p5-Sys-CpuLoad/pkg-plist new file mode 100644 index 0000000..1f454eb --- /dev/null +++ b/sysutils/p5-Sys-CpuLoad/pkg-plist @@ -0,0 +1,8 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Sys/CpuLoad.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Sys/CpuLoad/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Sys/CpuLoad/CpuLoad.so +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Sys/CpuLoad/CpuLoad.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Sys/CpuLoad/autosplit.ix +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Sys/CpuLoad +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Sys 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Sys 2>/dev/null || true |