aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-08 06:51:54 +0800
committerknu <knu@FreeBSD.org>2001-02-08 06:51:54 +0800
commit21b30bebfc1298f28ccb0e5dc050839e138ff4c6 (patch)
tree8ee41af52cf9c5cb77a8d507d1c97d5fb237456e
parent263c7550c3a7cd88c38171f953f206152f297849 (diff)
downloadfreebsd-ports-gnome-21b30bebfc1298f28ccb0e5dc050839e138ff4c6.tar.gz
freebsd-ports-gnome-21b30bebfc1298f28ccb0e5dc050839e138ff4c6.tar.zst
freebsd-ports-gnome-21b30bebfc1298f28ccb0e5dc050839e138ff4c6.zip
Add ruby-reference, Ruby Class and Module Reference, in HTML format.
This really is a great work. Every Ruby user should have this installed to help them hack Ruby. :)
-rw-r--r--lang/Makefile1
-rw-r--r--lang/ruby-reference/Makefile31
-rw-r--r--lang/ruby-reference/distinfo1
-rw-r--r--lang/ruby-reference/pkg-comment1
-rw-r--r--lang/ruby-reference/pkg-descr10
-rw-r--r--lang/ruby-reference/pkg-plist47
6 files changed, 91 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 5144c06a982e..54f921f46a89 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -106,6 +106,7 @@
SUBDIR += ruby-man
SUBDIR += ruby-perl
SUBDIR += ruby-python
+ SUBDIR += ruby-reference
SUBDIR += ruby-tcltklib
SUBDIR += ruby-usersguide
SUBDIR += ruby14
diff --git a/lang/ruby-reference/Makefile b/lang/ruby-reference/Makefile
new file mode 100644
index 000000000000..994665e42521
--- /dev/null
+++ b/lang/ruby-reference/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: ruby-reference
+# Date created: 8 February 200
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ruby-reference
+PORTVERSION= 1.0
+CATEGORIES= lang ruby
+MASTER_SITES= http://www.pragmaticprogrammer.com/ruby/downloads/files/
+DISTNAME= rubyref_html_${PORTVERSION}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+RUBY_NO_BUILD_DEPENDS= yes
+RUBY_NO_RUN_DEPENDS= yes
+
+WRKSRC= ${WRKDIR}/ref
+NO_BUILD= yes
+
+DOCDIR= ${RUBY_DOCDIR}/${PORTNAME}
+
+do-install:
+ ${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/* ${DOCDIR}
+
+.include <bsd.port.mk>
diff --git a/lang/ruby-reference/distinfo b/lang/ruby-reference/distinfo
new file mode 100644
index 000000000000..646b0c8799dc
--- /dev/null
+++ b/lang/ruby-reference/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rubyref_html_1.0.tgz) = add41cba3758dd99d9ebc8b5fcf77a0b
diff --git a/lang/ruby-reference/pkg-comment b/lang/ruby-reference/pkg-comment
new file mode 100644
index 000000000000..ee3d897e42f2
--- /dev/null
+++ b/lang/ruby-reference/pkg-comment
@@ -0,0 +1 @@
+Ruby Class and Module Reference, in HTML format
diff --git a/lang/ruby-reference/pkg-descr b/lang/ruby-reference/pkg-descr
new file mode 100644
index 000000000000..3db1972b0208
--- /dev/null
+++ b/lang/ruby-reference/pkg-descr
@@ -0,0 +1,10 @@
+RubyRef--Class and Module Reference
+
+This is the class and library reference from the Programming Ruby book
+as a set of XML and/or HTML files. The HTML files are the ones used at
+RubyCentral.
+
+The documentation is released under the Open Publication License.
+
+WWW: http://www.pragmaticprogrammer.com/ruby/downloads/refman.html
+Authors: The Pragmatic Programmers, LLC
diff --git a/lang/ruby-reference/pkg-plist b/lang/ruby-reference/pkg-plist
new file mode 100644
index 000000000000..09e95840ff8c
--- /dev/null
+++ b/lang/ruby-reference/pkg-plist
@@ -0,0 +1,47 @@
+%%RUBY_DOCDIR%%/ruby-reference/COPYING
+%%RUBY_DOCDIR%%/ruby-reference/README
+%%RUBY_DOCDIR%%/ruby-reference/index.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_array.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_bignum.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_binding.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_class.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_continuation.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_dir.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_exception.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_falseclass.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_file.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_file__stat.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_fixnum.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_float.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_hash.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_integer.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_io.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_matchingdata.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_method.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_module.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_nilclass.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_numeric.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_object.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_proc.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_range.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_regexp.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_string.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_struct.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_struct__tms.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_symbol.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_thread.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_threadgroup.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_time.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_c_trueclass.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_comparable.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_enumerable.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_errno.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_filetest.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_gc.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_kernel.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_marshal.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_math.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_objectspace.html
+%%RUBY_DOCDIR%%/ruby-reference/ref_m_process.html
+@dirrm %%RUBY_DOCDIR%%/ruby-reference
+@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true