diff options
author | knu <knu@FreeBSD.org> | 2000-08-11 01:36:41 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-11 01:36:41 +0800 |
commit | 10988c0749e81429ff3f46b7ba4c8577648201d6 (patch) | |
tree | c38dc0b0c72bdcfc47c9dbd7f9901984e12e772d /textproc/ruby-rdtool | |
parent | f36244063d27ce8bd224d33c21da1b620741c54e (diff) | |
download | freebsd-ports-gnome-10988c0749e81429ff3f46b7ba4c8577648201d6.tar.gz freebsd-ports-gnome-10988c0749e81429ff3f46b7ba4c8577648201d6.tar.zst freebsd-ports-gnome-10988c0749e81429ff3f46b7ba4c8577648201d6.zip |
Omit building documents if NOPORTDOCS.
Install rmi2html command too. (still experimental, though)
Diffstat (limited to 'textproc/ruby-rdtool')
-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 |