freebsd-ports/devel/p5-POEx-Role-Streaming/Makefile
Jun Kuriyama 565849eb48 POEx::Role::Streaming provides a common idiom for streaming data from
one filehandle to another.  It accomplishes this by making good use of
sysread and POE::Wheel::ReadWrite.  This Role errs on the side of
doing as many blocking reads of the "input_handle" as possible up
front (until the high water mark is hit on the Wheel).  If this
default isn't suitable for the consumer, simply override
"get_data_from_input_handle".  After Streamer has exhausted the
source, and flushed the last of the output, it will clean up after
itself by closing the wheel, the handles, and sending all of them out
of scope. If an exception happens, it will clean up after itself, and
let the DIE signal propagate.

WWW: http://search.cpan.org/dist/POEx-Role-Streaming/
2010-10-10 05:40:39 +00:00

31 lines
876 B
Makefile

# New ports collection makefile for: POEx::Role::Streaming
# Date created: 10 Oct 2010
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= POEx-Role-Streaming
PORTVERSION= 1.102610
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= ../../authors/id/N/NP/NPEREZ
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension for streaming from one filehandle to another
RUN_DEPENDS= \
p5-MooseX-Declare>0:${PORTSDIR}/devel/p5-MooseX-Declare \
p5-MooseX-Types>0:${PORTSDIR}/devel/p5-MooseX-Types \
p5-POE>0:${PORTSDIR}/devel/p5-POE \
p5-POEx-Role-SessionInstantiation>=0:${PORTSDIR}/devel/p5-POEx-Role-SessionInstantiation \
p5-POEx-Types>0:${PORTSDIR}/devel/p5-POEx-Types \
p5-aliased>0:${PORTSDIR}/devel/p5-aliased
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= POEx::Role::Streaming.3
.include <bsd.port.mk>