2010-06-09 15:06:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Hevea < Formula
|
2010-06-09 15:06:07 +00:00
|
|
|
homepage 'http://hevea.inria.fr/'
|
2014-05-09 19:47:21 +00:00
|
|
|
url "http://hevea.inria.fr/distri/hevea-2.14.tar.gz"
|
|
|
|
sha1 "78152c83802e34881ce3414072d75bff66facb15"
|
2010-06-09 15:06:07 +00:00
|
|
|
|
2014-03-21 21:08:16 +00:00
|
|
|
bottle do
|
2014-05-09 20:13:20 +00:00
|
|
|
sha1 "657486337d169647d9c10afb61516e38ae1bf772" => :mavericks
|
|
|
|
sha1 "0e1fe3dd6b1b21fbf435738f329473c1e6130e38" => :mountain_lion
|
|
|
|
sha1 "4766e826da52e595f679c699c836bcfb141dfdbd" => :lion
|
2014-03-21 21:08:16 +00:00
|
|
|
end
|
|
|
|
|
2010-06-09 15:06:07 +00:00
|
|
|
depends_on 'objective-caml'
|
2010-04-07 05:58:35 +00:00
|
|
|
depends_on 'ghostscript' => :optional
|
2010-06-09 15:06:07 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
inreplace 'Makefile', '/usr/local', prefix
|
2010-06-09 15:06:07 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|