summaryrefslogtreecommitdiff
path: root/devel/p5-IO-Capture
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2005-03-18 14:20:19 +0000
committerLars Thegler <lth@FreeBSD.org>2005-03-18 14:20:19 +0000
commitafb4cc3094b9a92e99f687a44ff04fd7c311ec6b (patch)
tree8b4ab8472b1eb13ddb47837f95f512ae92501e61 /devel/p5-IO-Capture
parentUpdate to 1.3.9 (diff)
Add p5-IO-Capture 0.03, abstract Base Class to build modules to capture
output.
Notes
Notes: svn path=/head/; revision=131564
Diffstat (limited to 'devel/p5-IO-Capture')
-rw-r--r--devel/p5-IO-Capture/Makefile32
-rw-r--r--devel/p5-IO-Capture/distinfo2
-rw-r--r--devel/p5-IO-Capture/pkg-descr11
-rw-r--r--devel/p5-IO-Capture/pkg-plist11
4 files changed, 56 insertions, 0 deletions
diff --git a/devel/p5-IO-Capture/Makefile b/devel/p5-IO-Capture/Makefile
new file mode 100644
index 000000000000..dcf9417095a2
--- /dev/null
+++ b/devel/p5-IO-Capture/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: devel/p5-IO-Capture
+# Date created: 18 March 2005
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= IO-Capture
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= IO
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Abstract Base Class to build modules to capture output
+
+PERL_CONFIGURE= yes
+
+MAN3= IO::Capture.3 \
+ IO::Capture::ErrorMessages.3 \
+ IO::Capture::Overview.3 \
+ IO::Capture::Stderr.3 \
+ IO::Capture::Stdout.3 \
+ IO::Capture::Tie_STDx.3
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -pi -e '$$_ = "" if /5.006/' ${WRKSRC}/Makefile.PL
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/p5-IO-Capture/distinfo b/devel/p5-IO-Capture/distinfo
new file mode 100644
index 000000000000..d088f0b593d0
--- /dev/null
+++ b/devel/p5-IO-Capture/distinfo
@@ -0,0 +1,2 @@
+MD5 (IO-Capture-0.03.tar.gz) = 609fa1b1c7dcdbdb584c74f0eb083c65
+SIZE (IO-Capture-0.03.tar.gz) = 12087
diff --git a/devel/p5-IO-Capture/pkg-descr b/devel/p5-IO-Capture/pkg-descr
new file mode 100644
index 000000000000..36af7e5d20c6
--- /dev/null
+++ b/devel/p5-IO-Capture/pkg-descr
@@ -0,0 +1,11 @@
+The C<IO::Capture> Module defines an abstract base class that can be
+used to build modules that capture output being sent on a filehandle
+such as STDOUT or STDERR.
+ Several modules that come with the distribution, do just that.
+(I.e., Capture STDOUT and STDERR) See L<IO::Capture::Overview> for a
+discussion of these modules and examples of how to build a module to
+sub-class from C<IO::Capture> yourself. If after reading the overview,
+you would like to build a class from C<IO::Capture>, look here for
+details on the internals.
+
+WWW: http://search.cpan.org/dist/IO-Capture
diff --git a/devel/p5-IO-Capture/pkg-plist b/devel/p5-IO-Capture/pkg-plist
new file mode 100644
index 000000000000..700b4dd5ce97
--- /dev/null
+++ b/devel/p5-IO-Capture/pkg-plist
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/IO/Capture.pm
+%%SITE_PERL%%/IO/Capture/ErrorMessages.pm
+%%SITE_PERL%%/IO/Capture/Overview.pod
+%%SITE_PERL%%/IO/Capture/Stderr.pm
+%%SITE_PERL%%/IO/Capture/Stdout.pm
+%%SITE_PERL%%/IO/Capture/Tie_STDx.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Capture/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Capture 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/IO/Capture 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/IO 2>/dev/null || true