# -*- 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

PortSystem 1.0

name            byacc
version         20260126
categories      devel
maintainers     {toby @tobypeterson}
license         public-domain
description     Berkeley Yacc
long_description \
    Berkeley Yacc (byacc) is generally conceded to \
    be the best yacc variant available. In contrast \
    to bison, it is written to avoid dependencies \
    upon a particular compiler.
homepage        https://invisible-island.net/byacc/
platforms       darwin

master_sites    https://invisible-island.net/archives/${name}/ \
                https://invisible-mirror.net/archives/${name}/
extract.suffix  .tgz

checksums       rmd160  267cde5aa917c7fee13f25823fdb6bb1c5bf8827 \
                sha256  b618c5fb44c2f5f048843db90f7d1b24f78f47b07913c8c7ba8c942d3eb24b00 \
                size    914130

configure.args  --mandir=${prefix}/share/man \
                --program-prefix=b

livecheck.type  regex
livecheck.url   [lindex ${master_sites} 0]
livecheck.regex byacc-(\[0-9\]+)
