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-03-21 20:56:52 +00:00
|
|
|
url 'http://hevea.inria.fr/distri/hevea-2.13.tar.gz'
|
|
|
|
sha1 '03b35732f880591743ba750948b14efc0a46578b'
|
2010-06-09 15:06:07 +00:00
|
|
|
|
2014-03-21 21:08:16 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "35761f7de7166b14412443c701386581209ac61b" => :mavericks
|
|
|
|
sha1 "ac0e2b98c81f462a7df9a07e2fb38754f922d573" => :mountain_lion
|
|
|
|
sha1 "a86c833a0ffeb1f46917f529895546fdda604261" => :lion
|
|
|
|
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
|