devel/ruby-racc-runtime and devel/ruby-strscan have been replaced with

lang/ruby16-shim-ruby18.
This commit is contained in:
Akinori MUSHA 2002-06-08 18:23:55 +00:00
parent 7837b990ee
commit a33413de46
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60880
2 changed files with 10 additions and 6 deletions

View file

@ -16,11 +16,8 @@ MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ${DEPEND_RUBY_AMSTD} \
racc:${PORTSDIR}/devel/ruby-racc \
${RUBY_SITELIBDIR}/strscan.rb:${PORTSDIR}/devel/ruby-strscan \
${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime \
${RUBY_SITELIBDIR}/strscan.rb:${PORTSDIR}/devel/ruby-strscan \
${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
RUN_DEPENDS= ${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
USE_RUBY= yes
@ -32,6 +29,14 @@ 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_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
.endif
do-configure:
@cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} rdtoolconf.rb
@ -69,4 +74,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -37,7 +37,6 @@ bin/rmi2html.rb
@dirrm %%RUBY_SITELIBDIR%%/rd
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rd/dot.rd2rc
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/rd
%%PORTDOCS%%@comment %%RUBY_DOCDIR%%/amstd/ja/amstd-ja.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/rd/README.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/rd/rd-draft.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/rd/rd-draft.rd