pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby16-racc Importing ruby16-racc, ruby-racc pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23b84c17e898
branches:  trunk
changeset: 484550:23b84c17e898
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Nov 28 05:59:59 2004 +0000

description:
Importing ruby16-racc, ruby-racc package for ruby16.

        Racc is an LALR(1) parser generator for Ruby.  It is written in Ruby
        and generates Ruby code.  Almost all functions of yacc(1) are
        implemented.

diffstat:

 devel/ruby16-racc/DESCR    |   3 ++
 devel/ruby16-racc/Makefile |  62 ++++++++++++++++++++++++++++++++++++++++++++++
 devel/ruby16-racc/PLIST    |  51 +++++++++++++++++++++++++++++++++++++
 devel/ruby16-racc/distinfo |   6 ++++
 4 files changed, 122 insertions(+), 0 deletions(-)

diffs (138 lines):

diff -r 11374d483165 -r 23b84c17e898 devel/ruby16-racc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby16-racc/DESCR   Sun Nov 28 05:59:59 2004 +0000
@@ -0,0 +1,3 @@
+Racc is an LALR(1) parser generator for Ruby.  It is written in Ruby
+and generates Ruby code.  Almost all functions of yacc(1) are
+implemented.
diff -r 11374d483165 -r 23b84c17e898 devel/ruby16-racc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby16-racc/Makefile        Sun Nov 28 05:59:59 2004 +0000
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/28 05:59:59 taca Exp $
+# FreeBSD: ports/devel/ruby-racc/Makefile,v 1.20 2001/01/27 09:54:30 knu Exp
+
+DISTNAME=      racc-${RACC_VERSION}-all-2
+PKGNAME=       ${RUBY_PKGPREFIX}-racc-${RACC_VERSION}
+CATEGORIES=    devel ruby
+MASTER_SITES=  http://www.loveruby.net/archive/racc/
+
+MAINTAINER=    taca%NetBSD.org@localhost
+HOMEPAGE=      http://www.loveruby.net/en/racc.html
+COMMENT=       LALR(1) parser generator for Ruby 1.6
+
+DEPENDS+= ${RUBY_PKGPREFIX}-strscan>=0.6.1:../../devel/ruby-strscan
+
+RUBY_VERSION=          ${RUBY16_VERSION}
+USE_RUBY_SETUP=                YES
+RACC_VERSION=          1.4.3
+CONFIGURE_ARGS+=       --with=racc,raccrt
+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
+COMMANDS=      racc racc2y y2racc
+
+.include "../../lang/ruby/rubyversion.mk"
+
+pre-configure:
+       ${CP} -p ${WRKSRC}/packages/racc/misc/* ${WRKSRC}/packages/racc/bin
+.if ${RUBY_NAME} != "ruby"
+.for f in ${COMMANDS}
+       ${MV} ${WRKSRC}/packages/racc/bin/$f \
+               ${WRKSRC}/packages/racc/bin/$f-${RUBY_VER}
+.endfor
+.endif
+
+post-install:
+       ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/racc/en
+.for f in ${DOCS}
+       ${INSTALL_DATA} ${WRKSRC}/packages/racc/${f} ${RUBY_DOCDIR}/racc
+.endfor
+.for f in ${DOCS_EN}
+       ${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}/packages/racc/doc.ja/${f} \
+               ${RUBY_DOCDIR}/racc/ja
+.endfor
+       ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/racc
+.for f in ${EXAMPLES}
+       ${INSTALL_DATA} ${WRKSRC}/packages/racc/sample/${f} \
+               ${RUBY_EXAMPLESDIR}/racc
+.endfor
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 11374d483165 -r 23b84c17e898 devel/ruby16-racc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby16-racc/PLIST   Sun Nov 28 05:59:59 2004 +0000
@@ -0,0 +1,51 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/28 05:59:59 taca Exp $
+bin/racc-${RUBY_VER}
+bin/racc2y-${RUBY_VER}
+bin/y2racc-${RUBY_VER}
+${RUBY_SITEARCHLIBDIR}/racc/cparse.so
+@dirrm ${RUBY_SITEARCHLIBDIR}/racc
+${RUBY_SITELIBDIR}/racc/compiler.rb
+${RUBY_SITELIBDIR}/racc/grammar.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/ucodep.rb
+@dirrm ${RUBY_SITELIBDIR}/racc
+${RUBY_DOCDIR}/racc/BUGS.en
+${RUBY_DOCDIR}/racc/BUGS.ja
+${RUBY_DOCDIR}/racc/README.en
+${RUBY_DOCDIR}/racc/README.ja
+${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/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
+@dirrm ${RUBY_DOCDIR}/racc
+${RUBY_EXAMPLESDIR}/racc/array.y
+${RUBY_EXAMPLESDIR}/racc/array2.y
+${RUBY_EXAMPLESDIR}/racc/calc-ja.y
+${RUBY_EXAMPLESDIR}/racc/calc.y
+${RUBY_EXAMPLESDIR}/racc/conflict.y
+${RUBY_EXAMPLESDIR}/racc/hash.y
+${RUBY_EXAMPLESDIR}/racc/lalr.y
+${RUBY_EXAMPLESDIR}/racc/syntax.y
+${RUBY_EXAMPLESDIR}/racc/yyerr.y
+@dirrm ${RUBY_EXAMPLESDIR}/racc
diff -r 11374d483165 -r 23b84c17e898 devel/ruby16-racc/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby16-racc/distinfo        Sun Nov 28 05:59:59 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/28 05:59:59 taca Exp $
+
+SHA1 (ruby/racc-1.4.3-all-2.tar.gz) = c73a7f25d8c4a08fbc75b210891cf78b88b6eac5
+Size (ruby/racc-1.4.3-all-2.tar.gz) = 105554 bytes
+SHA1 (ruby/racc-1.4.4.tar.gz) = 05ec265568fcf22d83b810c0377ea9edb0ca9999
+Size (ruby/racc-1.4.4.tar.gz) = 115343 bytes



Home | Main Index | Thread Index | Old Index