Date: Thu, 12 May 2011 15:08:23 +0900 From: Takefu <takefu@airport.fm> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156971: [NEW PORT] devel/p5-POE-Quickie: A lazy way to wrap blocking code and programs Message-ID: <4DCB7957.30908@airport.fm> Resent-Message-ID: <201105120610.p4C6AClJ029937@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156971 >Category: ports >Synopsis: [NEW PORT] devel/p5-POE-Quickie: A lazy way to wrap blocking code and programs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 12 06:10:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Takefu >Release: FreeBSD 8.2-RELEASE amd64 >Organization: FOX Amateur Radio Club >Environment: >Description: POE::Quickie A lazy way to wrap blocking code and programs WWW: http://search.cpan.org/dist/POE-Quickie/ >How-To-Repeat: >Fix: --- p5-POE-Quickie.shar begins here --- #!/bin/sh # This is a shell archive echo x devel/p5-POE-Quickie mkdir -p devel/p5-POE-Quickie > /dev/null 2>&1 echo x devel/p5-POE-Quickie/Makefile sed 's/^X//' > devel/p5-POE-Quickie/Makefile << 'SHAR_END' X# New ports collection makefile for: p5-POE-Quickie X# Date created: 2011-05-04 X# Whom: Takefu X# X# $FreeBSD$ X# X XPORTNAME= POE-Quickie XPORTVERSION= 0.14 XCATEGORIES= devel perl5 XMASTER_SITES= CPAN XMASTER_SITE_SUBDIR= ../../authors/id/H/HI/HINRIK XPKGNAMEPREFIX= p5- X XMAINTAINER= takefu@airport.fm XCOMMENT= A lazy way to wrap blocking code and programs X XLICENSE= GPLv1 ART10 XLICENSE_COMB= dual XLICENSE_FILE= ${WRKSRC}/LICENSE X XOPTIONS= Capture "Enable p5-Capture-Tiny support" off X X.include <bsd.port.options.mk> X X.if !defined(WITHOUT_Capture) XBUILD_DEPENDS+= p5-Capture-Tiny>0:${PORTSDIR}/devel/p5-Capture-Tiny X.endif X XPERL_CONFIGURE= yes X XMAN3= POE::Quickie.3 X Xpost-patch: X.if !defined(WITH_Capture) X ${REINPLACE_CMD} -e "s,^.*Capture::Tiny.*,," ${BUILD_WRKSRC}/Makefile.PL X.endif X X.include <bsd.port.mk> SHAR_END echo x devel/p5-POE-Quickie/pkg-descr sed 's/^X//' > devel/p5-POE-Quickie/pkg-descr << 'SHAR_END' XIf you need nonblocking access to an external program, or want to execute some Xblocking code in a separate process, but you don't want to write a wrapper Xmodule or some POE::Wheel::Run boilerplate code, then POE::Quickie can help. X XYou just specify what you're interested in (stdout, stderr, and/or exit code), Xand POE::Quickie will handle the rest in a sensible way. X XIt has some convenience features, such as killing processes after a timeout, Xand storing process-specific context information which will be delivered with Xevery event. X XThere is also an even lazier API which suspends the execution of your event Xhandler and gives control back to POE while your task is running, the same Xway LWP::UserAgent::POE does. X XThis is provided by the quickie_* functions which are exported by default. X XWWW: http://search.cpan.org/dist/POE-Quickie/ SHAR_END echo x devel/p5-POE-Quickie/distinfo sed 's/^X//' > devel/p5-POE-Quickie/distinfo << 'SHAR_END' XSHA256 (POE-Quickie-0.14.tar.gz) = 5787d235ad68673300b1ec74ef63d893e6b655d12f8d9621be0844e05b8f89a5 XSIZE (POE-Quickie-0.14.tar.gz) = 18944 SHAR_END echo x devel/p5-POE-Quickie/pkg-plist sed 's/^X//' > devel/p5-POE-Quickie/pkg-plist << 'SHAR_END' X@comment $FreeBSD$ X%%SITE_PERL%%/POE/Quickie.pm X@dirrmtry %%SITE_PERL%%/POE SHAR_END exit --- p5-POE-Quickie.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DCB7957.30908>