diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-10 17:36:41 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-10 17:36:41 +0000 |
commit | eb2e364948fcf2890c566e3f62954b2135c63596 (patch) | |
tree | fe4240cba0717de2b504b4b4dda133a6a3f8aadd /textproc | |
parent | Update to 0.8 (diff) |
Omit building documents if NOPORTDOCS.
Install rmi2html command too. (still experimental, though)
Notes
Notes:
svn path=/head/; revision=31481
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-rdtool/Makefile | 8 | ||||
-rw-r--r-- | textproc/ruby-rdtool/pkg-plist | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile index d1ccae00fbcd..38ba1b5ef9bd 100644 --- a/textproc/ruby-rdtool/Makefile +++ b/textproc/ruby-rdtool/Makefile @@ -42,16 +42,22 @@ pre-build: @cd ${WRKSRC}; \ ${LN} -s missing/strscan.rb +.if !defined(NOPORTDOCS) post-build: @cd ${WRKSRC}; \ ${RUBY} -I. rd2 -r rd/rd2html-lib.rb README.rd.ja > README.ja.html; \ ${RUBY} -I. rd2 -r rd/rd2html-lib.rb doc/dev-note.rd.ja > doc/dev-note.ja.html; \ ${RUBY} -I. rd2 -r rd/rd2html-lib.rb doc/rd-draft.rd > doc/rd-draft.html; \ ${RUBY} -I. rd2 -r rd/rd2html-lib.rb doc/rd-draft.rd.ja > doc/rd-draft.ja.html +.endif post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/rmi2html.rb ${PREFIX}/bin/rmi2html + ${INSTALL_DATA} ${WRKSRC}/rd/rd2rmi-lib.rb \ + ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/rd/ ${MKDIR} ${PREFIX}/share/examples/ruby/rd - ${CP} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/rd/dot.rd2rc ${PREFIX}/share/examples/ruby/rd/ + ${CP} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/rd/dot.rd2rc \ + ${PREFIX}/share/examples/ruby/rd/ ${MKDIR} ${EMACSLISPDIR} ${INSTALL_DATA} ${WRKSRC}/utils/rd-mode.el ${EMACSLISPDIR}/ ${MKDIR} ${XEMACSLISPDIR} diff --git a/textproc/ruby-rdtool/pkg-plist b/textproc/ruby-rdtool/pkg-plist index 9d0350c54a59..0fe70532af73 100644 --- a/textproc/ruby-rdtool/pkg-plist +++ b/textproc/ruby-rdtool/pkg-plist @@ -1,11 +1,13 @@ bin/rd2 bin/rdswap +bin/rmi2html lib/ruby/site_ruby/%%RUBY_VER%%/rd/dot.rd2rc lib/ruby/site_ruby/%%RUBY_VER%%/rd/filter.rb lib/ruby/site_ruby/%%RUBY_VER%%/rd/rd2html-lib.rb lib/ruby/site_ruby/%%RUBY_VER%%/rd/rd2html-opt.rb lib/ruby/site_ruby/%%RUBY_VER%%/rd/rd2man-lib.rb lib/ruby/site_ruby/%%RUBY_VER%%/rd/rd2rdo-lib.rb +lib/ruby/site_ruby/%%RUBY_VER%%/rd/rd2rmi-lib.rb lib/ruby/site_ruby/%%RUBY_VER%%/rd/rdblockparser.tab.rb lib/ruby/site_ruby/%%RUBY_VER%%/rd/rdfmt.rb lib/ruby/site_ruby/%%RUBY_VER%%/rd/rdinlineparser.tab.rb |