diff options
author | taca <taca@pkgsrc.org> | 2004-03-10 11:04:50 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-03-10 11:04:50 +0000 |
commit | 538769cef753ed5d3d1fdd809e6c52e67ea3ad27 (patch) | |
tree | d8355a6ddea1b99a040e3f9b9ffcd87dc5d7f122 /devel/ruby-racc | |
parent | a5070101e064a9dfc32bba7fadc85c5b1f73d06b (diff) | |
download | pkgsrc-538769cef753ed5d3d1fdd809e6c52e67ea3ad27.tar.gz |
Revert ruby-racc package to 1.4.3.
It seems that racc 1.4.4 can generate parser code for Ruby 1.6.X, but
racc itself can't work on Ruby 1.6.X.
This ruby-racc package 1.4.3nb1 contains old ruby-racc-runtime-1.4.3 and
ruby-racc-1.4.3 package.
Diffstat (limited to 'devel/ruby-racc')
-rw-r--r-- | devel/ruby-racc/MESSAGE | 7 | ||||
-rw-r--r-- | devel/ruby-racc/Makefile | 34 | ||||
-rw-r--r-- | devel/ruby-racc/PLIST | 23 | ||||
-rw-r--r-- | devel/ruby-racc/distinfo | 6 |
4 files changed, 37 insertions, 33 deletions
diff --git a/devel/ruby-racc/MESSAGE b/devel/ruby-racc/MESSAGE deleted file mode 100644 index 7a7b7ad447f..00000000000 --- a/devel/ruby-racc/MESSAGE +++ /dev/null @@ -1,7 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE,v 1.1 2004/03/07 14:32:28 taca Exp $ - -ruby-racc-runtime package has gone since it is included in Ruby 1.8 and -lator. Please use racc with "-E" option prior to Ruby 1.8 release. - -=========================================================================== diff --git a/devel/ruby-racc/Makefile b/devel/ruby-racc/Makefile index eecf3bd046e..469b77c632d 100644 --- a/devel/ruby-racc/Makefile +++ b/devel/ruby-racc/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.6 2004/03/07 14:32:28 taca Exp $ +# $NetBSD: Makefile,v 1.7 2004/03/10 11:04:50 taca Exp $ # FreeBSD: ports/devel/ruby-racc/Makefile,v 1.20 2001/01/27 09:54:30 knu Exp -DISTNAME= racc-1.4.4 -PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME} +DISTNAME= racc-${RACC_VERSION}-all-2 +PKGNAME= ${RUBY_PKGNAMEPREFIX}racc-${RACC_VERSION} +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.loveruby.net/archive/racc/ @@ -14,35 +15,42 @@ DEPENDS+= ${RUBY_PKGNAMEPREFIX}strscan>=0.6.1:../../devel/ruby-strscan CONFLICTS= racc-runtime-* +RACC_VERSION= 1.4.3 DIST_SUBDIR= ruby USE_RUBY= yes USE_RUBY_SETUP= yes - -DOCS= ChangeLog NEWS.en NEWS.ja README.en README.ja -DOCS_EN= NEWS.html command.html debug.html grammar.html index.html \ - parser.html usage.html -DOCS_JA= NEWS.html command.html debug.html grammar.html index.html \ - parser.html usage.html +CONFIGURE_ARGS+=--with=racc,raccrt +# work around for current distfile's name +WRKSRC= ${WRKDIR}/racc-${RACC_VERSION}-all + +DOCS= BUGS.en BUGS.ja README.en README.ja +DOCS_EN= changes.html command.html debug.html grammar.html index.html \ + notes.html parser.html usage.html +DOCS_JA= changes.html command.html debug.html grammar.html index.html \ + notes.html parser.html usage.html EXAMPLES= array.y array2.y calc-ja.y calc.y conflict.y hash.y lalr.y \ syntax.y yyerr.y +pre-configure: + ${CP} -p ${WRKSRC}/packages/racc/misc/* ${WRKSRC}/packages/racc/bin + post-install: ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/racc/en .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/racc + ${INSTALL_DATA} ${WRKSRC}/packages/racc/${f} ${RUBY_DOCDIR}/racc .endfor .for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/doc.en/${f} \ + ${INSTALL_DATA} ${WRKSRC}/packages/racc/doc.en/${f} \ ${RUBY_DOCDIR}/racc/en .endfor ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/racc/ja .for f in ${DOCS_JA} - ${INSTALL_DATA} ${WRKSRC}/doc.ja/${f} \ + ${INSTALL_DATA} ${WRKSRC}/packages/racc/doc.ja/${f} \ ${RUBY_DOCDIR}/racc/ja .endfor ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/racc .for f in ${EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/sample/${f} \ + ${INSTALL_DATA} ${WRKSRC}/packages/racc/sample/${f} \ ${RUBY_EXAMPLESDIR}/racc .endfor diff --git a/devel/ruby-racc/PLIST b/devel/ruby-racc/PLIST index 219a1653c56..8c51b2746b2 100644 --- a/devel/ruby-racc/PLIST +++ b/devel/ruby-racc/PLIST @@ -1,37 +1,40 @@ -@comment $NetBSD: PLIST,v 1.5 2004/03/07 14:32:28 taca Exp $ +@comment $NetBSD: PLIST,v 1.6 2004/03/10 11:04:50 taca Exp $ bin/racc bin/racc2y bin/y2racc +${RUBY_SITEARCHLIBDIR}/racc/cparse.so +@dirrm ${RUBY_SITEARCHLIBDIR}/racc ${RUBY_SITELIBDIR}/racc/compiler.rb -${RUBY_SITELIBDIR}/racc/compat.rb ${RUBY_SITELIBDIR}/racc/grammar.rb -${RUBY_SITELIBDIR}/racc/grammarfileparser.rb -${RUBY_SITELIBDIR}/racc/grammarfilescanner.rb ${RUBY_SITELIBDIR}/racc/info.rb ${RUBY_SITELIBDIR}/racc/iset.rb ${RUBY_SITELIBDIR}/racc/output.rb +${RUBY_SITELIBDIR}/racc/parser.rb +${RUBY_SITELIBDIR}/racc/raccp.rb +${RUBY_SITELIBDIR}/racc/raccs.rb ${RUBY_SITELIBDIR}/racc/rubyloader.rb ${RUBY_SITELIBDIR}/racc/state.rb -${RUBY_SITELIBDIR}/racc/usercodeparser.rb +${RUBY_SITELIBDIR}/racc/ucodep.rb @dirrm ${RUBY_SITELIBDIR}/racc -${RUBY_DOCDIR}/racc/ChangeLog -${RUBY_DOCDIR}/racc/NEWS.en -${RUBY_DOCDIR}/racc/NEWS.ja +${RUBY_DOCDIR}/racc/BUGS.en +${RUBY_DOCDIR}/racc/BUGS.ja ${RUBY_DOCDIR}/racc/README.en ${RUBY_DOCDIR}/racc/README.ja -${RUBY_DOCDIR}/racc/en/NEWS.html +${RUBY_DOCDIR}/racc/en/changes.html ${RUBY_DOCDIR}/racc/en/command.html ${RUBY_DOCDIR}/racc/en/debug.html ${RUBY_DOCDIR}/racc/en/grammar.html ${RUBY_DOCDIR}/racc/en/index.html +${RUBY_DOCDIR}/racc/en/notes.html ${RUBY_DOCDIR}/racc/en/parser.html ${RUBY_DOCDIR}/racc/en/usage.html @dirrm ${RUBY_DOCDIR}/racc/en -${RUBY_DOCDIR}/racc/ja/NEWS.html +${RUBY_DOCDIR}/racc/ja/changes.html ${RUBY_DOCDIR}/racc/ja/command.html ${RUBY_DOCDIR}/racc/ja/debug.html ${RUBY_DOCDIR}/racc/ja/grammar.html ${RUBY_DOCDIR}/racc/ja/index.html +${RUBY_DOCDIR}/racc/ja/notes.html ${RUBY_DOCDIR}/racc/ja/parser.html ${RUBY_DOCDIR}/racc/ja/usage.html @dirrm ${RUBY_DOCDIR}/racc/ja diff --git a/devel/ruby-racc/distinfo b/devel/ruby-racc/distinfo index 9b08183631f..4af3bf61f80 100644 --- a/devel/ruby-racc/distinfo +++ b/devel/ruby-racc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2004/03/07 14:32:28 taca Exp $ +$NetBSD: distinfo,v 1.5 2004/03/10 11:04:50 taca Exp $ -SHA1 (ruby/racc-1.4.4.tar.gz) = 05ec265568fcf22d83b810c0377ea9edb0ca9999 -Size (ruby/racc-1.4.4.tar.gz) = 115343 bytes +SHA1 (ruby/racc-1.4.3-all-2.tar.gz) = c73a7f25d8c4a08fbc75b210891cf78b88b6eac5 +Size (ruby/racc-1.4.3-all-2.tar.gz) = 105554 bytes |