mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
ruby-optparse is now part of ruby16-shim-ruby18.
This commit is contained in:
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
|
@ -13,8 +13,6 @@ DIST_SUBDIR= ruby
|
||||||
|
|
||||||
MAINTAINER= knu@FreeBSD.org
|
MAINTAINER= knu@FreeBSD.org
|
||||||
|
|
||||||
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
|
|
||||||
|
|
||||||
USE_RUBY= yes
|
USE_RUBY= yes
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
USE_RUBY_RD= yes
|
USE_RUBY_RD= yes
|
||||||
|
@ -25,6 +23,12 @@ NO_BUILD= yes
|
||||||
MODULES= rbnamazu.rb nmzqr.rb nmzqr.tab.rb nmzdoc.rb
|
MODULES= rbnamazu.rb nmzqr.rb nmzqr.tab.rb nmzdoc.rb
|
||||||
RD_DOCS= rbnamazu.rd.ja rbnamazu.rd.en
|
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:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/namazu.rb ${PREFIX}/bin/
|
${INSTALL_SCRIPT} ${WRKSRC}/namazu.rb ${PREFIX}/bin/
|
||||||
${LN} -sf namazu.rb ${PREFIX}/bin/rbnamazu
|
${LN} -sf namazu.rb ${PREFIX}/bin/rbnamazu
|
||||||
|
@ -45,4 +49,4 @@ do-install:
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -55,8 +55,7 @@ INSTALL_TARGET+= install-doc
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${RUBY_VER} < 1.7
|
.if ${RUBY_VER} < 1.7
|
||||||
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
|
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
||||||
${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
|
|
@ -55,8 +55,7 @@ INSTALL_TARGET+= install-doc
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${RUBY_VER} < 1.7
|
.if ${RUBY_VER} < 1.7
|
||||||
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
|
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
||||||
${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
|
|
@ -55,8 +55,7 @@ INSTALL_TARGET+= install-doc
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${RUBY_VER} < 1.7
|
.if ${RUBY_VER} < 1.7
|
||||||
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
|
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
||||||
${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
|
|
@ -55,8 +55,7 @@ INSTALL_TARGET+= install-doc
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${RUBY_VER} < 1.7
|
.if ${RUBY_VER} < 1.7
|
||||||
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse \
|
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
||||||
${RUBY_SITEARCHLIBDIR}/features/ruby18/file.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
|
|
@ -15,9 +15,7 @@ DIST_SUBDIR= ruby
|
||||||
MAINTAINER= knu@FreeBSD.org
|
MAINTAINER= knu@FreeBSD.org
|
||||||
|
|
||||||
BUILD_DEPENDS= ${DEPEND_RUBY_AMSTD} \
|
BUILD_DEPENDS= ${DEPEND_RUBY_AMSTD} \
|
||||||
racc:${PORTSDIR}/devel/ruby-racc \
|
racc:${PORTSDIR}/devel/ruby-racc
|
||||||
${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
|
|
||||||
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
|
|
||||||
|
|
||||||
USE_RUBY= yes
|
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>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${RUBY_VER} < 1.7
|
.if ${RUBY_VER} < 1.7
|
||||||
BUILD_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
BUILD_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
|
||||||
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 \
|
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/lang/ruby16-shim-ruby18
|
||||||
${RUBY_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/lang/ruby16-shim-ruby18
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
do-configure:
|
do-configure:
|
||||||
|
|
Loading…
Add table
Reference in a new issue