require 'formula' # FileZilla FTP client. # See: http://wiki.filezilla-project.org/Compiling_FileZilla_3_under_Mac_OS_X class Filezilla = 2.8.9; 10.5 has 2.8.4, 10.6 has 2.8.8 depends_on 'wxmac' def install # --disable-locales because msgfmt complains about "filezilla.pot" not # being there (even though it certainly looks like it's there to me.) system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--disable-locales" system "make" # Install the .app Dir.chdir "FileZilla.app/Contents/MacOS" do system "strip filezilla fzputtygen fzsftp" end prefix.install "FileZilla.app" end def caveats "FileZilla.app installed to #{prefix}." end end