[Midnightbsd-cvs] mports: mports/devel: Add bisongen.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Mar 31 23:23:07 EDT 2008


Log Message:
-----------
Add bisongen.  

Remove bison2 now that the bison port is 2.3.

Modified Files:
--------------
    mports/devel:
        Makefile (r1.205 -> r1.206)

Added Files:
-----------
    mports/devel/bisongen:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

Removed Files:
-------------
    mports/devel/bison2:
        Makefile
        distinfo
        pkg-descr
        pkg-plist

-------------- next part --------------
--- devel/bison2/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-Bison is a tool used to write parsers, such as the parser for GNU cc.
-It is similar to Yacc, which is included in the base FreeBSD system.
-
-The main difference between Bison and Yacc that I know of is that
-Bison supports the @N construction, which gives you access to
-the starting and ending line number and character number associated
-with any of the symbols in the current rule.
-
-Also, Bison supports the command `%expect N' which says not to mention
-the conflicts if there are N shift/reduce conflicts and no reduce/reduce
-conflicts.
-
-The differences in the algorithms stem mainly from the horrible
-kludges that Johnson had to perpetrate to make Yacc fit in a PDP-11.
-
-Also, Bison uses a faster but less space-efficient encoding for the
-parse tables (see Corbett's PhD thesis from Berkeley, "Static
-Semantics in Compiler Error Recovery", June 1985, Report No. UCB/CSD
-85/251), and more modern technique for generating the lookahead sets.
-(See "Efficient Construction of LALR(1) Lookahead Sets" by F. DeRemer
-and A. Pennello, in ACM TOPLS Vol 4 No 4, October 1982.  Their
-technique is the standard one now.)
--- devel/bison2/pkg-plist
+++ /dev/null
@@ -1,81 +0,0 @@
-bin/bison
-bin/bison2
-share/aclocal/bison-i18n.m4
-%%DATADIR%%/README
-%%DATADIR%%/c++.m4
-%%DATADIR%%/c.m4
-%%DATADIR%%/glr.c
-%%DATADIR%%/glr.cc
-%%DATADIR%%/lalr1.cc
-%%DATADIR%%/location.cc
-%%DATADIR%%/m4sugar/m4sugar.m4
-%%DATADIR%%/yacc.c
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/calc++-driver.cc
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/calc++-driver.hh
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/calc++-parser.cc
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/calc++-parser.hh
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/calc++-parser.yy
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/calc++-scanner.cc
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/calc++-scanner.ll
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/calc++.cc
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/location.hh
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/position.hh
-%%PORTDOCS%%%%EXAMPLESDIR%%/calc++/stack.hh
-%%NLS%%share/locale/da/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/da/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/de/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/de/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/es/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/es/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/et/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/et/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/ga/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/ga/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/hr/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/hr/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/id/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/id/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/it/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/it/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/ms/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/ms/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/nb/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/nb/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/pl/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/pl/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/ro/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/ro/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/rw/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/rw/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/sl/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/tr/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/tr/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/vi/LC_MESSAGES/bison-runtime.mo
-%%NLS%%share/locale/vi/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/zh_TW/LC_MESSAGES/bison-runtime.mo
-%%NLS%%@dirrmtry share/locale/zh_TW/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/zh_TW
-%%NLS%%@dirrmtry share/locale/sl/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/sl
-%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/rw
-%%NLS%%@dirrmtry share/locale/ro/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/ro
-%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/pl
-%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%/calc++
-%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%
- at dirrmtry %%DATADIR%%/m4sugar
- at dirrmtry %%DATADIR%%
--- devel/bison2/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-# Ports collection makefile for:  bison
-# Date created:			  27 Mar 1999
-# Whom:				  Jerry Hicks
-#
-# $MidnightBSD: mports/devel/bison2/Makefile,v 1.2 2007/08/02 07:33:42 laffer1 Exp $
-# $FreeBSD: ports/devel/bison2/Makefile,v 1.59 2006/12/04 01:29:10 ade Exp $
-#
-
-PORTNAME=	bison
-PORTVERSION=	2.3
-PORTREVISION=	0
-CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR=	${PORTNAME}
-
-MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	A parser generator from FSF, (mostly) compatible with Yacc
-
-BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
-RUN_DEPENDS=	gm4:${PORTSDIR}/devel/m4
-
-CONFLICTS=	bison-1.*
-
-NO_LATEST_LINK=	yes
-USE_BZIP2=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd6.0
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
-
-MAN1=		bison.1
-INFO=		bison
-
-CONFIGURE_ARGS+=--disable-yacc
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.else
-USE_GETTEXT=	yes
-PLIST_SUB+=	NLS=""
-.endif
-
-.ifdef USE_BISON
-.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.
-.endif
-
-.include <bsd.port.pre.mk>
-
-post-extract:
-	@${RM} -f ${WRKSRC}/doc/bison.info*
-
-post-install:
-	${LN} -sf ${PREFIX}/bin/bison ${PREFIX}/bin/bison2
-
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${EXAMPLESDIR}/calc++
-	${INSTALL_DATA} ${WRKSRC}/examples/calc++/*.[chly]* \
-		${EXAMPLESDIR}/calc++
-.endif
-
-.include <bsd.port.post.mk>
--- devel/bison2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (bison-2.3.tar.bz2) = c18640c6ec31a169d351e3117ecce3ec
-SHA256 (bison-2.3.tar.bz2) = b10d7e9e354be72aee4e4911cf19dd27b5c527d4e7200857365b5fcdeea0dffb
-SIZE (bison-2.3.tar.bz2) = 1080319
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.205
retrieving revision 1.206
diff -L devel/Makefile -L devel/Makefile -u -r1.205 -r1.206
--- devel/Makefile
+++ devel/Makefile
@@ -25,7 +25,7 @@
     SUBDIR += automake110
     SUBDIR += autotools
     SUBDIR += bison
-    SUBDIR += bison2
+    SUBDIR += bisongen
     SUBDIR += boehm-gc
     SUBDIR += boost
     SUBDIR += boost-python
--- /dev/null
+++ devel/bisongen/pkg-descr
@@ -0,0 +1,5 @@
+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/index.xhtml
--- /dev/null
+++ 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
+ at dirrm %%PYTHON_SITELIBDIR%%/BisonGen/C
+ at dirrm %%PYTHON_SITELIBDIR%%/BisonGen/Grammar
+ at dirrm %%PYTHON_SITELIBDIR%%/BisonGen/Lexer
+ at dirrm %%PYTHON_SITELIBDIR%%/BisonGen/Python
+ at dirrm %%PYTHON_SITELIBDIR%%/BisonGen
+ at dirrm %%EXAMPLESDIR%%
--- /dev/null
+++ devel/bisongen/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for:	bisongen
+# Date created:				August 8th 2005
+# Whom:					Frerich Raabe <frerich.raabe at gmx.de>
+#
+# $MidnightBSD: mports/devel/bisongen/Makefile,v 1.1 2008/04/01 03:23:04 laffer1 Exp $
+# $FreeBSD: ports/devel/bisongen/Makefile,v 1.3 2007/07/30 09:41:08 alexbl Exp $
+#
+
+PORTNAME=	bisongen
+PORTVERSION=	0.8.0b1
+CATEGORIES=	devel python
+MASTER_SITES=	ftp://ftp.fourthought.com/pub/BisonGen/
+DISTNAME=	BisonGen-${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	A general-purpose parser generator for Python
+
+USE_BZIP2=	yes
+USE_PYTHON=	yes
+USE_PYDISTUTILS=yes
+PYDISTUTILS_PKGNAME=	BisonGen
+
+post-install:
+	${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/simple/* ${EXAMPLESDIR}
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/bisongen/distinfo
@@ -0,0 +1,3 @@
+MD5 (BisonGen-0.8.0b1.tar.bz2) = 4f706650f789f0ac1535192940ab8e61
+SHA256 (BisonGen-0.8.0b1.tar.bz2) = 2281bb817d78858ff94e5d35d58398f38753f9c8fbd1c78ebdf67efa1ff28631
+SIZE (BisonGen-0.8.0b1.tar.bz2) = 43827


More information about the Midnightbsd-cvs mailing list