# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 113329 2013-11-13 16:53:30Z mojca@macports.org $ PortSystem 1.0 PortGroup wxWidgets 1.0 name FileZilla version 3.7.3 revision 2 categories www aqua platforms darwin maintainers strasweb.fr:rudloff openmaintainer license GPL-2+ description Open-source FTP, FTPS, and SFTP client long_description FileZilla Client is a fast and reliable cross-platform \ FTP, FTPS and SFTP client with lots of useful features \ and an intuitive graphical user interface. homepage https://filezilla-project.org/ master_sites sourceforge:project/filezilla/FileZilla_Client/${version} checksums sha1 34c3dd1943816a916c54e49cbbea51c97ef3f583 \ rmd160 8fefebae9f2024dedab9841dc6fe3876305f8d2f depends_build port:pkgconfig depends_lib port:dbus \ port:gettext \ port:gmp \ port:gnutls \ port:libgpg-error \ port:libgcrypt \ port:libiconv \ port:libidn \ port:nettle \ port:sqlite3 \ port:xdg-utils distname ${name}_${version}_src use_bzip2 yes worksrcdir filezilla-${version} patchfiles patch-wxWidgets-3.0.diff \ patch-src-putty-Makefile.in.diff # http://trac.filezilla-project.org/ticket/5473 # http://sourceforge.net/p/tinyxml/patches/51/ configure.args --with-tinyxml=builtin \ --disable-manualupdatecheck \ --disable-autoupdatecheck variant wxwidgets30 conflicts wxgtk28 wxwidgets28 description {Use wxWidgets 3.0 (not fully functional yet)} { wxWidgets.use wxWidgets-3.0 depends_lib-append port:${wxWidgets.port} configure.args-append --with-wxdir=${wxWidgets.wxdir} configure.env-append WXRC=${wxWidgets.wxrc} destroot { copy ${worksrcpath}/FileZilla.app ${destroot}${applications_dir} } } variant wxwidgets28 conflicts wxgtk28 wxwidgets30 description {Use 32-bit Carbon-based wxWidgets 2.8} { wxWidgets.use wxWidgets-2.8 depends_lib-append port:${wxWidgets.port} configure.args-append --with-wxdir=${wxWidgets.wxdir} configure.env-append WXRC=${wxWidgets.wxrc} destroot { copy ${worksrcpath}/FileZilla.app ${destroot}${applications_dir} } } # TODO: when FileZilla is built against wxGTK, it doesn't create an app; this needs (possibly an upstream) fix variant wxgtk28 conflicts wxwidgets28 wxwidgets30 description {Use wxWidgets 2.8 with GTK} { wxWidgets.use wxGTK-2.8 depends_lib-append port:${wxWidgets.port} configure.args-append --with-wxdir=${wxWidgets.wxdir} configure.env-append WXRC=${wxWidgets.wxrc} } if {![variant_isset wxwidgets30] && ![variant_isset wxwidgets28] && ![variant_isset wxgtk28]} { if {[vercmp $xcodeversion 4.4] >= 0} { default_variants +wxgtk28 } else { default_variants +wxwidgets28 } } livecheck.type regex livecheck.url ${homepage}download.php?type=client livecheck.regex /${name}_(\[0-9.\]+)