# -*- 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: Portfile 120110 2014-05-15 21:08:24Z toby@macports.org $

PortSystem 1.0

name             byacc
version          20140422
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        md5 e7c13c5e207dc05eab9145cc9972397b \
                 sha1 aa30cac1e7b3cf9d6d19d6b9653575d56564b213 \
                 rmd160 362357f70136671c45c6cb22781de07da3e6c7d9

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

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