るりま参戦
Rubyリファレンスマニュアル刷新計画 に参加することに。
- Ruby のコミュニティにも参加したいと思っていた
- 青木日記の るりマ! / 作業方法 の作業手順がなんだかおもしろそう
- 現在の作業(第2段階)ならとにかくやればできそう
とりあえず BitClust の Portfile を書くところからはじめてみたり。
# $Id: $
PortSystem 1.0
PortGroup ruby 1.0
ruby.setup bitclust 0.0.846 setup.rb {README}
revision 0
maintainers kimuraw
description BitClust is the Next-Generation Ruby reference manual interface.
fetch.type svn
svn.tag 846
svn.url http://i.loveruby.net/svn/rubydoc/bitclust/trunk bitclust
worksrcdir bitclust
platforms darwin
homepage http://doc.loveruby.net/
master_sites http://i.loveruby.net/svn/rubydoc/bitclust/trunk
post-build {
reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/bc-classes.rb
reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/bc-convert.rb
reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/bc-list.rb
reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/bc-methods.rb
reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/bc-preproc.rb
reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/bc-rdoc.rb
reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/bc-tohtml.rb
reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/bin/bitclust.rb
}
手始めに lib/resolv.rb を選んでみたのだけど、内部クラスがたくさんありすぎ!
% rdefs lib/resolv.rb | wc -l
235