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
|
|
|
|
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
|