aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-rdtool/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-12-25 21:32:53 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-12-25 21:32:53 +0000
commitd71d88c548c19652d4db572a279611a1ef9bcb57 (patch)
tree9a9a60b64d0593e5ee03cfa344679f82ec937bed /textproc/ruby-rdtool/Makefile
parentd90395ae3d99d3bca9439de5e3ac7ffc9128c54c (diff)
downloadports-d71d88c548c19652d4db572a279611a1ef9bcb57.tar.gz
ports-d71d88c548c19652d4db572a279611a1ef9bcb57.zip
Notes
Diffstat (limited to 'textproc/ruby-rdtool/Makefile')
-rw-r--r--textproc/ruby-rdtool/Makefile39
1 files changed, 6 insertions, 33 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile
index a77facb4a8f8..b1cd92dd8d97 100644
--- a/textproc/ruby-rdtool/Makefile
+++ b/textproc/ruby-rdtool/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= rdtool
-PORTVERSION= 0.6.14
+PORTVERSION= 0.6.16
CATEGORIES= textproc ruby
-MASTER_SITES= http://www2.pos.to/~tosh/ruby/rdtool/archive/
+MASTER_SITES= http://www.moonwolf.com/ruby/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
@@ -20,44 +20,17 @@ BUILD_DEPENDS= ${DEPEND_RUBY_AMSTD} \
USE_RUBY= yes
USE_RUBY_FEATURES= optparse strscan
+USE_RUBY_SETUP= yes
RUBY_MODNAME= rd
-RUBY_SHEBANG_FILES= ${WRKSRC}/rmi2html.rb
-
-EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
-XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
-
-DOCS_EN= README.html doc/rd-draft.rd doc/rd-draft.html
-DOCS_JA= README.ja.html doc/rd-draft.rd.ja doc/rd-draft.ja.html
-
-do-configure:
- @cd ${WRKSRC}; \
- ${SETENV} ${CONFIGURE_ENV} ${RUBY} rdtoolconf.rb
-
-post-patch:
- ${RUBY} -i -pe 'gsub %r"/usr/local\b", "${PREFIX}"' ${WRKSRC}/utils/rdswap.rb
-
-pre-build:
- @cd ${WRKSRC}; \
- ${LN} -s missing/strscan.rb
-
-.if !defined(NOPORTDOCS)
-post-build:
-.for f in README.rd.ja doc/rd-draft.rd doc/rd-draft.rd.ja
- cd ${WRKSRC}; ${RUBY} -I. rd2 -r rd/rd2html-lib.rb ${f} \
- > ${f:S/.rd.ja$/.ja.html/:S/.rd$/.html/}
-.endfor
-.endif
+DOCS_EN= README.rd README.html doc/rd-draft.rd
+DOCS_JA= README.rd.ja README.ja.html doc/rd-draft.rd.ja
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/rmi2html.rb ${PREFIX}/bin/
- ${LN} -sf rmi2html.rb ${PREFIX}/bin/rmi2html
- ${INSTALL_DATA} ${WRKSRC}/rd/rd2rmi-lib.rb ${RUBY_SITELIBDIR}/rd/
- ${INSTALL_SCRIPT} ${WRKSRC}/utils/rdswap.rb ${PREFIX}/bin/rdswap
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/rd/dot.rd2rc ${RUBY_MODEXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/