summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-rdtool/Makefile8
-rw-r--r--textproc/ruby-rdtool/pkg-plist2
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