require 'formula' class Hevea < Formula homepage 'http://hevea.inria.fr/' url 'http://hevea.inria.fr/distri/hevea-2.09.tar.gz' sha1 '7186fccfe84611680a6451fcb9c9d78130f3adf2' depends_on 'objective-caml' depends_on 'ghostscript' => :optional def install inreplace 'Makefile', '/usr/local', prefix system "make" system "make install" end end