1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Add p5-Parallel-ForkManager(0.7.4), a perl module for parallel fork

management.

PR:		ports/44505
Submitted by:	Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
This commit is contained in:
Norikatsu Shigemura 2002-11-01 17:32:53 +00:00
parent 1467721081
commit 0c61dc2187
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69257
7 changed files with 60 additions and 0 deletions

View File

@ -544,6 +544,7 @@
SUBDIR += p5-POE-Session-Cascading
SUBDIR += p5-PPerl
SUBDIR += p5-PV
SUBDIR += p5-Parallel-ForkManager
SUBDIR += p5-Params-Validate
SUBDIR += p5-Parse-RecDescent
SUBDIR += p5-Parse-Yapp

View File

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-Parallel-ForkManager
# Date created: October 26th 2002
# Whom: Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
#
# $FreeBSD$
PORTNAME= Parallel-ForkManager
PORTVERSION= 0.7.4
CATEGORIES= devel perl5
MASTER_SITES= http://hacks.dlux.hu/Parallel-ForkManager/download/
PKGNAMEPREFIX= p5-
MAINTAINER= Nicolas.Jombart@hsc-labs.com
PERL_CONFIGURE= YES
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Parallel::ForkManager.3
EXAMPLES= samples/*
post-extract:
@${MV} ${WRKSRC}/ForkManager ${WRKSRC}/samples
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/examples/perl5/${PORTNAME}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/perl5/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Parallel-ForkManager-0.7.4.tar.gz) = aa1e0285f273a200ff85ec3db7840d26

View File

@ -0,0 +1,10 @@
--- MANIFEST.orig Sat Oct 26 20:48:15 2002
+++ MANIFEST Sat Oct 26 20:48:25 2002
@@ -4,5 +4,5 @@
MANIFEST
Makefile.PL
test.pl
-ForkManager/parallel_get.pl
-ForkManager/callback.pl
+samples/parallel_get.pl
+samples/callback.pl

View File

@ -0,0 +1 @@
A simple parallel processing fork manager

View File

@ -0,0 +1,6 @@
This module is intended for use in operations that can be
done in parallel where the number of processes to be
forked off should be limited. Typical use is a downloader
which will be retrieving hundreds/thousands of files.
WWW: http://hacks.dlux.hu/Parallel-ForkManager/

View File

@ -0,0 +1,8 @@
lib/perl5/site_perl/%%PERL_VER%%/Parallel/ForkManager.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Parallel/ForkManager/.packlist
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Parallel/ForkManager 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Parallel/ 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Parallel 2>/dev/null || true
%%PORTSDOC%%share/examples/perl5/Parallel-ForkManager/parallel_get.pl
%%PORTSDOC%%share/examples/perl5/Parallel-ForkManager/callback.pl
%%PORTSDOC%%@dirrm share/examples/perl5/Parallel-ForkManager