diff options
author | obrien <obrien@FreeBSD.org> | 2000-01-17 19:31:33 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-01-17 19:31:33 +0800 |
commit | acbdbb2ce1188272df6aff60a093b32afc4c7d5a (patch) | |
tree | b4a1f497b61a296384e52d3a31bfd2ac20baa5aa /devel/bison20 | |
parent | 9b1a30d77774e6afefc9236b81a7a4487539c44a (diff) | |
download | freebsd-ports-gnome-acbdbb2ce1188272df6aff60a093b32afc4c7d5a.tar.gz freebsd-ports-gnome-acbdbb2ce1188272df6aff60a093b32afc4c7d5a.tar.zst freebsd-ports-gnome-acbdbb2ce1188272df6aff60a093b32afc4c7d5a.zip |
With Bison being shown the door in 4.0-CURRENT, we need the Bison port back.
Diffstat (limited to 'devel/bison20')
-rw-r--r-- | devel/bison20/Makefile | 29 | ||||
-rw-r--r-- | devel/bison20/distinfo | 1 | ||||
-rw-r--r-- | devel/bison20/pkg-comment | 1 | ||||
-rw-r--r-- | devel/bison20/pkg-descr | 22 | ||||
-rw-r--r-- | devel/bison20/pkg-plist | 10 |
5 files changed, 63 insertions, 0 deletions
diff --git a/devel/bison20/Makefile b/devel/bison20/Makefile new file mode 100644 index 000000000000..6e9a3970b398 --- /dev/null +++ b/devel/bison20/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: bison +# Version required: 1.28 +# Date created: 27 Mar 1999 +# Whom: Jerry Hicks +# +# $FreeBSD$ +# + +DISTNAME= bison-1.28 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= bison + +MAINTAINER= wghicks@bellsouth.net +MAINTAINER+= obrien@NUXI.com + +Y2K= http://www.gnu.org/software/year2000.html + +GNU_CONFIGURE= yes + +MAN1= bison.1 + +post-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' \/usr\/share\/info/dir > ${PREFIX}/info/dir; \ + fi + @install-info ${PREFIX}/info/bison.info ${PREFIX}/info/dir + +.include <bsd.port.mk> diff --git a/devel/bison20/distinfo b/devel/bison20/distinfo new file mode 100644 index 000000000000..bf42a21c5426 --- /dev/null +++ b/devel/bison20/distinfo @@ -0,0 +1 @@ +MD5 (bison-1.28.tar.gz) = 4afb3989f2270043c47c3daa1fa7ffab diff --git a/devel/bison20/pkg-comment b/devel/bison20/pkg-comment new file mode 100644 index 000000000000..a0850f8a7b1f --- /dev/null +++ b/devel/bison20/pkg-comment @@ -0,0 +1 @@ +A parser generator from FSF, (mostly) compatible with Yacc diff --git a/devel/bison20/pkg-descr b/devel/bison20/pkg-descr new file mode 100644 index 000000000000..c968b052baf7 --- /dev/null +++ b/devel/bison20/pkg-descr @@ -0,0 +1,22 @@ +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.) diff --git a/devel/bison20/pkg-plist b/devel/bison20/pkg-plist new file mode 100644 index 000000000000..2f43be95f868 --- /dev/null +++ b/devel/bison20/pkg-plist @@ -0,0 +1,10 @@ +@comment $FreeBSD$ +bin/bison +share/bison.hairy +share/bison.simple +@unexec install-info --delete %D/info/bison.info %D/info/dir +info/bison.info +share/locale/de/LC_MESSAGES/bison.mo +share/locale/es/LC_MESSAGES/bison.mo +share/locale/fr/LC_MESSAGES/bison.mo +share/locale/nl/LC_MESSAGES/bison.mo |