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

PortSystem 1.0

name             byacc
version          20160606
categories       devel
maintainers      toby
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         http://invisible-island.net/byacc/
platforms        darwin

master_sites     ftp://invisible-island.net/byacc/
extract.suffix   .tgz

checksums        rmd160 96b5c6b2d615104952b9bbc8faa375b17559e2fa \
                 sha256 cc8fdced486cb70cec7a7c9358de836bfd267d19d6456760bb4721ccfea5ac91

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

livecheck.type   regex
livecheck.url    ftp://invisible-island.net/byacc/
livecheck.regex  > byacc-(\[0-9\]+)