new port: sysutils/p5-BSD-getloadavg: a 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

Versus the original contribution, I've made two changes:
- dropped .packlist from the pkg-plist (complaints in poudriere
  and in live system)
- dropped PORTREVISION=1 - a new port starts out with
  PORTREVISION=0, and since that is a default we normally omit
  it on ports that stand alone.

PR:		250174
Submitted by:	Gert Döring <gert@greenie.muc.de>
This commit is contained in:
Matthias Andree 2020-12-09 21:43:05 +00:00
parent 31b286bd46
commit 62cb207460
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557388
5 changed files with 32 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,19 @@
# Created by: Gert Doering <gert@space.net>
# $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 <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1602061942
SHA256 (BSD-getloadavg-0.03.tar.gz) = 23e842f6fcd52407152cb6f998b57859af60e4b41672b3bb410d3bc719b34ec5
SIZE (BSD-getloadavg-0.03.tar.gz) = 34012

View File

@ -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

View File

@ -0,0 +1,3 @@
%%SITE_ARCH%%/BSD/getloadavg.pm
%%SITE_ARCH%%/auto/BSD/getloadavg/getloadavg.so
%%PERL5_MAN3%%/BSD::getloadavg.3.gz