aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-rreadline
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-rreadline')
-rw-r--r--devel/ruby-rreadline/Makefile37
-rw-r--r--devel/ruby-rreadline/distinfo1
-rw-r--r--devel/ruby-rreadline/pkg-comment1
-rw-r--r--devel/ruby-rreadline/pkg-descr4
-rw-r--r--devel/ruby-rreadline/pkg-plist21
5 files changed, 64 insertions, 0 deletions
diff --git a/devel/ruby-rreadline/Makefile b/devel/ruby-rreadline/Makefile
new file mode 100644
index 000000000000..e8957e342a1b
--- /dev/null
+++ b/devel/ruby-rreadline/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: Ruby Readline
+# Date created: 29 June 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rreadline
+PORTVERSION= 0.5.4
+CATEGORIES= devel ruby
+MASTER_SITES= http://www.mag.keio.ac.jp/~hiroya/ruby/rreadline/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+RUBY_NO_BUILD_DEPENDS= yes
+
+NO_BUILD= yes
+
+post-extract:
+ ${ECHO} '#!/bin/sh' > ${WRKSRC}/rbsh
+ ${ECHO} 'ruby RubyShell.rb' >> ${WRKSRC}/rbsh
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/*.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/rbsh
+ ${INSTALL_SCRIPT} ${WRKSRC}/rbsh ${RUBY_EXAMPLESDIR}/${PORTNAME}/rbsh/
+ ${INSTALL_DATA} ${WRKSRC}/samples/rbsh/*.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/rbsh/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/
+ ${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-rreadline/distinfo b/devel/ruby-rreadline/distinfo
new file mode 100644
index 000000000000..1d98f327b38a
--- /dev/null
+++ b/devel/ruby-rreadline/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rreadline-0.5.4.tar.gz) = 897e32ad202b236b6dc10f7c5b215ea9
diff --git a/devel/ruby-rreadline/pkg-comment b/devel/ruby-rreadline/pkg-comment
new file mode 100644
index 000000000000..fbcaa1b20099
--- /dev/null
+++ b/devel/ruby-rreadline/pkg-comment
@@ -0,0 +1 @@
+A pure Ruby implementation of the Readline library
diff --git a/devel/ruby-rreadline/pkg-descr b/devel/ruby-rreadline/pkg-descr
new file mode 100644
index 000000000000..2472726bf8d6
--- /dev/null
+++ b/devel/ruby-rreadline/pkg-descr
@@ -0,0 +1,4 @@
+RReadline is a pure Ruby implementation of the Readline library.
+
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=Ruby+Readline
+Author: KUBO Hiroya <hiroya@netcom.mag.keio.ac.jp>
diff --git a/devel/ruby-rreadline/pkg-plist b/devel/ruby-rreadline/pkg-plist
new file mode 100644
index 000000000000..002cb4cf143d
--- /dev/null
+++ b/devel/ruby-rreadline/pkg-plist
@@ -0,0 +1,21 @@
+%%RUBY_SITELIBDIR%%/BuiltInExecutables.rb
+%%RUBY_SITELIBDIR%%/CommandLineActions.rb
+%%RUBY_SITELIBDIR%%/CommandLineEditor.rb
+%%RUBY_SITELIBDIR%%/EditingContext.rb
+%%RUBY_SITELIBDIR%%/EditingLine.rb
+%%RUBY_SITELIBDIR%%/KeyBind.rb
+%%RUBY_SITELIBDIR%%/LimitedArray.rb
+%%RUBY_SITELIBDIR%%/RReadline.rb
+%%RUBY_SITELIBDIR%%/StringUtil.rb
+%%RUBY_SITELIBDIR%%/Terminal.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rreadline/rbsh/rbsh
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rreadline/rbsh/ContextualExecutables.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rreadline/rbsh/RubyShell.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rreadline/rbsh/ShellExecutables.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rreadline/rbsh/UnixDirectoryClient.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/rreadline/rbsh
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/rreadline
+%%PORTDOCS%%%%RUBY_DOCDIR%%/rreadline/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/rreadline/ja/README.ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/rreadline/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/rreadline