2011-03-10 05:11:03 +00:00
|
|
|
class Hevea < Formula
|
2014-08-12 05:43:54 +00:00
|
|
|
homepage "http://hevea.inria.fr/"
|
2015-02-26 18:21:41 +00:00
|
|
|
url "http://hevea.inria.fr/distri/hevea-2.22.tar.gz"
|
|
|
|
sha1 "16ddc99402940fe06b89723f7c4e5cb0c646d55f"
|
2014-03-21 21:08:16 +00:00
|
|
|
|
2014-09-19 18:25:14 +00:00
|
|
|
bottle do
|
2015-03-01 00:20:28 +00:00
|
|
|
sha1 "bfac35ec39ad56dc6ff8d4c5d64ce9491dfc7baa" => :yosemite
|
|
|
|
sha1 "534bc9f95fc528965a7477f753764b4fa3f06c91" => :mavericks
|
|
|
|
sha1 "2d3bddd0021cd337d427105da4cb486cdbcad0c0" => :mountain_lion
|
2014-09-19 18:25:14 +00:00
|
|
|
end
|
|
|
|
|
2014-08-12 05:43:54 +00:00
|
|
|
depends_on "objective-caml"
|
|
|
|
depends_on "ghostscript" => :optional
|
2010-06-09 15:06:07 +00:00
|
|
|
|
|
|
|
def install
|
2014-09-21 05:01:06 +00:00
|
|
|
ENV["PREFIX"] = prefix
|
2010-06-09 15:06:07 +00:00
|
|
|
system "make"
|
2014-09-19 18:18:00 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
(testpath/"test.tex").write <<-EOS.undent
|
|
|
|
\\documentclass{article}
|
|
|
|
\\begin{document}
|
|
|
|
\\end{document}
|
|
|
|
EOS
|
|
|
|
system "#{bin}/hevea", "test.tex"
|
2010-06-09 15:06:07 +00:00
|
|
|
end
|
|
|
|
end
|