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/'
|
2012-09-04 00:53:33 +00:00
|
|
|
url 'http://hevea.inria.fr/distri/hevea-2.00.tar.gz'
|
|
|
|
sha1 '3de1c2e32f125c305d902fb1c066facc939405a2'
|
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
|