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-03-21 17:37:19 +00:00
|
|
|
url "http://hevea.inria.fr/old/hevea-2.23.tar.gz"
|
|
|
|
sha256 "db8ec1459cace8f008387dbcf745ba56917d44ff62c7bdba843da250109137b9"
|
2014-03-21 21:08:16 +00:00
|
|
|
|
2014-09-19 18:25:14 +00:00
|
|
|
bottle do
|
2015-03-21 18:00:49 +00:00
|
|
|
sha256 "d6f5a5ce7cd70c14fe1f9355ac8e7af264b093304c4f8488e5df190f5b6e434d" => :yosemite
|
|
|
|
sha256 "53300a1adc2db5cc8b80fbc3395564e8c65d35fdce8c7e20dcac42563962efdf" => :mavericks
|
|
|
|
sha256 "1777a109ad7bf3693bd3cb0c09ec99846fbb73611e705eba4a7a48cf195c7ce4" => :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
|