aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-rdtool
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-09-21 07:11:33 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-09-21 07:11:33 +0000
commite7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1 (patch)
tree96777ce3759dc136cce0095a6a1045bf877dc452 /textproc/ruby-rdtool
parent598667b8d4f59ab4b27867072574aec01fc2d591 (diff)
downloadports-e7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1.tar.gz
ports-e7adaf2a02a4c7dd3c11ed93a4cf6bfb5241fae1.zip
Notes
Diffstat (limited to 'textproc/ruby-rdtool')
-rw-r--r--textproc/ruby-rdtool/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile
index 2d8d6374c5b9..45fd102832f2 100644
--- a/textproc/ruby-rdtool/Makefile
+++ b/textproc/ruby-rdtool/Makefile
@@ -18,6 +18,7 @@ BUILD_DEPENDS= ${DEPEND_RUBY_AMSTD} \
racc:${PORTSDIR}/devel/ruby-racc
USE_RUBY= yes
+USE_RUBY_FEATURES= optparse strscan
RUBY_SHEBANG_FILES= ${WRKSRC}/rmi2html.rb
@@ -27,13 +28,6 @@ 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
-.include <bsd.port.pre.mk>
-
-.if ${RUBY_VER} < 1.7
-BUILD_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
-RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
-.endif
-
do-configure:
@cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} rdtoolconf.rb
@@ -71,4 +65,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>