aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2005-03-18 22:20:19 +0800
committerlth <lth@FreeBSD.org>2005-03-18 22:20:19 +0800
commit3acfc45ba94951419d60fd783ef1a06649db7ab3 (patch)
tree3379bcaf9c6698b699687b0a246c558620b6f097 /devel
parent9d89351f0450f8981eba1c52dc6734aa4cee08e0 (diff)
downloadfreebsd-ports-graphics-3acfc45ba94951419d60fd783ef1a06649db7ab3.tar.gz
freebsd-ports-graphics-3acfc45ba94951419d60fd783ef1a06649db7ab3.tar.zst
freebsd-ports-graphics-3acfc45ba94951419d60fd783ef1a06649db7ab3.zip
Add p5-IO-Capture 0.03, abstract Base Class to build modules to capture
output.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-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
5 files changed, 57 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 244ceec2c53..2c1bc1184da 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -888,6 +888,7 @@
SUBDIR += p5-Hook-LexWrap
SUBDIR += p5-IO
SUBDIR += p5-IO-All
+ SUBDIR += p5-IO-Capture
SUBDIR += p5-IO-CaptureOutput
SUBDIR += p5-IO-Digest
SUBDIR += p5-IO-Multiplex
diff --git a/devel/p5-IO-Capture/Makefile b/devel/p5-IO-Capture/Makefile
new file mode 100644
index 00000000000..dcf9417095a
--- /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 00000000000..d088f0b593d
--- /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 00000000000..36af7e5d20c
--- /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 00000000000..700b4dd5ce9
--- /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