aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2006-01-10 22:56:30 +0800
committertobez <tobez@FreeBSD.org>2006-01-10 22:56:30 +0800
commite5992389f71412f97b49c810a8503e42b4b599ea (patch)
treec734ce293ec6869f1bd2261274685eac055a440f /devel
parentb5b0acb1b8e21d917a754d0b26b2153f6518ee31 (diff)
downloadfreebsd-ports-gnome-e5992389f71412f97b49c810a8503e42b4b599ea.tar.gz
freebsd-ports-gnome-e5992389f71412f97b49c810a8503e42b4b599ea.tar.zst
freebsd-ports-gnome-e5992389f71412f97b49c810a8503e42b4b599ea.zip
Add devel/p5-Proc-Fork, a Perl module that provides simple, intuitive
interface to the fork() system call.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Proc-Fork/Makefile28
-rw-r--r--devel/p5-Proc-Fork/distinfo3
-rw-r--r--devel/p5-Proc-Fork/pkg-descr8
-rw-r--r--devel/p5-Proc-Fork/pkg-plist5
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e1ade491c3e7..764663dd80a5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1096,6 +1096,7 @@
SUBDIR += p5-Pod-Coverage
SUBDIR += p5-Proc-Background
SUBDIR += p5-Proc-Daemon
+ SUBDIR += p5-Proc-Fork
SUBDIR += p5-Proc-PID-File
SUBDIR += p5-Proc-PIDFile
SUBDIR += p5-Proc-ProcessTable
diff --git a/devel/p5-Proc-Fork/Makefile b/devel/p5-Proc-Fork/Makefile
new file mode 100644
index 000000000000..256929e13086
--- /dev/null
+++ b/devel/p5-Proc-Fork/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: devel/p5-Proc-Fork
+# Date created: 10 January 2006
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Proc-Fork
+PORTVERSION= 0.11
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Proc
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Proc::Fork - Simple, intuitive interface to the fork() system call
+
+PERL_CONFIGURE= yes
+
+MAN3= Proc::Fork.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Proc-Fork/distinfo b/devel/p5-Proc-Fork/distinfo
new file mode 100644
index 000000000000..26933edab945
--- /dev/null
+++ b/devel/p5-Proc-Fork/distinfo
@@ -0,0 +1,3 @@
+MD5 (Proc-Fork-0.11.tar.gz) = bdc91ce4def70bd0b27e8a5660276316
+SHA256 (Proc-Fork-0.11.tar.gz) = 996f8a9eb00d3a2a04a01c91cc15aa1345ca63bf2817b01ccadf334c0406e8b5
+SIZE (Proc-Fork-0.11.tar.gz) = 6175
diff --git a/devel/p5-Proc-Fork/pkg-descr b/devel/p5-Proc-Fork/pkg-descr
new file mode 100644
index 000000000000..c32e552597b5
--- /dev/null
+++ b/devel/p5-Proc-Fork/pkg-descr
@@ -0,0 +1,8 @@
+This module provides an intuitive, Perl-ish way to write forking
+programs by letting you use blocks to illustrate which code section
+executes in which fork. The code for the parent, child, retry handler
+and error handler are grouped together in a "fork block". The clauses
+may appear in any order, but they must be consecutive (without any other
+statements in between).
+
+WWW: http://search.cpan.org/dist/Proc-Fork/
diff --git a/devel/p5-Proc-Fork/pkg-plist b/devel/p5-Proc-Fork/pkg-plist
new file mode 100644
index 000000000000..73d8240d43da
--- /dev/null
+++ b/devel/p5-Proc-Fork/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Proc/Fork.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Proc/Fork/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Proc/Fork 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