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/'
|
2013-08-20 16:46:05 +00:00
|
|
|
url 'http://hevea.inria.fr/distri/hevea-2.09.tar.gz'
|
|
|
|
sha1 '7186fccfe84611680a6451fcb9c9d78130f3adf2'
|
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
|