2012-05-26 09:04:13 +00:00
|
|
|
class Byacc < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "(Arguably) the best yacc variant"
|
2014-06-04 02:28:59 +00:00
|
|
|
homepage "http://invisible-island.net/byacc/byacc.html"
|
2015-02-05 21:58:48 +00:00
|
|
|
url "ftp://invisible-island.net/byacc/byacc-20141128.tgz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "f517fc21f08c1a1f010177357df58fc64eb1131011e5dcd48c19fe44c47198d0"
|
2012-05-26 09:04:13 +00:00
|
|
|
|
2015-02-05 22:09:04 +00:00
|
|
|
bottle do
|
2015-09-24 05:04:39 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "21dacda27da29077ee9c0bc1d892a0b09c119b4233e4731488a681b87828333b" => :el_capitan
|
2015-02-05 22:09:04 +00:00
|
|
|
sha1 "730c5b32d50fc5ebc21f519ac5828d03c50e57ef" => :yosemite
|
|
|
|
sha1 "76ef279d3d8466aefa7a921aa2cf663e86486156" => :mavericks
|
|
|
|
sha1 "69414e8c76e803da7b0102e6fc4d0096613a0128" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2012-05-26 09:04:13 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2015-02-05 21:58:48 +00:00
|
|
|
"--program-prefix=b", "--prefix=#{prefix}", "--man=#{man}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"byacc", "-V"
|
2012-05-26 09:04:13 +00:00
|
|
|
end
|
|
|
|
end
|