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-04-22 01:33:16 +00:00
|
|
|
url 'http://hevea.inria.fr/distri/hevea-2.06.tar.gz'
|
|
|
|
sha1 'dab9676ed99cedd2ec37c3e0d27ee87f3ea02b7d'
|
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
|