diff options
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-rdtool/Makefile | 10 | ||||
-rw-r--r-- | textproc/ruby-xmlscan-old/Makefile | 9 | ||||
-rw-r--r-- | textproc/ruby-xmlscan/Makefile | 9 |
3 files changed, 6 insertions, 22 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile index 2d8d637..45fd102 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> diff --git a/textproc/ruby-xmlscan-old/Makefile b/textproc/ruby-xmlscan-old/Makefile index 5ed1ec8..934ebb6 100644 --- a/textproc/ruby-xmlscan-old/Makefile +++ b/textproc/ruby-xmlscan-old/Makefile @@ -17,12 +17,7 @@ MAINTAINER= knu@FreeBSD.org BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc USE_RUBY= yes - -.include <bsd.port.pre.mk> - -.if ${RUBY_VER} < 1.7 -RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 -.endif +USE_RUBY_FEATURES= racc-runtime do-build: cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry @@ -34,4 +29,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ja/ .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/textproc/ruby-xmlscan/Makefile b/textproc/ruby-xmlscan/Makefile index 5ed1ec8..934ebb6 100644 --- a/textproc/ruby-xmlscan/Makefile +++ b/textproc/ruby-xmlscan/Makefile @@ -17,12 +17,7 @@ MAINTAINER= knu@FreeBSD.org BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc USE_RUBY= yes - -.include <bsd.port.pre.mk> - -.if ${RUBY_VER} < 1.7 -RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 -.endif +USE_RUBY_FEATURES= racc-runtime do-build: cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry @@ -34,4 +29,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ja/ .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |