# Template file for 'byacc'
pkgname=byacc
version=20221106
revision=1
build_style=gnu-configure
configure_args="--program-transform=s,^,b,"
short_desc="Berkeley yacc, a LALR(1) parser generator"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
homepage="https://invisible-island.net/byacc/"
distfiles="ftp://ftp.invisible-island.net/byacc/byacc-${version}.tgz"
checksum=a899be227bbcac9cf7700f7dbb5a8494688f1f9f0617b510762daeace47b9d12

alternatives="
 yacc:yacc:/usr/bin/byacc
 yacc:yacc.1:/usr/share/man/man1/byacc.1"

post_install() {
	vlicense README LICENSE
}
