mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add devel/p5-Proc-Queue 1.16, a Perl module that overrides fork and
related syscalls to limit the number of spawned children transparently.
This commit is contained in:
parent
fdf52f317d
commit
c96aa66a28
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152275
5 changed files with 43 additions and 0 deletions
|
@ -1097,6 +1097,7 @@
|
|||
SUBDIR += p5-Proc-PID-File
|
||||
SUBDIR += p5-Proc-PIDFile
|
||||
SUBDIR += p5-Proc-ProcessTable
|
||||
SUBDIR += p5-Proc-Queue
|
||||
SUBDIR += p5-Proc-Reliable
|
||||
SUBDIR += p5-Proc-Simple
|
||||
SUBDIR += p5-Project-Gantt
|
||||
|
|
28
devel/p5-Proc-Queue/Makefile
Normal file
28
devel/p5-Proc-Queue/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# New ports collection makefile for: devel/p5-Proc-Queue
|
||||
# Date created: 28 December 2005
|
||||
# Whom: Anton Berezin <tobez@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Proc-Queue
|
||||
PORTVERSION= 1.16
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Proc
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= tobez@FreeBSD.org
|
||||
COMMENT= Proc::Queue - limit the number of child processes running
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Proc::Queue.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
devel/p5-Proc-Queue/distinfo
Normal file
3
devel/p5-Proc-Queue/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (Proc-Queue-1.16.tar.gz) = 154b98dba798de3aa9dc3d3b87ab583e
|
||||
SHA256 (Proc-Queue-1.16.tar.gz) = 1e9b95851fad236856d4c11ea84a6a4e02257b87dc7814f7eb36cf56ceb08fb2
|
||||
SIZE (Proc-Queue-1.16.tar.gz) = 7890
|
5
devel/p5-Proc-Queue/pkg-descr
Normal file
5
devel/p5-Proc-Queue/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
This module lets you parallelise a perl program using the fork, exit,
|
||||
wait and waitpid calls as usual but without taking care of creating too
|
||||
many processes and overloading the machine.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Proc-Queue/
|
6
devel/p5-Proc-Queue/pkg-plist
Normal file
6
devel/p5-Proc-Queue/pkg-plist
Normal file
|
@ -0,0 +1,6 @@
|
|||
%%SITE_PERL%%/Proc/Queue.pm
|
||||
%%SITE_PERL%%/Proc/example.pl
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Proc/Queue/.packlist
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Proc/Queue 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Proc 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Proc 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue