Index: head/devel/p5-Proc-ProcessTable/Makefile =================================================================== --- head/devel/p5-Proc-ProcessTable/Makefile (revision 504301) +++ head/devel/p5-Proc-ProcessTable/Makefile (revision 504302) @@ -1,35 +1,31 @@ # Created by: Michael Johnson # $FreeBSD$ PORTNAME= Proc-ProcessTable -PORTVERSION= 0.56 +PORTVERSION= 0.58 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JWB PKGNAMEPREFIX= p5- -MAINTAINER= perl@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl interface to the unix process table LICENSE= ART10 GPLv1+ LICENSE_COMB= dual +USES= perl5 +USE_PERL5= configure + OPTIONS_DEFINE= DOCS PORTSCOUT= limit:^[0-9\.]*$$ -USES= perl5 shebangfix -USE_PERL5= configure - -PORTDOCS= README README.freebsd-kvm README.freebsd-procfs - -SHEBANG_FILES= example.pl - post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Proc/ProcessTable/ProcessTable.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.freebsd-* ${STAGEDIR}${DOCSDIR} .include Index: head/devel/p5-Proc-ProcessTable/distinfo =================================================================== --- head/devel/p5-Proc-ProcessTable/distinfo (revision 504301) +++ head/devel/p5-Proc-ProcessTable/distinfo (revision 504302) @@ -1,3 +1,3 @@ -TIMESTAMP = 1549638068 -SHA256 (Proc-ProcessTable-0.56.tar.gz) = 99fb8fd11e4e438399dd362d95b5b2073f1f340e9b3a7f04e76b6c7428170660 -SIZE (Proc-ProcessTable-0.56.tar.gz) = 72944 +TIMESTAMP = 1560671643 +SHA256 (Proc-ProcessTable-0.58.tar.gz) = 8d4215d9c60b42e646c525ebfc63f65386dc0a014fbcc33baf43078668b68260 +SIZE (Proc-ProcessTable-0.58.tar.gz) = 75853 Index: head/devel/p5-Proc-ProcessTable/pkg-descr =================================================================== --- head/devel/p5-Proc-ProcessTable/pkg-descr (revision 504301) +++ head/devel/p5-Proc-ProcessTable/pkg-descr (revision 504302) @@ -1,23 +1,22 @@ -This module is a first crack at providing a consistent interface to -Unix (and maybe other multitasking OS's) process table information. -The impetus for this came about with my frustration at having to parse -the output of various systems' ps commands to check whether specific -processes were running on different boxes at a large mixed Unix site. -The output format of ps was different on each OS, and sometimes -changed with each new release of an OS. Also, running a ps subprocess -from within a perl or shell script and parsing the output was not a +This module is a first crack at providing a consistent interface to Unix (and +maybe other multitasking OS's) process table information. The impetus for this +came about with my frustration at having to parse the output of various systems' +ps commands to check whether specific processes were running on different boxes +at a larged mixed Unix site. The output format of ps was different on each OS, +and sometimes changed with each new release of an OS. Also, running a ps +subprocess from within a perl or shell script and parsing the output was not a very efficient or aesthetic way to do things. With this module, you can do things like this: - # kill memory pigs - use Proc::ProcessTable; + # kill memory pigs + use Proc::ProcessTable; - $t = new Proc::ProcessTable; - foreach $p ( @{$t->table} ){ - if( $p->pctmem > 95 ){ - $p->kill(9); - } + my $t = Proc::ProcessTable->new; + foreach my $p ( @{$t->table} ) { + if( $p->pctmem > 95 ){ + $p->kill(9); } + } WWW: https://metacpan.org/release/Proc-ProcessTable Index: head/devel/p5-Proc-ProcessTable/pkg-plist =================================================================== --- head/devel/p5-Proc-ProcessTable/pkg-plist (revision 504301) +++ head/devel/p5-Proc-ProcessTable/pkg-plist (revision 504302) @@ -1,11 +1,13 @@ %%SITE_ARCH%%/Proc/Killall.pm %%SITE_ARCH%%/Proc/Killfam.pm %%SITE_ARCH%%/Proc/ProcessTable.pm %%SITE_ARCH%%/Proc/ProcessTable/Process.pm -%%SITE_ARCH%%/Proc/example.pl %%SITE_ARCH%%/auto/Proc/ProcessTable/Process/autosplit.ix %%SITE_ARCH%%/auto/Proc/ProcessTable/ProcessTable.so %%PERL5_MAN3%%/Proc::Killall.3.gz %%PERL5_MAN3%%/Proc::Killfam.3.gz %%PERL5_MAN3%%/Proc::ProcessTable.3.gz %%PERL5_MAN3%%/Proc::ProcessTable::Process.3.gz +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.freebsd-kvm +%%PORTDOCS%%%%DOCSDIR%%/README.freebsd-procfs