svn commit: r316128 - in head/devel: . p5-IO-Event
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Apr 20 07:46:17 UTC 2013
Author: sunpoet
Date: Sat Apr 20 07:46:15 2013
New Revision: 316128
URL: http://svnweb.freebsd.org/changeset/ports/316128
Log:
- Add p5-IO-Event 0.812
IO::Event provides an object-based callback system for handling nonblocking IO.
The design goal is to provide a system that just does the right thing without
the user needing to think about it much.
All APIs are kept as simple as possible yet at the same time, all functionality
is accesible if needed. Simple things are easy. Hard things are possible.
Most of the time file handling syntax will work fine: <$filehandle> and print
$filehandle 'stuff'.
IO::Event provides automatic buffering of output (with a callback to throttle).
It provides automatic line-at-a-time input.
After initial setup, call IO::Event::loop().
IO::Event was originally written to use Event. IO::Event still defaults to using
Event but it can now use AnyEvent or its own event loop.
WWW: http://search.cpan.org/dist/IO-Event/
Feature safe: yes
Added:
head/devel/p5-IO-Event/
head/devel/p5-IO-Event/Makefile (contents, props changed)
head/devel/p5-IO-Event/distinfo (contents, props changed)
head/devel/p5-IO-Event/pkg-descr (contents, props changed)
head/devel/p5-IO-Event/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Apr 20 07:46:09 2013 (r316127)
+++ head/devel/Makefile Sat Apr 20 07:46:15 2013 (r316128)
@@ -2086,6 +2086,7 @@
SUBDIR += p5-IO-CaptureOutput
SUBDIR += p5-IO-Detect
SUBDIR += p5-IO-Digest
+ SUBDIR += p5-IO-Event
SUBDIR += p5-IO-HTML
SUBDIR += p5-IO-Handle-Util
SUBDIR += p5-IO-Interactive
Added: head/devel/p5-IO-Event/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-IO-Event/Makefile Sat Apr 20 07:46:15 2013 (r316128)
@@ -0,0 +1,42 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= IO-Event
+PORTVERSION= 0.812
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Tied Filehandles for Nonblocking IO with Object Callbacks
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent
+
+OPTIONS_DEFINE= ANYEVENT EVENT
+OPTIONS_DEFAULT=ANYEVENT EVENT
+EVENT_DESC= Use Event as underlying event handler
+ANYEVENT_DESC= Use AnyEvent as underlying event handler
+
+PERL_CONFIGURE= yes
+
+MAN3= IO::Event.3 \
+ IO::Event::Callback.3
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MANYEVENT}
+BUILD_DEPENDS+= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent
+RUN_DEPENDS+= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent
+.endif
+
+.if ${PORT_OPTIONS:MEVENT}
+BUILD_DEPENDS+= p5-Event>=0:${PORTSDIR}/devel/p5-Event
+RUN_DEPENDS+= p5-Event>=0:${PORTSDIR}/devel/p5-Event
+.endif
+
+.include <bsd.port.mk>
Added: head/devel/p5-IO-Event/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-IO-Event/distinfo Sat Apr 20 07:46:15 2013 (r316128)
@@ -0,0 +1,2 @@
+SHA256 (IO-Event-0.812.tar.gz) = 8507a26af0442d883b52df1fbf0241b2e40f59a5edbc49c170adc0c3abfb69f9
+SIZE (IO-Event-0.812.tar.gz) = 34448
Added: head/devel/p5-IO-Event/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-IO-Event/pkg-descr Sat Apr 20 07:46:15 2013 (r316128)
@@ -0,0 +1,19 @@
+IO::Event provides an object-based callback system for handling nonblocking IO.
+The design goal is to provide a system that just does the right thing without
+the user needing to think about it much.
+
+All APIs are kept as simple as possible yet at the same time, all functionality
+is accesible if needed. Simple things are easy. Hard things are possible.
+
+Most of the time file handling syntax will work fine: <$filehandle> and print
+$filehandle 'stuff'.
+
+IO::Event provides automatic buffering of output (with a callback to throttle).
+It provides automatic line-at-a-time input.
+
+After initial setup, call IO::Event::loop().
+
+IO::Event was originally written to use Event. IO::Event still defaults to using
+Event but it can now use AnyEvent or its own event loop.
+
+WWW: http://search.cpan.org/dist/IO-Event/
Added: head/devel/p5-IO-Event/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-IO-Event/pkg-plist Sat Apr 20 07:46:15 2013 (r316128)
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/IO/Event.pm
+%%SITE_PERL%%/IO/Event.pod
+%%SITE_PERL%%/IO/Event/AnyEvent.pm
+%%SITE_PERL%%/IO/Event/Callback.pm
+%%SITE_PERL%%/IO/Event/Emulate.pm
+%%SITE_PERL%%/IO/Event/Event.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Event/.packlist
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Event
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO
+ at dirrmtry %%SITE_PERL%%/IO/Event
+ at dirrmtry %%SITE_PERL%%/IO
More information about the svn-ports-head
mailing list