diff options
author | nork <nork@FreeBSD.org> | 2002-11-02 01:32:53 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2002-11-02 01:32:53 +0800 |
commit | 66d5cce8a8b0b597500645b076dca244506c036e (patch) | |
tree | 38af263e8a13397ec2f979ff85db2839cce2fbb5 /devel | |
parent | 111fa0782f2f9a19acee27d276b6d2942db1d669 (diff) | |
download | freebsd-ports-gnome-66d5cce8a8b0b597500645b076dca244506c036e.tar.gz freebsd-ports-gnome-66d5cce8a8b0b597500645b076dca244506c036e.tar.zst freebsd-ports-gnome-66d5cce8a8b0b597500645b076dca244506c036e.zip |
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>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Parallel-ForkManager/Makefile | 33 | ||||
-rw-r--r-- | devel/p5-Parallel-ForkManager/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Parallel-ForkManager/files/patch-MANIFEST | 10 | ||||
-rw-r--r-- | devel/p5-Parallel-ForkManager/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Parallel-ForkManager/pkg-descr | 6 | ||||
-rw-r--r-- | devel/p5-Parallel-ForkManager/pkg-plist | 8 |
7 files changed, 60 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index f2a8ef6ec059..929af706492a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-Parallel-ForkManager/Makefile b/devel/p5-Parallel-ForkManager/Makefile new file mode 100644 index 000000000000..11453f227d56 --- /dev/null +++ b/devel/p5-Parallel-ForkManager/Makefile @@ -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> diff --git a/devel/p5-Parallel-ForkManager/distinfo b/devel/p5-Parallel-ForkManager/distinfo new file mode 100644 index 000000000000..69bde1bdbcd6 --- /dev/null +++ b/devel/p5-Parallel-ForkManager/distinfo @@ -0,0 +1 @@ +MD5 (Parallel-ForkManager-0.7.4.tar.gz) = aa1e0285f273a200ff85ec3db7840d26 diff --git a/devel/p5-Parallel-ForkManager/files/patch-MANIFEST b/devel/p5-Parallel-ForkManager/files/patch-MANIFEST new file mode 100644 index 000000000000..8cabc5773554 --- /dev/null +++ b/devel/p5-Parallel-ForkManager/files/patch-MANIFEST @@ -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 diff --git a/devel/p5-Parallel-ForkManager/pkg-comment b/devel/p5-Parallel-ForkManager/pkg-comment new file mode 100644 index 000000000000..bd73ef8e0f95 --- /dev/null +++ b/devel/p5-Parallel-ForkManager/pkg-comment @@ -0,0 +1 @@ +A simple parallel processing fork manager diff --git a/devel/p5-Parallel-ForkManager/pkg-descr b/devel/p5-Parallel-ForkManager/pkg-descr new file mode 100644 index 000000000000..0fa3e30ac5cf --- /dev/null +++ b/devel/p5-Parallel-ForkManager/pkg-descr @@ -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/ diff --git a/devel/p5-Parallel-ForkManager/pkg-plist b/devel/p5-Parallel-ForkManager/pkg-plist new file mode 100644 index 000000000000..b927b72c0929 --- /dev/null +++ b/devel/p5-Parallel-ForkManager/pkg-plist @@ -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 |