aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-rdtool/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-21 05:15:56 +0800
committerknu <knu@FreeBSD.org>2000-10-21 05:15:56 +0800
commit19f84fde101a5a8a2fb3392ee3dea5f915f2e727 (patch)
treeb862f8aae2f229e1d5b669c51ae71550db7552f3 /textproc/ruby-rdtool/Makefile
parent5693553b223ffcc43ca8036862b4c8d01045e625 (diff)
downloadfreebsd-ports-gnome-19f84fde101a5a8a2fb3392ee3dea5f915f2e727.tar.gz
freebsd-ports-gnome-19f84fde101a5a8a2fb3392ee3dea5f915f2e727.tar.zst
freebsd-ports-gnome-19f84fde101a5a8a2fb3392ee3dea5f915f2e727.zip
Update to 0.6.6, with the patches merged. :)
Diffstat (limited to 'textproc/ruby-rdtool/Makefile')
-rw-r--r--textproc/ruby-rdtool/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile
index cffd16f1ca55..835f6a4405d6 100644
--- a/textproc/ruby-rdtool/Makefile
+++ b/textproc/ruby-rdtool/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rdtool
-PORTVERSION= 0.6.5
+PORTVERSION= 0.6.6
CATEGORIES= textproc ruby
MASTER_SITES= http://www2.pos.to/~tosh/ruby/rdtool/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -23,6 +23,8 @@ RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runti
USE_RUBY= yes
+RUBY_SHEBANG_FILES= ${WRKSRC}/rmi2html.rb
+
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
@@ -35,7 +37,7 @@ do-configure:
${SETENV} ${CONFIGURE_ENV} ${RUBY} rdtoolconf.rb
post-patch:
- ${PERL} -i -pe 's,/usr/local,${PREFIX},g' ${WRKSRC}/utils/rdswap.rb
+ ${RUBY} -i -pe 'gsub %r"/usr/local\b", "${PREFIX}"' ${WRKSRC}/utils/rdswap.rb
pre-build:
@cd ${WRKSRC}; \