summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2001-07-01 14:25:06 +0000
committertaca <taca>2001-07-01 14:25:06 +0000
commit36b0bb62a8b9fe38c2a8eebee870b03568a249e7 (patch)
tree0502dc58b76f6c9252c70d1276ea93faa970b858
parent1f457e88b8f5100d1190e14e08e1d39d1433c08a (diff)
downloadpkgsrc-36b0bb62a8b9fe38c2a8eebee870b03568a249e7.tar.gz
Importing ruby-drb, ruby-drb-1.3.2 package.
druby (DRb) - distributed ruby. DRb can be used to exchange messages among Ruby scripts.
-rw-r--r--net/ruby-drb/Makefile57
-rw-r--r--net/ruby-drb/distinfo6
-rw-r--r--net/ruby-drb/patches/patch-aa14
-rw-r--r--net/ruby-drb/patches/patch-ab14
-rw-r--r--net/ruby-drb/pkg/DESCR5
-rw-r--r--net/ruby-drb/pkg/PLIST49
6 files changed, 145 insertions, 0 deletions
diff --git a/net/ruby-drb/Makefile b/net/ruby-drb/Makefile
new file mode 100644
index 00000000000..c1b778f6dfd
--- /dev/null
+++ b/net/ruby-drb/Makefile
@@ -0,0 +1,57 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 14:25:06 taca Exp $
+# FreeBSD: ports/net/ruby-drb/Makefile,v 1.8 2001/01/18 16:57:25 knu Exp
+
+DISTNAME= drb-1.3.2
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/ \
+ ${MASTER_SITE_RUBY:S/$/contrib\//g}
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www2a.biglobe.ne.jp/~seki/ruby/
+COMMENT= Distributed Ruby
+
+DEPENDS+= ${RUBY_PKGNAMEPREFIX}acl>=1.0.1:../../security/ruby-acl
+DEPENDS+= ${RUBY_PKGNAMEPREFIX}mutexm>=1.0.1:../../devel/ruby-mutexm
+
+DIST_SUBDIR= ruby
+USE_RUBY= yes
+USE_RUBY_RD= yes
+
+DOCS_EN= drb-ref.rd
+DOCS_JA= tuplespace-ref.rd.ja drb-ref.rd.ja
+
+pre-configure:
+ ${RM} -f ${WRKSRC}/doc/acl*
+ ${RM} -f ${WRKSRC}/lib/acl.rb
+ ${RM} -f ${WRKSRC}/lib/mutexm.rb
+ ${RM} -f ${WRKSRC}/runit/acl-test.rb
+
+do-build:
+.for f in ${DOCS_EN}
+ @cd ${WRKSRC}/doc; ${RUBY_RD} ${f} > ${f:S/.rd/.html/}
+.endfor
+.for f in ${DOCS_JA}
+ @cd ${WRKSRC}/doc; ${RUBY_RD} ${f} > ${f:S/.rd/.html/}
+.endfor
+
+do-install:
+ cd ${WRKSRC}; ${RUBY} install.rb
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/drb/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${WRKSRC}/doc/${f:S/.rd/.html/} \
+ ${RUBY_DOCDIR}/drb
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/drb-ref.rd ${RUBY_DOCDIR}/drb
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${WRKSRC}/doc/${f:S/.rd/.html/} \
+ ${RUBY_DOCDIR}/drb/ja
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/drb-ref.rd.ja ${RUBY_DOCDIR}/drb/ja
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/drb/runit
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/drb
+ ${INSTALL_DATA} ${WRKSRC}/runit/* ${RUBY_EXAMPLESDIR}/drb/runit
+
+.include "../../textproc/ruby-rdtool/Makefile.common"
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ruby-drb/distinfo b/net/ruby-drb/distinfo
new file mode 100644
index 00000000000..5184db27351
--- /dev/null
+++ b/net/ruby-drb/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:25:06 taca Exp $
+
+SHA1 (ruby/drb-1.3.2.tar.gz) = 0f14bd1e3351fc9dc4aed827ca6a37f6eebdab06
+Size (ruby/drb-1.3.2.tar.gz) = 21957 bytes
+SHA1 (patch-aa) = 95a8318da3de6f6aba66294219581f48547da844
+SHA1 (patch-ab) = 5f54037cdf896f277cfdeb719ab5a88b431a45c6
diff --git a/net/ruby-drb/patches/patch-aa b/net/ruby-drb/patches/patch-aa
new file mode 100644
index 00000000000..b17608835f3
--- /dev/null
+++ b/net/ruby-drb/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/07/01 14:25:06 taca Exp $
+
+--- doc/drb-ref.rd.ja.orig Sun Mar 18 00:48:21 2001
++++ doc/drb-ref.rd.ja
+@@ -1,3 +1,4 @@
++=begin
+ =dRubyリファレンスマニュアル
+
+ drb-1.3.2b2 版
+@@ -281,3 +282,4 @@
+
+ --- install_acl(acl)
+ DRbServer.default_acl(acl)
++=end
diff --git a/net/ruby-drb/patches/patch-ab b/net/ruby-drb/patches/patch-ab
new file mode 100644
index 00000000000..ce40be09ea2
--- /dev/null
+++ b/net/ruby-drb/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/07/01 14:25:06 taca Exp $
+
+--- doc/drb-ref.rd.orig Sun Mar 18 00:48:21 2001
++++ doc/drb-ref.rd
+@@ -1,3 +1,4 @@
++=begin
+ =dRuby reference manual
+
+ drb-1.3.2b2 version
+@@ -291,3 +292,4 @@
+
+ --- install_acl(acl)
+ DRbServer.default_acl(acl)
++=end
diff --git a/net/ruby-drb/pkg/DESCR b/net/ruby-drb/pkg/DESCR
new file mode 100644
index 00000000000..e8c7a6d6955
--- /dev/null
+++ b/net/ruby-drb/pkg/DESCR
@@ -0,0 +1,5 @@
+druby (DRb) - distributed ruby.
+DRb can be used to exchange messages among Ruby scripts.
+
+Author: Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=druby+-+distributed+ruby
diff --git a/net/ruby-drb/pkg/PLIST b/net/ruby-drb/pkg/PLIST
new file mode 100644
index 00000000000..125af345ccd
--- /dev/null
+++ b/net/ruby-drb/pkg/PLIST
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 14:25:06 taca Exp $
+${RUBY_SITELIBDIR}/drb.rb
+${RUBY_SITELIBDIR}/drb/drb.rb
+${RUBY_SITELIBDIR}/drb/eq.rb
+${RUBY_SITELIBDIR}/drb/extserv.rb
+${RUBY_SITELIBDIR}/drb/extservm.rb
+${RUBY_SITELIBDIR}/drb/rinda.rb
+${RUBY_SITELIBDIR}/drb/timeridconv.rb
+@dirrm ${RUBY_SITELIBDIR}/drb
+${RUBY_SITELIBDIR}/simpletuple.rb
+${RUBY_SITELIBDIR}/timerholder.rb
+${RUBY_SITELIBDIR}/tuplespace.rb
+${RUBY_DOCDIR}/drb/drb-ref.html
+${RUBY_DOCDIR}/drb/drb-ref.rd
+${RUBY_DOCDIR}/drb/ja/drb-ref.html.ja
+${RUBY_DOCDIR}/drb/ja/drb-ref.rd.ja
+${RUBY_DOCDIR}/drb/ja/tuplespace-ref.html.ja
+${RUBY_DOCDIR}/drb/ja/tuplespace-ref.rd.ja
+@dirrm ${RUBY_DOCDIR}/drb/ja
+@dirrm ${RUBY_DOCDIR}/drb
+${RUBY_EXAMPLESDIR}/drb/README.rd.ja
+${RUBY_EXAMPLESDIR}/drb/darray.rb
+${RUBY_EXAMPLESDIR}/drb/darrayc.rb
+${RUBY_EXAMPLESDIR}/drb/dchatc.rb
+${RUBY_EXAMPLESDIR}/drb/dchats.rb
+${RUBY_EXAMPLESDIR}/drb/dhasen.rb
+${RUBY_EXAMPLESDIR}/drb/dhasenc.rb
+${RUBY_EXAMPLESDIR}/drb/dlogc.rb
+${RUBY_EXAMPLESDIR}/drb/dlogd.rb
+${RUBY_EXAMPLESDIR}/drb/dqin.rb
+${RUBY_EXAMPLESDIR}/drb/dqlib.rb
+${RUBY_EXAMPLESDIR}/drb/dqout.rb
+${RUBY_EXAMPLESDIR}/drb/dqueue.rb
+${RUBY_EXAMPLESDIR}/drb/drbc.rb
+${RUBY_EXAMPLESDIR}/drb/drbs-acl.rb
+${RUBY_EXAMPLESDIR}/drb/drbs.rb
+${RUBY_EXAMPLESDIR}/drb/extserv_test.rb
+${RUBY_EXAMPLESDIR}/drb/holderc.rb
+${RUBY_EXAMPLESDIR}/drb/holders.rb
+${RUBY_EXAMPLESDIR}/drb/name.rb
+${RUBY_EXAMPLESDIR}/drb/namec.rb
+${RUBY_EXAMPLESDIR}/drb/rindac.rb
+${RUBY_EXAMPLESDIR}/drb/rindas.rb
+${RUBY_EXAMPLESDIR}/drb/runit/drbunit.rb
+${RUBY_EXAMPLESDIR}/drb/runit/linda_test.rb
+${RUBY_EXAMPLESDIR}/drb/runit/ut_array.rb
+${RUBY_EXAMPLESDIR}/drb/runit/ut_drb.rb
+@dirrm ${RUBY_EXAMPLESDIR}/drb/runit
+@dirrm ${RUBY_EXAMPLESDIR}/drb