ruby-optparse is now part of ruby16-shim-ruby18.

This commit is contained in:
Akinori MUSHA 2002-08-03 09:03:49 +00:00
parent 1fd170c545
commit fe8a515d58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63897
6 changed files with 14 additions and 17 deletions

View File

@ -13,8 +13,6 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
USE_RUBY= yes
.if !defined(NOPORTDOCS)
USE_RUBY_RD= yes
@ -25,6 +23,12 @@ NO_BUILD= yes
MODULES= rbnamazu.rb nmzqr.rb nmzqr.tab.rb nmzdoc.rb
RD_DOCS= rbnamazu.rd.ja rbnamazu.rd.en
.include <bsd.port.pre.mk>
.if ${RUBY_VER} < 1.7
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/namazu.rb ${PREFIX}/bin/
${LN} -sf namazu.rb ${PREFIX}/bin/rbnamazu
@ -45,4 +49,4 @@ do-install:
.endfor
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -55,8 +55,7 @@ INSTALL_TARGET+= install-doc
.include <bsd.port.pre.mk>
.if ${RUBY_VER} < 1.7
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
.endif
pre-install:

View File

@ -55,8 +55,7 @@ INSTALL_TARGET+= install-doc
.include <bsd.port.pre.mk>
.if ${RUBY_VER} < 1.7
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
.endif
pre-install:

View File

@ -55,8 +55,7 @@ INSTALL_TARGET+= install-doc
.include <bsd.port.pre.mk>
.if ${RUBY_VER} < 1.7
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
.endif
pre-install:

View File

@ -55,8 +55,7 @@ INSTALL_TARGET+= install-doc
.include <bsd.port.pre.mk>
.if ${RUBY_VER} < 1.7
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
.endif
pre-install:

View File

@ -15,9 +15,7 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${DEPEND_RUBY_AMSTD} \
racc:${PORTSDIR}/devel/ruby-racc \
${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
racc:${PORTSDIR}/devel/ruby-racc
USE_RUBY= yes
@ -32,9 +30,8 @@ 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_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/lang/ruby16-shim-ruby18
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 \
${RUBY_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/lang/ruby16-shim-ruby18
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: