aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-09-02 10:22:12 +0800
committerjylefort <jylefort@FreeBSD.org>2005-09-02 10:22:12 +0800
commitb49dc6dd347cf779672683b2146126b1e7c8c273 (patch)
tree6daa0c7ea99237de99b0de16f2c0ff317819c35a
parente63ce2b526ad0a821acfa7bf2c1061cba1bf5159 (diff)
downloadfreebsd-ports-gnome-b49dc6dd347cf779672683b2146126b1e7c8c273.tar.gz
freebsd-ports-gnome-b49dc6dd347cf779672683b2146126b1e7c8c273.tar.zst
freebsd-ports-gnome-b49dc6dd347cf779672683b2146126b1e7c8c273.zip
Add bisongen.
BisonGen is a general-purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a program to parse that grammar. WWW: http://www.4suite.org PR: ports/84546 Submitted by: Frerich Raabe <frerich@hex.athame.co.uk>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/bisongen/Makefile25
-rw-r--r--devel/bisongen/distinfo2
-rw-r--r--devel/bisongen/pkg-descr8
-rw-r--r--devel/bisongen/pkg-plist90
5 files changed, 126 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3fe646a8a2de..0198e93e606a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -79,6 +79,7 @@
SUBDIR += bin86
SUBDIR += bison
SUBDIR += bison-devel
+ SUBDIR += bisongen
SUBDIR += bison1875
SUBDIR += bitkeeper
SUBDIR += bnf
diff --git a/devel/bisongen/Makefile b/devel/bisongen/Makefile
new file mode 100644
index 000000000000..f283f2546cad
--- /dev/null
+++ b/devel/bisongen/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: bisongen
+# Date created: August 8th 2005
+# Whom: Frerich Raabe <frerich.raabe@gmx.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bisongen
+PORTVERSION= 0.8.0b1
+CATEGORIES= devel python
+MASTER_SITES= ftp://ftp.fourthought.com/pub/BisonGen/
+DISTNAME= BisonGen-${PORTVERSION}
+
+MAINTAINER= frerich.raabe@gmx.de
+COMMENT= A general-purpose parser generator for Python
+
+USE_BZIP2= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/simple/* ${EXAMPLESDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/bisongen/distinfo b/devel/bisongen/distinfo
new file mode 100644
index 000000000000..b60191e0bc09
--- /dev/null
+++ b/devel/bisongen/distinfo
@@ -0,0 +1,2 @@
+MD5 (BisonGen-0.8.0b1.tar.bz2) = 4f706650f789f0ac1535192940ab8e61
+SIZE (BisonGen-0.8.0b1.tar.bz2) = 43827
diff --git a/devel/bisongen/pkg-descr b/devel/bisongen/pkg-descr
new file mode 100644
index 000000000000..18189d4290b4
--- /dev/null
+++ b/devel/bisongen/pkg-descr
@@ -0,0 +1,8 @@
+BisonGen is a general-purpose parser generator that converts a grammar
+description for an LALR(1) context-free grammar into a program to
+parse that grammar.
+
+WWW: http://www.4suite.org
+
+- Frerich Raabe
+frerich.raabe@gmx.de
diff --git a/devel/bisongen/pkg-plist b/devel/bisongen/pkg-plist
new file mode 100644
index 000000000000..f58ee7bfc8af
--- /dev/null
+++ b/devel/bisongen/pkg-plist
@@ -0,0 +1,90 @@
+bin/BisonGen
+%%PYTHON_SITELIBDIR%%/BisonGen/C/Lexer.py
+%%PYTHON_SITELIBDIR%%/BisonGen/C/Lexer.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/C/Lexer.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/C/Parser.py
+%%PYTHON_SITELIBDIR%%/BisonGen/C/Parser.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/C/Parser.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/C/Simple.c
+%%PYTHON_SITELIBDIR%%/BisonGen/C/__init__.py
+%%PYTHON_SITELIBDIR%%/BisonGen/C/__init__.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/C/__init__.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Common.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Common.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Common.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Components.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Components.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Components.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/ConstExpr.py
+%%PYTHON_SITELIBDIR%%/BisonGen/ConstExpr.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/ConstExpr.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Ebnf.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Ebnf.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Ebnf.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Errors.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Errors.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Errors.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/Bison.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/Bison.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/Bison.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/Output.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/Output.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/Output.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/State.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/State.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/State.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/SymbolTable.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/SymbolTable.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/SymbolTable.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/Warshall.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/Warshall.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/Warshall.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/__init__.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/__init__.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Grammar/__init__.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/Compiler.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/Compiler.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/Compiler.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/Constants.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/Constants.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/Constants.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/Parser.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/Parser.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/Parser.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/__init__.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/__init__.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Lexer/__init__.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Main.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Main.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Main.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Preprocess.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Preprocess.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Preprocess.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Actions.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Actions.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Actions.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Output.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Output.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Output.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Scanner.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Scanner.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Scanner.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/Simple.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/__init__.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/__init__.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Python/__init__.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/Reader.py
+%%PYTHON_SITELIBDIR%%/BisonGen/Reader.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/Reader.pyo
+%%PYTHON_SITELIBDIR%%/BisonGen/__init__.py
+%%PYTHON_SITELIBDIR%%/BisonGen/__init__.pyc
+%%PYTHON_SITELIBDIR%%/BisonGen/__init__.pyo
+%%EXAMPLESDIR%%/README
+%%EXAMPLESDIR%%/simple.bgen
+%%EXAMPLESDIR%%/test.py
+@dirrm %%PYTHON_SITELIBDIR%%/BisonGen/C
+@dirrm %%PYTHON_SITELIBDIR%%/BisonGen/Grammar
+@dirrm %%PYTHON_SITELIBDIR%%/BisonGen/Lexer
+@dirrm %%PYTHON_SITELIBDIR%%/BisonGen/Python
+@dirrm %%PYTHON_SITELIBDIR%%/BisonGen
+@dirrm %%EXAMPLESDIR%%