diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-07-21 15:32:44 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-07-21 15:32:44 +0000 |
commit | d47b6d7290a23c72a3d376f3fc4afb3e9042f7e3 (patch) | |
tree | 8be7ec1792b118af345419f8bd8e941c18bfade5 /devel/p5-IPC-Open3-Simple | |
parent | 1233c4f406cec84c722c03adfa2ce051d9e047e0 (diff) |
Notes
Diffstat (limited to 'devel/p5-IPC-Open3-Simple')
-rw-r--r-- | devel/p5-IPC-Open3-Simple/Makefile | 28 | ||||
-rw-r--r-- | devel/p5-IPC-Open3-Simple/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-IPC-Open3-Simple/pkg-descr | 16 | ||||
-rw-r--r-- | devel/p5-IPC-Open3-Simple/pkg-plist | 8 |
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/p5-IPC-Open3-Simple/Makefile b/devel/p5-IPC-Open3-Simple/Makefile new file mode 100644 index 000000000000..6a3f531879ff --- /dev/null +++ b/devel/p5-IPC-Open3-Simple/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: p5-IPC-Open3-Simple +# Date created: 2006-07-21 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= IPC-Open3-Simple +PORTVERSION= 0.04 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= IPC +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= A simple alternative to IPC::Open3 + +PERL_CONFIGURE= yes + +MAN3= IPC::Open3::Simple.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-IPC-Open3-Simple/distinfo b/devel/p5-IPC-Open3-Simple/distinfo new file mode 100644 index 000000000000..fbf659f80b33 --- /dev/null +++ b/devel/p5-IPC-Open3-Simple/distinfo @@ -0,0 +1,3 @@ +MD5 (IPC-Open3-Simple-0.04.tar.gz) = 2a84220426f2ccba6466befab0e02b05 +SHA256 (IPC-Open3-Simple-0.04.tar.gz) = 4bc64f64e157579fbd86be5910f5c71c0b93dece72ec672bc76c8f30d75ea381 +SIZE (IPC-Open3-Simple-0.04.tar.gz) = 5037 diff --git a/devel/p5-IPC-Open3-Simple/pkg-descr b/devel/p5-IPC-Open3-Simple/pkg-descr new file mode 100644 index 000000000000..cdd339c48ea5 --- /dev/null +++ b/devel/p5-IPC-Open3-Simple/pkg-descr @@ -0,0 +1,16 @@ +IPC::Open3::Simple aims at making it very easy to start a shell +command, eventually feed its stdin with some data, then retrieve its +stdout and stderr separately. + +When you want to run a shell command and parse its stdout/stderr or +feed its stdin, you often end up using IPC::Run, IPC::Cmd or +IPC::Open3 with your own parsing code, and end up writing more code +than you intended. IPC::Open3::Simple is about removing this overhead +and making IPC::Open3 easier to use. + +IPC::Open3::Simple calls IPC::Open3 and redirects stdin, stdout and +stderr to some function references passed in argument to the +constructor. It does a select on the input/output filehandles returned +by IPC::Open3 and dispatches their content to and from those functions. + +WWW: http://search.cpan.org/dist/IPC-Open3-Simple/ diff --git a/devel/p5-IPC-Open3-Simple/pkg-plist b/devel/p5-IPC-Open3-Simple/pkg-plist new file mode 100644 index 000000000000..3d6909b4e167 --- /dev/null +++ b/devel/p5-IPC-Open3-Simple/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Open3/Simple/.packlist +%%SITE_PERL%%/IPC/Open3/Simple.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Open3/Simple +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC/Open3 +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IPC +@dirrmtry %%SITE_PERL%%/IPC/Open3 +@dirrmtry %%SITE_PERL%%/IPC |