require 'brewkit' class Proctools ["patch-pfind-Makefile.diff", "patch-pfind-pfind.c.diff", "patch-pgrep-Makefile.diff", "patch-pkill-Makefile.diff", "patch-proctools-fmt.c.diff", "patch-proctools-proctools.c.diff", "patch-proctools-proctools.h.diff", ].map { |file_name| "http://svn.macports.org/repository/macports/trunk/dports/sysutils/proctools/files/#{file_name}" } } end def install system "bsdmake" ["pgrep/pgrep", "pkill/pkill", "pfind/pfind"].each do |prog| bin.install prog man1.install prog + ".1" end end end