# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
if {${subport} eq "bison"} {
if {${subport} eq "bison-runtime"} {
if {${subport} eq "bison-runtime"} {
description Localization support for Bison-generated parsers
long_description The Bison parser generator provides \
translations for its parser diagnostics. \
Programs that contain Bison-generated parsers \
can use these translations to generate \
localized error messages.
description The Yacc-compatible Parser Generator
long_description Bison is a general-purpose parser generator \
that converts an annotated context-free \
grammar into a deterministic LR or generalized \
LR (GLR) parser employing LALR(1) parser \
tables. As an experimental feature, Bison can \
also generate IELR(1) or canonical LR(1) \
parser tables. Once you are proficient with \
Bison, you can use it to develop a wide range \
of language parsers, from those used in simple \
desk calculators to complex programming \
depends_build bin:perl:perl5
depends_run port:bison-runtime \
depends_skip_archcheck-append m4
homepage http://www.gnu.org/software/bison
checksums rmd160 414959f3d619d8e4875e241ee02852b2ff13c2cb \
sha256 a72428c7917bdf9fa93cb8181c971b6e22834125848cf1d03ce10b1bb0716fe1
configure.args --disable-silent-rules
patchfiles secure_snprintf.patch
if {${subport} eq "bison-runtime"} {
build.dir ${worksrcpath}/runtime-po