Update to 0.21

- Add LICENSE
- Add TEST_DEPENDS
- Strip shared library

Changes:	https://metacpan.org/changes/distribution/Sys-CpuLoad
This commit is contained in:
sunpoet
2020-04-07 14:35:20 +00:00
parent 8e68dc1152
commit b308dd4651
3 changed files with 13 additions and 5 deletions
+10 -2
View File
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Sys-CpuLoad
PORTVERSION= 0.03
PORTREVISION= 1
PORTVERSION= 0.21
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -11,7 +10,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 module to retrieve CPU load averages
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= p5-Test-Most>=0:devel/p5-Test-Most
USES= perl5
USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Sys/CpuLoad/CpuLoad.so
.include <bsd.port.mk>
+3 -2
View File
@@ -1,2 +1,3 @@
SHA256 (Sys-CpuLoad-0.03.tar.gz) = 1cf00625261cacabf15b407055cd5f090ffea50a42378ee426de48266ce0fab3
SIZE (Sys-CpuLoad-0.03.tar.gz) = 2806
TIMESTAMP = 1586191162
SHA256 (Sys-CpuLoad-0.21.tar.gz) = 74a3d86c9d91961615cd4e4ce350172a83c2dd1f341b3ab6ae227d43d759eda1
SIZE (Sys-CpuLoad-0.21.tar.gz) = 17438
-1
View File
@@ -1,4 +1,3 @@
%%SITE_ARCH%%/Sys/CpuLoad.pm
%%SITE_ARCH%%/auto/Sys/CpuLoad/CpuLoad.so
%%SITE_ARCH%%/auto/Sys/CpuLoad/autosplit.ix
%%PERL5_MAN3%%/Sys::CpuLoad.3.gz