require 'formula' class Webfs "http://svn.macports.org/repository/macports/trunk/dports/www/webfs/files/patch-ls.c"} end def install ENV["prefix"]=prefix system "make install mimefile=/etc/apache2/mime.types" end end