Add p5-IPC-Open3-Simple 0.04, a simple alternative to IPC::Open3.

PR:		ports/100627
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2006-07-21 15:32:44 +00:00
parent 1233c4f406
commit d47b6d7290
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168393
5 changed files with 56 additions and 0 deletions

View file

@ -1089,6 +1089,7 @@
SUBDIR += p5-IPC-MM
SUBDIR += p5-IPC-Mmap
SUBDIR += p5-IPC-Mmap-SimpleShare
SUBDIR += p5-IPC-Open3-Simple
SUBDIR += p5-IPC-Run
SUBDIR += p5-IPC-Run3
SUBDIR += p5-IPC-ShareLite

View file

@ -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>

View file

@ -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

View file

@ -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/

View file

@ -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