aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2009-11-11 16:13:16 -0800
committerAdam Vandenberg2009-11-16 13:08:32 -0800
commit6c39adc2711df5465a30029f9518e714d250511c (patch)
tree7a5c4bc7ea9a6a64f2ea97063181399a0efe4696 /Library
parent889bf00e76685694408e36bcf92ec85ca89d2b79 (diff)
downloadhomebrew-6c39adc2711df5465a30029f9518e714d250511c.tar.bz2
FileZilla 3.3.0.1
FileZilla is a free (GPL) FTP (and other file protocol) client. Note: This formula is not yet compiling on Snow Leopard
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/filezilla.rb40
1 files changed, 40 insertions, 0 deletions
diff --git a/Library/Formula/filezilla.rb b/Library/Formula/filezilla.rb
new file mode 100644
index 000000000..2c25b52ca
--- /dev/null
+++ b/Library/Formula/filezilla.rb
@@ -0,0 +1,40 @@
+require 'formula'
+
+# FileZilla FTP client.
+# See: http://wiki.filezilla-project.org/Compiling_FileZilla_3_under_Mac_OS_X
+
+class Filezilla <Formula
+ url 'http://d10xg45o6p6dbl.cloudfront.net/projects/f/filezilla/FileZilla_3.3.0.1_src.tar.bz2'
+ homepage 'http://filezilla-project.org/'
+ md5 'f273aef3b8408d0a1c7f0fee39733e9b'
+
+ depends_on 'pkg-config'
+ depends_on 'libidn'
+ depends_on 'gnutls'
+ depends_on 'gettext'
+
+ # depends on wxWidgets >= 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