pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/javacc Import javacc.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c273232ae847
branches: trunk
changeset: 512522:c273232ae847
user: minskim <minskim%pkgsrc.org@localhost>
date: Thu May 11 03:50:02 2006 +0000
description:
Import javacc.
Java Compiler Compiler [tm] (JavaCC [tm]) is the most popular parser
generator for use with Java [tm] applications. A parser generator is
a tool that reads a grammar specification and converts it to a Java
program that can recognize matches to the grammar. In addition to the
parser generator itself, JavaCC provides other standard capabilities
related to parser generation such as tree building (via a tool called
JJTree included with JavaCC), actions, debugging, etc.
diffstat:
devel/javacc/DESCR | 7 ++
devel/javacc/Makefile | 41 +++++++++++
devel/javacc/PLIST | 172 ++++++++++++++++++++++++++++++++++++++++++++++++++
devel/javacc/distinfo | 5 +
4 files changed, 225 insertions(+), 0 deletions(-)
diffs (241 lines):
diff -r 0c7a6ca79b6d -r c273232ae847 devel/javacc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/javacc/DESCR Thu May 11 03:50:02 2006 +0000
@@ -0,0 +1,7 @@
+Java Compiler Compiler [tm] (JavaCC [tm]) is the most popular parser
+generator for use with Java [tm] applications. A parser generator is
+a tool that reads a grammar specification and converts it to a Java
+program that can recognize matches to the grammar. In addition to the
+parser generator itself, JavaCC provides other standard capabilities
+related to parser generation such as tree building (via a tool called
+JJTree included with JavaCC), actions, debugging, etc.
diff -r 0c7a6ca79b6d -r c273232ae847 devel/javacc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/javacc/Makefile Thu May 11 03:50:02 2006 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/11 03:50:02 minskim Exp $
+
+DISTNAME= javacc-4.0
+CATEGORIES= devel
+MASTER_SITES= https://javacc.dev.java.net/files/documents/17/26776/
+
+MAINTAINER= minskim%NetBSD.org@localhost
+HOMEPAGE= https://javacc.dev.java.net/
+COMMENT= Java Compiler Compiler [tm]
+
+NO_BUILD= yes
+USE_JAVA= run
+USE_JAVA2= yes
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= Fixing classpath.
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= bin/javacc bin/jjdoc bin/jjtree
+SUBST_SED.paths= -e 's,`dirname \$$0`/lib,${PREFIX}/lib/java,g'
+
+.include "../../mk/java-vm.mk"
+
+INSTALLATION_DIRS+= bin
+
+do-install:
+.for f in javacc jjdoc jjtree
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${PREFIX}/bin
+.endfor
+ ${INSTALL_DATA_DIR} ${PREFIX}/lib/java
+ ${INSTALL_DATA} ${WRKSRC}/bin/lib/javacc.jar ${PREFIX}/lib/java
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/javacc
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/javacc
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/javacc
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/javacc
+ ${CP} -R ${WRKSRC}/examples/* ${PREFIX}/share/examples/javacc
+ ${FIND} ${PREFIX}/share/examples/javacc -type d -print \
+ | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${FIND} ${PREFIX}/share/examples/javacc -type f -print \
+ | ${XARGS} ${CHMOD} ${SHAREMODE}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0c7a6ca79b6d -r c273232ae847 devel/javacc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/javacc/PLIST Thu May 11 03:50:02 2006 +0000
@@ -0,0 +1,172 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/11 03:50:03 minskim Exp $
+bin/javacc
+bin/jjdoc
+bin/jjtree
+lib/java/javacc.jar
+share/doc/javacc/CharStream.html
+share/doc/javacc/JJDoc.html
+share/doc/javacc/JJTree.html
+share/doc/javacc/LICENSE
+share/doc/javacc/apiroutines.html
+share/doc/javacc/commandline.html
+share/doc/javacc/docindex.html
+share/doc/javacc/errorrecovery.html
+share/doc/javacc/features.html
+share/doc/javacc/index.html
+share/doc/javacc/installhelp.html
+share/doc/javacc/javaccgrm.html
+share/doc/javacc/javaccreleasenotes.html
+share/doc/javacc/jjdocreleasenotes.html
+share/doc/javacc/jjtreeREADME.html
+share/doc/javacc/jjtreeintro.html
+share/doc/javacc/jjtreereleasenotes.html
+share/doc/javacc/lexertips.html
+share/doc/javacc/lookahead.html
+share/doc/javacc/mailinglist.html
+share/doc/javacc/simpleREADME.html
+share/doc/javacc/support.html
+share/doc/javacc/tokenmanager.html
+share/examples/javacc/CORBA-IDL/IDL.jj
+share/examples/javacc/CORBA-IDL/README
+share/examples/javacc/GUIParsing/ParserVersion/CalcGUI.java
+share/examples/javacc/GUIParsing/ParserVersion/CalcInput.jj
+share/examples/javacc/GUIParsing/ParserVersion/Main.java
+share/examples/javacc/GUIParsing/ParserVersion/ProducerConsumer.java
+share/examples/javacc/GUIParsing/ParserVersion/README
+share/examples/javacc/GUIParsing/ParserVersion/TokenCollector.java
+share/examples/javacc/GUIParsing/README
+share/examples/javacc/GUIParsing/TokenMgrVersion/CalcGUI.java
+share/examples/javacc/GUIParsing/TokenMgrVersion/CalcInput.jj
+share/examples/javacc/GUIParsing/TokenMgrVersion/CharCollector.java
+share/examples/javacc/GUIParsing/TokenMgrVersion/Main.java
+share/examples/javacc/GUIParsing/TokenMgrVersion/MyLexer.java
+share/examples/javacc/GUIParsing/TokenMgrVersion/README
+share/examples/javacc/Interpreter/ASTAddNode.java
+share/examples/javacc/Interpreter/ASTAndNode.java
+share/examples/javacc/Interpreter/ASTAssignment.java
+share/examples/javacc/Interpreter/ASTBitwiseAndNode.java
+share/examples/javacc/Interpreter/ASTBitwiseComplNode.java
+share/examples/javacc/Interpreter/ASTBitwiseOrNode.java
+share/examples/javacc/Interpreter/ASTBitwiseXorNode.java
+share/examples/javacc/Interpreter/ASTBlock.java
+share/examples/javacc/Interpreter/ASTCompilationUnit.java
+share/examples/javacc/Interpreter/ASTDivNode.java
+share/examples/javacc/Interpreter/ASTEQNode.java
+share/examples/javacc/Interpreter/ASTFalseNode.java
+share/examples/javacc/Interpreter/ASTGENode.java
+share/examples/javacc/Interpreter/ASTGTNode.java
+share/examples/javacc/Interpreter/ASTId.java
+share/examples/javacc/Interpreter/ASTIfStatement.java
+share/examples/javacc/Interpreter/ASTIntConstNode.java
+share/examples/javacc/Interpreter/ASTLENode.java
+share/examples/javacc/Interpreter/ASTLTNode.java
+share/examples/javacc/Interpreter/ASTModNode.java
+share/examples/javacc/Interpreter/ASTMulNode.java
+share/examples/javacc/Interpreter/ASTNENode.java
+share/examples/javacc/Interpreter/ASTNotNode.java
+share/examples/javacc/Interpreter/ASTOrNode.java
+share/examples/javacc/Interpreter/ASTReadStatement.java
+share/examples/javacc/Interpreter/ASTStatementExpression.java
+share/examples/javacc/Interpreter/ASTSubtractNode.java
+share/examples/javacc/Interpreter/ASTTrueNode.java
+share/examples/javacc/Interpreter/ASTVarDeclaration.java
+share/examples/javacc/Interpreter/ASTWhileStatement.java
+share/examples/javacc/Interpreter/ASTWriteStatement.java
+share/examples/javacc/Interpreter/MyNode.java
+share/examples/javacc/Interpreter/Node.java
+share/examples/javacc/Interpreter/README
+share/examples/javacc/Interpreter/SPL.java
+share/examples/javacc/Interpreter/SPL.jjt
+share/examples/javacc/Interpreter/fact.spl
+share/examples/javacc/Interpreter/odd.spl
+share/examples/javacc/Interpreter/sqrt.spl
+share/examples/javacc/JJTreeExamples/ASTMyID.java
+share/examples/javacc/JJTreeExamples/ASTMyOtherID.java
+share/examples/javacc/JJTreeExamples/README
+share/examples/javacc/JJTreeExamples/build.xml
+share/examples/javacc/JJTreeExamples/eg1.jjt
+share/examples/javacc/JJTreeExamples/eg2.jjt
+share/examples/javacc/JJTreeExamples/eg3.jjt
+share/examples/javacc/JJTreeExamples/eg4.jjt
+share/examples/javacc/JJTreeExamples/eg4DumpVisitor.java
+share/examples/javacc/JavaCCGrammar/JavaCC.jj
+share/examples/javacc/JavaGrammars/1.5/Java1.5.jj
+share/examples/javacc/JavaGrammars/1.5/Main.java
+share/examples/javacc/JavaGrammars/1.5/README
+share/examples/javacc/JavaGrammars/1.5/Test.java
+share/examples/javacc/JavaGrammars/1.5/Token.java
+share/examples/javacc/JavaGrammars/1.5/build.xml
+share/examples/javacc/JavaGrammars/Java1.0.2.jj
+share/examples/javacc/JavaGrammars/Java1.0.2LS.jj
+share/examples/javacc/JavaGrammars/Java1.1.jj
+share/examples/javacc/JavaGrammars/Java1.1noLA.jj
+share/examples/javacc/JavaGrammars/OPTIMIZING
+share/examples/javacc/JavaGrammars/README
+share/examples/javacc/JavaGrammars/Test.java
+share/examples/javacc/Lookahead/Example1.jj
+share/examples/javacc/Lookahead/Example10.jj
+share/examples/javacc/Lookahead/Example2.jj
+share/examples/javacc/Lookahead/Example3.jj
+share/examples/javacc/Lookahead/Example4.jj
+share/examples/javacc/Lookahead/Example5.jj
+share/examples/javacc/Lookahead/Example6.jj
+share/examples/javacc/Lookahead/Example7.jj
+share/examples/javacc/Lookahead/Example8.jj
+share/examples/javacc/Lookahead/Example9.jj
+share/examples/javacc/Lookahead/README
+share/examples/javacc/MailProcessing/Digest.jj
+share/examples/javacc/MailProcessing/Faq.jj
+share/examples/javacc/MailProcessing/README
+share/examples/javacc/MailProcessing/sampleMailFile
+share/examples/javacc/Obfuscator/Globals.java
+share/examples/javacc/Obfuscator/IdsFile.jj
+share/examples/javacc/Obfuscator/Java1.1.jj
+share/examples/javacc/Obfuscator/Main.java
+share/examples/javacc/Obfuscator/MapFile.jj
+share/examples/javacc/Obfuscator/Obfuscator.java
+share/examples/javacc/Obfuscator/README
+share/examples/javacc/Obfuscator/input/package1/Main.java
+share/examples/javacc/Obfuscator/input/package2/Incr.java
+share/examples/javacc/Obfuscator/maps
+share/examples/javacc/Obfuscator/nochangeids
+share/examples/javacc/Obfuscator/useids
+share/examples/javacc/README
+share/examples/javacc/SimpleExamples/IdList.jj
+share/examples/javacc/SimpleExamples/NL_Xlator.jj
+share/examples/javacc/SimpleExamples/README
+share/examples/javacc/SimpleExamples/Simple1.jj
+share/examples/javacc/SimpleExamples/Simple2.jj
+share/examples/javacc/SimpleExamples/Simple3.jj
+share/examples/javacc/Transformer/ASTCompilationUnit.java
+share/examples/javacc/Transformer/ASTSpecialBlock.java
+share/examples/javacc/Transformer/README
+share/examples/javacc/Transformer/SimpleNode.java
+share/examples/javacc/Transformer/ToyJava.jjt
+share/examples/javacc/Transformer/divide.toy
+share/examples/javacc/VTransformer/AddAcceptVisitor.java
+share/examples/javacc/VTransformer/Java1.1.jjt
+share/examples/javacc/VTransformer/Main.java
+share/examples/javacc/VTransformer/README
+share/examples/javacc/VTransformer/SimpleNode.java
+share/examples/javacc/VTransformer/UnparseVisitor.java
+@dirrm share/examples/javacc/VTransformer
+@dirrm share/examples/javacc/Transformer
+@dirrm share/examples/javacc/SimpleExamples
+@dirrm share/examples/javacc/Obfuscator/input/package2
+@dirrm share/examples/javacc/Obfuscator/input/package1
+@dirrm share/examples/javacc/Obfuscator/input
+@dirrm share/examples/javacc/Obfuscator
+@dirrm share/examples/javacc/MailProcessing
+@dirrm share/examples/javacc/Lookahead
+@dirrm share/examples/javacc/JavaGrammars/1.5
+@dirrm share/examples/javacc/JavaGrammars
+@dirrm share/examples/javacc/JavaCCGrammar
+@dirrm share/examples/javacc/JJTreeExamples
+@dirrm share/examples/javacc/Interpreter
+@dirrm share/examples/javacc/GUIParsing/TokenMgrVersion
+@dirrm share/examples/javacc/GUIParsing/ParserVersion
+@dirrm share/examples/javacc/GUIParsing
+@dirrm share/examples/javacc/CORBA-IDL
+@dirrm share/examples/javacc
+@dirrm share/doc/javacc
+@unexec ${RMDIR} %D/lib/java 2>/dev/null || ${TRUE}
diff -r 0c7a6ca79b6d -r c273232ae847 devel/javacc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/javacc/distinfo Thu May 11 03:50:02 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/05/11 03:50:02 minskim Exp $
+
+SHA1 (javacc-4.0.tar.gz) = 74b1daf2e10077f9f64225f2ac8d08075b40445d
+RMD160 (javacc-4.0.tar.gz) = e17b9d81aef094384ee7578432adc66f4ff816dd
+Size (javacc-4.0.tar.gz) = 422038 bytes
Home |
Main Index |
Thread Index |
Old Index