summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-07-13 02:56:48 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-07-13 02:56:48 +0000
commit22c5d947819970001b204f3413624793f482d34d (patch)
tree63f3176716afa161239eef816676325a8111e256 /lang
parentRemove irb to move to lang/ (diff)
irb: Interactive Ruby. A tool to input and evaulate expressions
of Ruby from standard input. PR: 12125 Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
Notes
Notes: svn path=/head/; revision=20177
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby14-irb/Makefile39
-rw-r--r--lang/ruby14-irb/distinfo1
-rw-r--r--lang/ruby14-irb/pkg-comment1
-rw-r--r--lang/ruby14-irb/pkg-descr6
-rw-r--r--lang/ruby14-irb/pkg-plist18
5 files changed, 65 insertions, 0 deletions
diff --git a/lang/ruby14-irb/Makefile b/lang/ruby14-irb/Makefile
new file mode 100644
index 000000000000..96e886d28fce
--- /dev/null
+++ b/lang/ruby14-irb/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: irb
+# Version required: 0.5.1
+# Date created: 19 April 1999
+# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
+#
+# $Id $
+#
+
+DISTNAME= irb-0.5.1
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \
+ ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/contrib/ \
+ ftp://ftp.iij.ad.jp/pub/lang/ruby/contrib/ \
+ ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/contrib/ \
+ ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \
+ ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= yasuf@big.or.jp
+
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+
+WRKSRC= ${WRKDIR}/irb
+
+RUBY= ${LOCALBASE}/bin/ruby
+
+do-build:
+ ( cd ${WRKSRC}; \
+ ${MV} irb.rb irb.tmpl; \
+ ${SED} -e '1s,^#!.*$$,#!${RUBY},' irb.tmpl > irb )
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/irb ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/lib/ruby/irb
+ ${INSTALL_DATA} ${WRKSRC}/*.rb ${PREFIX}/lib/ruby/irb
+ ${MKDIR} ${PREFIX}/share/doc/ruby/irb
+ ${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/ruby/irb
+
+.include <bsd.port.mk>
diff --git a/lang/ruby14-irb/distinfo b/lang/ruby14-irb/distinfo
new file mode 100644
index 000000000000..fca7772eae0c
--- /dev/null
+++ b/lang/ruby14-irb/distinfo
@@ -0,0 +1 @@
+MD5 (irb-0.5.1.tgz) = d504dca29617614bfa8f0b96b3ca85f4
diff --git a/lang/ruby14-irb/pkg-comment b/lang/ruby14-irb/pkg-comment
new file mode 100644
index 000000000000..4b7b5bd02be2
--- /dev/null
+++ b/lang/ruby14-irb/pkg-comment
@@ -0,0 +1 @@
+Interactive Ruby
diff --git a/lang/ruby14-irb/pkg-descr b/lang/ruby14-irb/pkg-descr
new file mode 100644
index 000000000000..4df2700424bd
--- /dev/null
+++ b/lang/ruby14-irb/pkg-descr
@@ -0,0 +1,6 @@
+Irb is an abbrevation of "interactive ruby."
+It's a tool to input and evaluate expressions of Ruby
+from standard input easily.
+
+- Yasuhiro Fukuma
+yasuf@big.or.jp
diff --git a/lang/ruby14-irb/pkg-plist b/lang/ruby14-irb/pkg-plist
new file mode 100644
index 000000000000..b348aa09dcf0
--- /dev/null
+++ b/lang/ruby14-irb/pkg-plist
@@ -0,0 +1,18 @@
+bin/irb
+lib/ruby/irb/frame.rb
+lib/ruby/irb/input-method.rb
+lib/ruby/irb/loader.rb
+lib/ruby/irb/main.rb
+lib/ruby/irb/multi-irb.rb
+lib/ruby/irb/rtags.rb
+lib/ruby/irb/ruby-lex.rb
+lib/ruby/irb/ruby-token.rb
+lib/ruby/irb/slex.rb
+lib/ruby/irb/version.rb
+lib/ruby/irb/xmp.rb
+@dirrm lib/ruby/irb
+share/doc/ruby/irb/README
+share/doc/ruby/irb/README-add
+share/doc/ruby/irb/README-install
+@dirrm share/doc/ruby/irb
+@unexec /bin/rmdir %D/share/doc/ruby >/dev/null 2>&1 || true