Add ruby-io-reactor, a Ruby module that implements an asynchronous

multiplexeded IO Reactor.
This commit is contained in:
Akinori MUSHA 2004-12-25 19:51:40 +00:00
parent 4eae9ef701
commit 9af30db32e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125155
5 changed files with 57 additions and 0 deletions

View File

@ -1295,6 +1295,7 @@
SUBDIR += ruby-gnustep
SUBDIR += ruby-inline
SUBDIR += ruby-intl
SUBDIR += ruby-io-reactor
SUBDIR += ruby-jttui
SUBDIR += ruby-libglade
SUBDIR += ruby-libglade2

View File

@ -0,0 +1,39 @@
# New ports collection makefile for: Ruby/io-reactor
# Date created: 26 December 2004
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= io-reactor
PORTVERSION= 0.0.6
CATEGORIES= devel ruby
MASTER_SITES= http://www.deveiate.org/code/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= IO-Reactor-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby module that implements an asynchronous multiplexeded IO Reactor
USE_RUBY= yes
NO_BUILD= yes
DOCS= ChangeLog README
EXAMPLES= examples/*
do-install:
cd ${WRKSRC}; ${RUBY} install.rb
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (ruby/IO-Reactor-0.0.6.tar.gz) = 323e4d8bf8214596800d5427c450d9e8
SIZE (ruby/IO-Reactor-0.0.6.tar.gz) = 16995

View File

@ -0,0 +1,9 @@
This module is a pure-Ruby implementation of an asynchronous
multiplexed IO Reactor which is based on the Reactor design pattern
found in _Pattern-Oriented Software Architecture, Volume 2: Patterns
for Concurrent and Networked Objects_. It allows a single thread to
demultiplex and dispatch events from one or more IO objects to an
appropriate handler.
Author: Michael Granger <ged-raa@FaerieMUD.org>
WWW: http://www.deveiate.org/code/IO-Reactor.html

View File

@ -0,0 +1,6 @@
%%RUBY_SITELIBDIR%%/io/reactor.rb
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/chatserver.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%