require 'formula' class Hevea :optional def install inreplace 'Makefile', '/usr/local', "#{prefix}" system "make" system "make install" end end