1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add ruby-romp, the Ruby Object Message Proxy, a set of classes for

providing distributed object support to a Ruby program.
This commit is contained in:
Akinori MUSHA 2001-08-24 07:06:19 +00:00
parent 13273b7d09
commit 80814c743b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46768
6 changed files with 86 additions and 0 deletions

View File

@ -338,6 +338,7 @@
SUBDIR += ruby-ldap
SUBDIR += ruby-nis
SUBDIR += ruby-pcap
SUBDIR += ruby-romp
SUBDIR += ruby-snmp
SUBDIR += ruby-soap
SUBDIR += ruby-tcpsocketpipe

52
net/ruby-romp/Makefile Normal file
View File

@ -0,0 +1,52 @@
# New ports collection makefile for: ROMP
# Date created: 24 August 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= romp
PORTVERSION= 0.1
CATEGORIES= net ruby
MASTER_SITES= http://rm-f.net/~cout/ruby/romp/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} romp.html
DIST_SUBDIR= ruby
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= knu@FreeBSD.org
IGNOREFILES= romp.html
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
EXAMPLES= client.rb server.rb
DOCS= romp.html
post-extract:
${MKDIR} ${WRKSRC}/lib
.for f in druby4.rb romp.rb
${MV} ${WRKSRC}/${f} ${WRKSRC}/lib/
.endfor
${CP} ${_DISTDIR}/romp.html ${WRKSRC}/
post-patch:
${RUBY} -i~ -pe 'sub /^(#include\s*<stdint\.h>)/, "/*\\1*/"' ${WRKSRC}/*.c
${RUBY} -i~ -pe 'sub /(.*CFLAGS)/, "#\\1/"' ${WRKSRC}/extconf.rb
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endfor
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>

2
net/ruby-romp/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (ruby/romp-0.1.tar.gz) = 8e18642e414befd45da8644794bb524a
MD5 (ruby/romp.html) = IGNORE

View File

@ -0,0 +1 @@
The Ruby Object Message Proxy

22
net/ruby-romp/pkg-descr Normal file
View File

@ -0,0 +1,22 @@
ROMP is the Ruby Object Message Proxy. It is sort of like drb
(distributed Ruby) in that it allows a Ruby client program to
seamlessly talk to an object that is sitting on a server. However, it
has many distinct advantages over drb:
- Much faster, up to 40000 messages per second (compare to 50 messages
per second for drb).
- Allows more than one object to reside on the server; supports a form
for naming service for retriving references to objects.
- Fully thread-safe, provided the object sitting on the server is
thread-safe.
- Supports oneway calls, so the client does not have to block waiting
for a response from the server.
- Allows exceptions to be propogated from server to client; massages
the backtrace to make debugging easier.
Author: Paul Brannan (cout at rm-f.net)
WWW: http://rm-f.net/~cout/ruby/romp/

8
net/ruby-romp/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
%%RUBY_SITEARCHLIBDIR%%/romp_helper.so
%%RUBY_SITELIBDIR%%/druby4.rb
%%RUBY_SITELIBDIR%%/romp.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/romp/client.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/romp/server.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/romp
%%PORTDOCS%%%%RUBY_DOCDIR%%/romp/romp.html
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/romp