diff options
author | miwi <miwi@FreeBSD.org> | 2011-06-25 15:01:12 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-06-25 15:01:12 +0800 |
commit | 6f0739040cdfa48a8619d7dd2aceac584c4dbf6e (patch) | |
tree | ea1404102a28e7f42f6e8a7afc25aba4d066689b /devel | |
parent | 19ea4ae8f6075ef8dbfece2e8b59837c9b931ba7 (diff) | |
download | freebsd-ports-gnome-6f0739040cdfa48a8619d7dd2aceac584c4dbf6e.tar.gz freebsd-ports-gnome-6f0739040cdfa48a8619d7dd2aceac584c4dbf6e.tar.zst freebsd-ports-gnome-6f0739040cdfa48a8619d7dd2aceac584c4dbf6e.zip |
Reflex - A class library for flexible, reactive programs.
Reflex is a library of classes that assist with writing reactive (AKA
event-driven) programs. Reflex uses Moose internally, but it doesn't enforce
programs to use Moose's syntax. However, Moose syntax brings several useful
features we hope will become indispensible.
WWW: http://search.cpan.org/dist/Reflex/
PR: ports/155591
Submitted by: Jase Thew <freebsd at beardz.net>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Reflex/Makefile | 87 | ||||
-rw-r--r-- | devel/p5-Reflex/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Reflex/pkg-descr | 8 | ||||
-rw-r--r-- | devel/p5-Reflex/pkg-plist | 133 |
5 files changed, 231 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 31c7bc0ba5c7..fabc7c397c17 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2178,6 +2178,7 @@ SUBDIR += p5-ReadLine-Perl SUBDIR += p5-ReadLine-TTYtter SUBDIR += p5-Readonly + SUBDIR += p5-Reflex SUBDIR += p5-Regexp-Assemble SUBDIR += p5-Regexp-Assemble-Compressed SUBDIR += p5-Regexp-Bind diff --git a/devel/p5-Reflex/Makefile b/devel/p5-Reflex/Makefile new file mode 100644 index 000000000000..a87abf4a6aff --- /dev/null +++ b/devel/p5-Reflex/Makefile @@ -0,0 +1,87 @@ +# New ports collection makefile for: p5-Reflex +# Date created: 2011-03-16 +# Whom: Jase Thew <freebsd@beardz.net> +# +# $FreeBSD$ +# + +PORTNAME= Reflex +PORTVERSION= 0.088 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:RCAPUTO +PKGNAMEPREFIX= p5- + +MAINTAINER= freebsd@beardz.net +COMMENT= Class library for flexible, reactive programs + +BUILD_DEPENDS= p5-POE>=1.294:${PORTSDIR}/devel/p5-POE \ + p5-Moose>=1.21:${PORTSDIR}/devel/p5-Moose \ + p5-MooseX-Role-Parameterized>=0.23:${PORTSDIR}/devel/p5-MooseX-Role-Parameterized \ + p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple \ + p5-Scalar-List-Utils>=1.23:${PORTSDIR}/lang/p5-Scalar-List-Utils +RUN_DEPENDS:= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Reflex.3 \ + Reflex::Acceptor.3 \ + Reflex::Base.3 \ + Reflex::Callback.3 \ + Reflex::Callback::CodeRef.3 \ + Reflex::Callback::Method.3 \ + Reflex::Callback::Promise.3 \ + Reflex::Callbacks.3 \ + Reflex::Client.3 \ + Reflex::Collection.3 \ + Reflex::Connector.3 \ + Reflex::Interval.3 \ + Reflex::PID.3 \ + Reflex::POE::Event.3 \ + Reflex::POE::Postback.3 \ + Reflex::POE::Session.3 \ + Reflex::POE::Wheel.3 \ + Reflex::POE::Wheel::Run.3 \ + Reflex::Role.3 \ + Reflex::Role::Accepting.3 \ + Reflex::Role::Collectible.3 \ + Reflex::Role::Connecting.3 \ + Reflex::Role::Interval.3 \ + Reflex::Role::InStreaming.3 \ + Reflex::Role::OutStreaming.3 \ + Reflex::Role::PidCatcher.3 \ + Reflex::Role::Reactive.3 \ + Reflex::Role::Readable.3 \ + Reflex::Role::Reading.3 \ + Reflex::Role::Recving.3 \ + Reflex::Role::SigCatcher.3 \ + Reflex::Role::Streaming.3 \ + Reflex::Role::Timeout.3 \ + Reflex::Role::Wakeup.3 \ + Reflex::Role::Writable.3 \ + Reflex::Role::Writing.3 \ + Reflex::Sender.3 \ + Reflex::Signal.3 \ + Reflex::Stream.3 \ + Reflex::Timeout.3 \ + Reflex::Trait::EmitsOnChange.3 \ + Reflex::Trait::Observed.3 \ + Reflex::UdpPeer.3 \ + Reflex::Wakeup.3 + +post-install: +.ifndef(NOPORTEXAMPLES) + @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}" + @${MKDIR} ${EXAMPLESDIR}/ttl + @${INSTALL_SCRIPT} ${WRKSRC}/eg/*.pl ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/eg/*.pm ${EXAMPLESDIR} + @(cd ${WRKSRC}/eg/ttl && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/ttl) +.endif + +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \* ${DOCSDIR}) + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}" +.endif + +.include <bsd.port.mk> diff --git a/devel/p5-Reflex/distinfo b/devel/p5-Reflex/distinfo new file mode 100644 index 000000000000..1b4d307683e4 --- /dev/null +++ b/devel/p5-Reflex/distinfo @@ -0,0 +1,2 @@ +SHA256 (Reflex-0.088.tar.gz) = 4c59badf1b223d33292ab6702518660b59e01c16cba4b1703eb9a40dd8fdf4c4 +SIZE (Reflex-0.088.tar.gz) = 147120 diff --git a/devel/p5-Reflex/pkg-descr b/devel/p5-Reflex/pkg-descr new file mode 100644 index 000000000000..fbdaa7d65097 --- /dev/null +++ b/devel/p5-Reflex/pkg-descr @@ -0,0 +1,8 @@ +Reflex - A class library for flexible, reactive programs. + +Reflex is a library of classes that assist with writing reactive (AKA +event-driven) programs. Reflex uses Moose internally, but it doesn't enforce +programs to use Moose's syntax. However, Moose syntax brings several useful +features we hope will become indispensible. + +WWW: http://search.cpan.org/dist/Reflex/ diff --git a/devel/p5-Reflex/pkg-plist b/devel/p5-Reflex/pkg-plist new file mode 100644 index 000000000000..9e107682ed84 --- /dev/null +++ b/devel/p5-Reflex/pkg-plist @@ -0,0 +1,133 @@ +%%SITE_PERL%%/Reflex.pm +%%SITE_PERL%%/Reflex/Acceptor.pm +%%SITE_PERL%%/Reflex/Base.pm +%%SITE_PERL%%/Reflex/Callbacks.pm +%%SITE_PERL%%/Reflex/Client.pm +%%SITE_PERL%%/Reflex/Collection.pm +%%SITE_PERL%%/Reflex/Connector.pm +%%SITE_PERL%%/Reflex/Interval.pm +%%SITE_PERL%%/Reflex/PID.pm +%%SITE_PERL%%/Reflex/Role.pm +%%SITE_PERL%%/Reflex/Sender.pm +%%SITE_PERL%%/Reflex/Signal.pm +%%SITE_PERL%%/Reflex/Stream.pm +%%SITE_PERL%%/Reflex/Timeout.pm +%%SITE_PERL%%/Reflex/UdpPeer.pm +%%SITE_PERL%%/Reflex/Wakeup.pm +%%SITE_PERL%%/Reflex/Callback.pm +%%SITE_PERL%%/Reflex/Callback/CodeRef.pm +%%SITE_PERL%%/Reflex/Callback/Method.pm +%%SITE_PERL%%/Reflex/Callback/Promise.pm +%%SITE_PERL%%/Reflex/POE/Event.pm +%%SITE_PERL%%/Reflex/POE/Postback.pm +%%SITE_PERL%%/Reflex/POE/Session.pm +%%SITE_PERL%%/Reflex/POE/Wheel.pm +%%SITE_PERL%%/Reflex/POE/Wheel/Run.pm +%%SITE_PERL%%/Reflex/Role/Accepting.pm +%%SITE_PERL%%/Reflex/Role/Collectible.pm +%%SITE_PERL%%/Reflex/Role/Connecting.pm +%%SITE_PERL%%/Reflex/Role/InStreaming.pm +%%SITE_PERL%%/Reflex/Role/Interval.pm +%%SITE_PERL%%/Reflex/Role/OutStreaming.pm +%%SITE_PERL%%/Reflex/Role/PidCatcher.pm +%%SITE_PERL%%/Reflex/Role/Reactive.pm +%%SITE_PERL%%/Reflex/Role/Readable.pm +%%SITE_PERL%%/Reflex/Role/Reading.pm +%%SITE_PERL%%/Reflex/Role/Recving.pm +%%SITE_PERL%%/Reflex/Role/SigCatcher.pm +%%SITE_PERL%%/Reflex/Role/Streaming.pm +%%SITE_PERL%%/Reflex/Role/Timeout.pm +%%SITE_PERL%%/Reflex/Role/Wakeup.pm +%%SITE_PERL%%/Reflex/Role/Writable.pm +%%SITE_PERL%%/Reflex/Role/Writing.pm +%%SITE_PERL%%/Reflex/Trait/EmitsOnChange.pm +%%SITE_PERL%%/Reflex/Trait/Observed.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Reflex/.packlist +%%PORTDOCS%%%%DOCSDIR%%/continuation-passing.otl +%%PORTDOCS%%%%DOCSDIR%%/manual.otl +%%PORTDOCS%%%%DOCSDIR%%/new-names.otl +%%PORTDOCS%%%%DOCSDIR%%/patterns.otl +%%PORTDOCS%%%%DOCSDIR%%/syntax.pm +%%PORTDOCS%%%%DOCSDIR%%/TODO.otl +%%PORTDOCS%%%%DOCSDIR%%/intro/AfterAwhileClass.pm +%%PORTDOCS%%%%DOCSDIR%%/intro/AfterAwhileRole.pm +%%PORTDOCS%%%%DOCSDIR%%/intro/AfterAwhileSubclass.pm +%%PORTDOCS%%%%DOCSDIR%%/intro/AsyncAwhileClass.pm +%%PORTDOCS%%%%DOCSDIR%%/intro/AsyncAwhileRole.pm +%%PORTDOCS%%%%DOCSDIR%%/intro/after-awhile-method.pl +%%PORTDOCS%%%%DOCSDIR%%/intro/after-awhile-promise.pl +%%PORTDOCS%%%%DOCSDIR%%/intro/after-awhile-subclass-use.pl +%%PORTDOCS%%%%DOCSDIR%%/intro/after-awhile-use.pl +%%PORTDOCS%%%%DOCSDIR%%/intro/intro.pod +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-04-inheritance.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-05-composition.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-06-moose-roles.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-07-wheel-run.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-08-observer-trait.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-11-poco-postback.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-12-poco-event.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-13-irc-bot.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-14-synopsis.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-15-ipc-run.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-16-timer-inheritance.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-17-inheritance-no-moose.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-18-synopsis-no-moose.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-30-promise-timer.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-31-promise-object.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-32-promise-tiny.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-33-all-callbacks.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-34-tcp-server-echo.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-35-tcp-client.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-36-tiny-coderefs.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-37-ping-pong.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-38-promise-client.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-39-signals.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-40-proxy.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-41-signal-twice.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-42-reflex-in-poe.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-50-timeout.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-51-wakeup.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eg-60-collection-promise.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/EchoStream.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ExampleHelpers.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PoCoEvent.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PoCoPostback.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Proxy.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ReflexPromise.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Runner.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/RunnerRole.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Or.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Un.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/And.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Bin.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Nor.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Not.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Xor.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Nand.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Adder.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/TriAnd.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/TriNand.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/HexDecoder.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/FlipFlop/D.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/FlipFlop/T.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/FlipFlop/JK.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/FlipFlop/MasterSlave.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Latch/NorRS.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Latch/NandRS.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/Ttl/Latch/ClockedNandRS.pm +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/fail-ttl-counter.pl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttl/fail-ttl-simple.pl +%%PORTDOCS%%@dirrm %%DOCSDIR%%/intro +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ttl/Ttl/Latch +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ttl/Ttl/FlipFlop +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ttl/Ttl +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ttl +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Reflex +@dirrm %%SITE_PERL%%/Reflex/Trait +@dirrm %%SITE_PERL%%/Reflex/Role +@dirrm %%SITE_PERL%%/Reflex/POE/Wheel +@dirrm %%SITE_PERL%%/Reflex/POE +@dirrm %%SITE_PERL%%/Reflex/Callback +@dirrm %%SITE_PERL%%/Reflex |