aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/ruby-rdtool/Makefile8
-rw-r--r--textproc/ruby-rdtool/distinfo2
-rw-r--r--textproc/ruby-rdtool/pkg-plist4
3 files changed, 6 insertions, 8 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile
index 5db1bf6b1e82..25956569d24a 100644
--- a/textproc/ruby-rdtool/Makefile
+++ b/textproc/ruby-rdtool/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= rdtool
-PORTVERSION= 0.6.6
-PORTREVISION= 2
+PORTVERSION= 0.6.7
CATEGORIES= textproc ruby
MASTER_SITES= http://www2.pos.to/~tosh/ruby/rdtool/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -57,10 +56,9 @@ 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/
- ${MKDIR} ${EMACSLISPDIR}
- ${INSTALL_DATA} ${WRKSRC}/utils/rd-mode.el ${EMACSLISPDIR}/
${MKDIR} ${XEMACSLISPDIR}
- ${LN} -sf ${EMACSLISPDIR}/rd-mode.el ${XEMACSLISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/utils/rd-mode.el ${XEMACSLISPDIR}/
+ ${LN} -sf ${XEMACSLISPDIR}/rd-mode.el ${EMACSLISPDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/utils/rdswap.rb ${PREFIX}/bin/rdswap
.if !defined(NOPORTDOCS)
# ${RUBY_RD} ${RUBY_DOCDIR}/amstd/ja/amstd-ja.rd \
diff --git a/textproc/ruby-rdtool/distinfo b/textproc/ruby-rdtool/distinfo
index b0cf51deb418..a43999f64aed 100644
--- a/textproc/ruby-rdtool/distinfo
+++ b/textproc/ruby-rdtool/distinfo
@@ -1 +1 @@
-MD5 (ruby/rdtool-0.6.6.tar.gz) = 36faf95bd070d560cf752b095ad4ea21
+MD5 (ruby/rdtool-0.6.7.tar.gz) = 9c5cd7f36494a1eb65be2e832b772dc7
diff --git a/textproc/ruby-rdtool/pkg-plist b/textproc/ruby-rdtool/pkg-plist
index bca28fcad033..e3f405947e0c 100644
--- a/textproc/ruby-rdtool/pkg-plist
+++ b/textproc/ruby-rdtool/pkg-plist
@@ -16,10 +16,10 @@ bin/rmi2html.rb
@dirrm %%RUBY_SITELIBDIR%%/rd
%%RUBY_EXAMPLESDIR%%/rd/dot.rd2rc
@dirrm %%RUBY_EXAMPLESDIR%%/rd
-share/emacs/site-lisp/rd-mode.el
lib/xemacs/site-lisp/rd-mode.el
-@unexec rmdir -p %D/share/emacs/site-lisp 2>/dev/null || true
@unexec rmdir -p %D/lib/xemacs/site-lisp 2>/dev/null || true
+@exec ln -sf %D/%F %D/share/emacs/site-lisp/
+@unexec rm -f %D/share/emacs/site-lisp/rd-mode.el 2>/dev/null || true
@comment %%RUBY_DOCDIR%%/amstd/ja/amstd-ja.html
%%RUBY_DOCDIR%%/optparse/ja/optparse.ja.html
%%RUBY_DOCDIR%%/optparse/optparse.en.html