diff --git a/sysutils/Makefile b/sysutils/Makefile index d6c10f94e7e5..234179090eef 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -791,6 +791,7 @@ SUBDIR += p5-BSD-Jail-Object SUBDIR += p5-BSD-Process SUBDIR += p5-BSD-Sysctl + SUBDIR += p5-BSD-getloadavg SUBDIR += p5-BackupPC-XS SUBDIR += p5-Brackup SUBDIR += p5-Dir-Purge diff --git a/sysutils/p5-BSD-getloadavg/Makefile b/sysutils/p5-BSD-getloadavg/Makefile new file mode 100644 index 000000000000..faebcbc0ca3b --- /dev/null +++ b/sysutils/p5-BSD-getloadavg/Makefile @@ -0,0 +1,19 @@ +# Created by: Gert Doering +# $FreeBSD$ + +PORTNAME= BSD-getloadavg +PORTVERSION= 0.03 +CATEGORIES= sysutils perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= gert@space.net +COMMENT= Perl Interface to getloadavg(3) + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +USES= perl5 +USE_PERL5= configure + +.include diff --git a/sysutils/p5-BSD-getloadavg/distinfo b/sysutils/p5-BSD-getloadavg/distinfo new file mode 100644 index 000000000000..edf21b5190ad --- /dev/null +++ b/sysutils/p5-BSD-getloadavg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1602061942 +SHA256 (BSD-getloadavg-0.03.tar.gz) = 23e842f6fcd52407152cb6f998b57859af60e4b41672b3bb410d3bc719b34ec5 +SIZE (BSD-getloadavg-0.03.tar.gz) = 34012 diff --git a/sysutils/p5-BSD-getloadavg/pkg-descr b/sysutils/p5-BSD-getloadavg/pkg-descr new file mode 100644 index 000000000000..d3a5e079d810 --- /dev/null +++ b/sysutils/p5-BSD-getloadavg/pkg-descr @@ -0,0 +1,6 @@ +Perl Interface to getloadavg(3) + +This module allows you to access load average from perl scripts +without invoking uptime(1). + +WWW: https://metacpan.org/release/BSD-getloadavg diff --git a/sysutils/p5-BSD-getloadavg/pkg-plist b/sysutils/p5-BSD-getloadavg/pkg-plist new file mode 100644 index 000000000000..71b2db4694c6 --- /dev/null +++ b/sysutils/p5-BSD-getloadavg/pkg-plist @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/BSD/getloadavg.pm +%%SITE_ARCH%%/auto/BSD/getloadavg/getloadavg.so +%%PERL5_MAN3%%/BSD::getloadavg.3.gz