diff options
author | knu <knu@FreeBSD.org> | 2002-06-09 01:40:25 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-06-09 01:40:25 +0800 |
commit | d503c96a8291ccab134d63736946467a681b9830 (patch) | |
tree | 8cd31a6f5f779c7c2400a791b11f0cbd276db75f /devel/ruby-racc | |
parent | 3dabea2140f5412430743f5963c683d489abb4e2 (diff) | |
download | freebsd-ports-gnome-d503c96a8291ccab134d63736946467a681b9830.tar.gz freebsd-ports-gnome-d503c96a8291ccab134d63736946467a681b9830.tar.zst freebsd-ports-gnome-d503c96a8291ccab134d63736946467a681b9830.zip |
devel/ruby-racc-runtime has been replaced with lang/ruby16-shim-ruby18.
Diffstat (limited to 'devel/ruby-racc')
-rw-r--r-- | devel/ruby-racc/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/devel/ruby-racc/Makefile b/devel/ruby-racc/Makefile index 36178a8e8db5..30085008c8df 100644 --- a/devel/ruby-racc/Makefile +++ b/devel/ruby-racc/Makefile @@ -17,21 +17,20 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org -.if !defined(RUNTIME) -RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime \ - ${RUBY_SITELIBDIR}/strscan.rb:${PORTSDIR}/devel/ruby-strscan -.endif - USE_RUBY= yes USE_RUBY_SETUP= yes -.if defined(RUNTIME) -CONFIGURE_ARGS= --with=raccrt -.else CONFIGURE_ARGS= --with=racc WRKDIR_RACC= ${WRKSRC}/packages/racc +.include <bsd.port.pre.mk> + +.if ${RUBY_VER} < 1.7 +RUN_DEPENDS+= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 \ + ${RUBY_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/lang/ruby16-shim-ruby18 +.endif + post-extract: ${CP} -p ${WRKDIR_RACC}/misc/* ${WRKDIR_RACC}/bin/ @@ -43,6 +42,5 @@ do-install: ${INSTALL_DATA} ${WRKDIR_RACC}/doc.en/* ${RUBY_DOCDIR}/${PORTNAME}/ ${INSTALL_DATA} ${WRKDIR_RACC}/doc.ja/* ${RUBY_DOCDIR}/${PORTNAME}/ja/ .endif -.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |