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/ruby-rdtool/Makefile | |
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/ruby-rdtool/Makefile')
-rw-r--r-- | textproc/ruby-rdtool/Makefile | 8 |
1 files changed, 7 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} |