require 'formula' class SyslogNg :build depends_on 'pcre' depends_on 'eventlog' def patches { :p0 => "http://trac.macports.org/export/70550/trunk/dports/sysutils/syslog-ng/files/patch-src-Makefile.in.diff" } end def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--enable-dynamic-linking", "--prefix=#{prefix}" system "make install" end end