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