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"
|
2016-06-29 09:14:54 +00:00
|
|
|
url "ftp://invisible-island.net/byacc/byacc-20160606.tgz"
|
|
|
|
sha256 "cc8fdced486cb70cec7a7c9358de836bfd267d19d6456760bb4721ccfea5ac91"
|
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
|
2016-06-29 09:46:18 +00:00
|
|
|
sha256 "24c0040a574e18dae038699475b58d66e15ccc3a478aa04d7993e2aa8ecc75d1" => :el_capitan
|
|
|
|
sha256 "718d99ac1bf381aebfcd0d0c330780b1e72c3ff22d119387c81c9e8f2062ad2d" => :yosemite
|
|
|
|
sha256 "0c559a496f3161e277996d685d047bec485479f507a83c824f7e945d371fa54a" => :mavericks
|
2015-02-05 22:09:04 +00:00
|
|
|
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
|