aboutsummaryrefslogtreecommitdiff
path: root/devel/bison20
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
commit7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch)
tree22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /devel/bison20
parenta33896596d7008d70bca9b6ce72347e2d7b6fd9a (diff)
Notes
Diffstat (limited to 'devel/bison20')
-rw-r--r--devel/bison20/Makefile52
-rw-r--r--devel/bison20/distinfo2
-rw-r--r--devel/bison20/files/patch-data::yacc.c48
-rw-r--r--devel/bison20/pkg-descr22
-rw-r--r--devel/bison20/pkg-plist27
5 files changed, 0 insertions, 151 deletions
diff --git a/devel/bison20/Makefile b/devel/bison20/Makefile
deleted file mode 100644
index 39d5bb440cb3..000000000000
--- a/devel/bison20/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-# Ports collection makefile for: bison
-# Date created: 27 Mar 1999
-# Whom: Jerry Hicks
-#
-# $FreeBSD$
-#
-
-PORTNAME= bison
-PORTVERSION= 1.875
-PORTREVISION= 4
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-
-MAINTAINER= seanc@FreeBSD.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.7[0-9]*
-
-NO_LATEST_LINK= yes
-USE_BZIP2= yes
-GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- MAKEINFO="makeinfo --no-split"
-
-MAN1= bison.1
-INFO= bison
-
-.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
-
-post-extract:
- @${RM} -f ${WRKSRC}/doc/bison.info*
-
-post-install:
- ${LN} -sf ${PREFIX}/bin/bison ${PREFIX}/bin/bison1875
-
-.include <bsd.port.mk>
diff --git a/devel/bison20/distinfo b/devel/bison20/distinfo
deleted file mode 100644
index ff1e1c63113b..000000000000
--- a/devel/bison20/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (bison-1.875.tar.bz2) = b7f8027b249ebd4dd0cc948943a71af0
-SIZE (bison-1.875.tar.bz2) = 814922
diff --git a/devel/bison20/files/patch-data::yacc.c b/devel/bison20/files/patch-data::yacc.c
deleted file mode 100644
index d30764ae6230..000000000000
--- a/devel/bison20/files/patch-data::yacc.c
+++ /dev/null
@@ -1,48 +0,0 @@
---- data/yacc.c.orig Sat Dec 28 00:36:02 2002
-+++ data/yacc.c Sun Dec 5 14:26:50 2004
-@@ -465,7 +465,13 @@
-
- #define YYACCEPT goto yyacceptlab
- #define YYABORT goto yyabortlab
--#define YYERROR goto yyerrlab1
-+#define YYERROR ]b4_location_if([do \
-+ { \
-+ yylerrsp = ylap; \
-+ *++yylerrsp = yyloc; \
-+ goto yyerrlab1; \
-+ } while (0)], \
-+ [goto yyerrlab1])[
-
- /* Like YYERROR except do call yyerror. This remains here temporarily
- to ease the transition to the new meaning of YYERROR, for GCC.
-@@ -1103,29 +1109,13 @@
-
- /* Else will try to reuse lookahead token after shifting the error
- token. */
-- goto yyerrlab2;
-+ goto yyerrlab1;
-
-
- /*----------------------------------------------------.
- | yyerrlab1 -- error raised explicitly by an action. |
- `----------------------------------------------------*/
- yyerrlab1:
--
-- /* Suppress GCC warning that yyerrlab1 is unused when no action
-- invokes YYERROR. */
--#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
-- __attribute__ ((__unused__))
--#endif
--
--]b4_location_if([ yylerrsp = yylsp;
-- *++yylerrsp = yyloc;])[
-- goto yyerrlab2;
--
--
--/*---------------------------------------------------------------.
--| yyerrlab2 -- pop states until the error token can be shifted. |
--`---------------------------------------------------------------*/
--yyerrlab2:
- yyerrstatus = 3; /* Each real token shifted decrements this. */
-
- for (;;)
diff --git a/devel/bison20/pkg-descr b/devel/bison20/pkg-descr
deleted file mode 100644
index c968b052baf7..000000000000
--- a/devel/bison20/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.)
diff --git a/devel/bison20/pkg-plist b/devel/bison20/pkg-plist
deleted file mode 100644
index 71e3b6972fff..000000000000
--- a/devel/bison20/pkg-plist
+++ /dev/null
@@ -1,27 +0,0 @@
-@comment $FreeBSD$
-bin/bison
-bin/bison1875
-bin/yacc
-lib/liby.a
-%%DATADIR%%/c.m4
-%%DATADIR%%/glr.c
-%%DATADIR%%/lalr1.cc
-%%DATADIR%%/m4sugar/m4sugar.m4
-%%DATADIR%%/README
-%%DATADIR%%/yacc.c
-%%NLS%%share/locale/da/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/de/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/es/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/et/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/hr/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/id/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/it/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/bison.mo
-%%NLS%%share/locale/tr/LC_MESSAGES/bison.mo
-@dirrm %%DATADIR%%/m4sugar
-@dirrm %%DATADIR%%