require 'formula' class Hugs98 [ "http://trac.macports.org/export/72943/trunk/dports/lang/hugs98/files/patch-packages-base-include-HsBase.h.diff", "https://trac.macports.org/raw-attachment/ticket/20950/patch-libraries-tools-make-bootlib.diff" ] } end def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" system "make install" end end