Add ruby-doc-stdlib 0.10.1, documentation for the Ruby language standard

library.

Submitter doesn't respond, thus I'll maintain the port.

PR:		ports/101423 (based on)
Submitted by:	Alexander Novitsky <alecn2002 at yandex.ru>
This commit is contained in:
Stanislav Sedov 2007-02-23 00:59:37 +00:00
parent 2e60f5e58e
commit 59e75c4a46
6 changed files with 4544 additions and 0 deletions

View file

@ -255,6 +255,7 @@
SUBDIR += rexx-regina
SUBDIR += rexx-wrapper
SUBDIR += rscheme
SUBDIR += ruby-doc-stdlib
SUBDIR += ruby-extensions
SUBDIR += ruby-js
SUBDIR += ruby-lua

View file

@ -0,0 +1,43 @@
# New ports collection makefile for: ruby-doc-stdlib
# Date created: 2006-08-04
# Whom: Alexander Novitsky <alecn2002@yandex.ru>
#
# $FreeBSD$
#
PORTNAME= stdlib
PORTVERSION= 0.10.1
CATEGORIES= lang ruby
MASTER_SITES= http://www.ruby-doc.org/download/stdlib/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}doc-
DISTNAME= ruby-doc-${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= stas@FreeBSD.org
COMMENT= Documentation for the Ruby language standard library
USE_RUBY= yes
NO_BUILD= yes
.include <bsd.port.pre.mk>
do-install:
${MKDIR} ${RUBY_DOCDIR}/
@(cd ${WRKSRC} && \
${RUBY} install.rb --force --doc-base ${RUBY_DOCDIR}/)
plist:
truncate -s0 pkg-plist
@${FIND} -ds ${RUBY_MODDOCDIR}/ ! -type d | \
${SED} 's,^${RUBY_MODDOCDIR},%%RUBY_MODDOCDIR%%,' \
>> pkg-plist
@${FIND} -ds ${RUBY_MODDOCDIR}/ -type d | ${SORT} -r | ${SED} -E -e \
's,^${RUBY_MODDOCDIR}(.*),@dirrm %%RUBY_MODDOCDIR%%\1,' \
>> pkg-plist
@${ECHO_CMD} "@dirrmtry %%RUBY_DOCDIR%%" >> pkg-plist
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (ruby/ruby-doc-stdlib-0.10.1.tgz) = 5437c281b44e7a4af142d2bd35eba407
SHA256 (ruby/ruby-doc-stdlib-0.10.1.tgz) = 6955435f1f0105656544e8a803867c3b6693a6598a739014bf1ed2221ca72859
SIZE (ruby/ruby-doc-stdlib-0.10.1.tgz) = 2347615

View file

@ -0,0 +1,11 @@
--- install.rb.orig Fri Aug 4 17:53:04 2006
+++ install.rb Fri Aug 4 17:53:10 2006
@@ -125,7 +125,7 @@
Shall I bother?
}.trim
end
- elsif Dir["stdlib"] > 0
+ elsif Dir["stdlib"].size > 0
# It's got *something* in it, but not stdlib doc.
confirm %{
#@doc_base/stdlib contains something, but not what I expected.

View file

@ -0,0 +1,16 @@
Welcome to the Ruby Standard Library Documentation collection,
brought to you by the ruby-doc project.
Whether you are browsing online or offline,
we hope that your use of Ruby's standard library will become more productive
as a result of this effort.
ruby-doc is a project dedicated to creating and collecting
documentation on Ruby.
You can find collections of articles and other resources at the website.
stdlib-doc is a RubyForge project that converts Ruby source code into this
documentation you are looking at.
It also tracks the status of the documentation effort.
Author: James G. Britt <j.g.britt@gmail.com>
WWW: http://www.ruby-doc.org/stdlib/

File diff suppressed because it is too large Load diff