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