Ticket #43969: FileZilla_3.8.1_2014-06-09.Portfile.diff
File FileZilla_3.8.1_2014-06-09.Portfile.diff, 3.9 KB (added by mojca (Mojca Miklavec), 10 years ago) |
---|
-
Portfile
5 5 PortGroup wxWidgets 1.0 6 6 7 7 name FileZilla 8 version 3.8. 09 revision 1 8 version 3.8.1 9 set nightly_date 2014-06-09 10 10 categories www aqua 11 11 platforms darwin 12 12 maintainers strasweb.fr:rudloff openmaintainer … … 19 19 and an intuitive graphical user interface. 20 20 21 21 homepage https://filezilla-project.org/ 22 master_sites sourceforge:project/filezilla/FileZilla_Client/${version} 22 # master_sites sourceforge:project/filezilla/FileZilla_Client/${version} 23 master_sites https://filezilla-project.org/nightlies/${nightly_date} 23 24 24 checksums rmd160 f161795774b03bbce8720e40ddff6a5ca6d4fe9a\25 sha256 8d9c1c9812f916f83676e1930933683828579b40a9fba331c4757f84a02ec30825 checksums rmd160 27729f1d48ecd83775f008f96c8dfa4548a38f40 \ 26 sha256 eb9f03b50551aa0999815b4d9c725ad31225718d6e3f9b922e7ec31eb33ef247 26 27 27 28 depends_build port:pkgconfig 28 29 30 wxWidgets.use wxWidgets-3.0 31 29 32 depends_lib port:dbus \ 30 33 port:gettext \ 31 34 port:gmp \ … … 36 39 port:libidn \ 37 40 port:nettle \ 38 41 port:sqlite3 \ 39 port:xdg-utils 42 port:xdg-utils \ 43 port:${wxWidgets.port} 40 44 41 distname ${name}_${version}_src 45 # distname ${name}_${version}_src 46 distname FileZilla3-src 42 47 use_bzip2 yes 43 48 worksrcdir filezilla-${version} 44 49 45 # http://trac.filezilla-project.org/ticket/827246 patchfiles patch-wxWidgets-3.0.diff47 48 50 # http://trac.filezilla-project.org/ticket/5473 49 51 # http://sourceforge.net/p/tinyxml/patches/51/ 50 52 configure.args --with-tinyxml=builtin \ 51 53 --disable-manualupdatecheck \ 52 --disable-autoupdatecheck 54 --disable-autoupdatecheck \ 55 --with-wxdir=${wxWidgets.wxdir} 53 56 54 variant wxwidgets30 conflicts wxgtk28 wxwidgets28 description {Use wxWidgets 3.0 (not fully functional yet)} { 55 wxWidgets.use wxWidgets-3.0 56 depends_lib-append port:${wxWidgets.port} 57 configure.args-append --with-wxdir=${wxWidgets.wxdir} 58 configure.env-append WXRC=${wxWidgets.wxrc} 59 destroot { copy ${worksrcpath}/FileZilla.app ${destroot}${applications_dir} } 60 } 57 configure.env-append \ 58 WXRC=${wxWidgets.wxrc} 61 59 62 variant wxwidgets28 conflicts wxgtk28 wxwidgets30 description {Use 32-bit Carbon-based wxWidgets 2.8} { 63 wxWidgets.use wxWidgets-2.8 64 depends_lib-append port:${wxWidgets.port} 65 configure.args-append --with-wxdir=${wxWidgets.wxdir} 66 configure.env-append WXRC=${wxWidgets.wxrc} 67 destroot { copy ${worksrcpath}/FileZilla.app ${destroot}${applications_dir} } 60 destroot { 61 copy ${worksrcpath}/FileZilla.app ${destroot}${applications_dir} 68 62 } 69 63 70 # TODO: when FileZilla is built against wxGTK, it doesn't create an app; this needs (possibly an upstream) fix71 variant wxgtk28 conflicts wxwidgets28 wxwidgets30 description {Use wxWidgets 2.8 with GTK} {72 wxWidgets.use wxGTK-2.873 depends_lib-append port:${wxWidgets.port}74 configure.args-append --with-wxdir=${wxWidgets.wxdir}75 configure.env-append WXRC=${wxWidgets.wxrc}76 }77 78 if {![variant_isset wxwidgets30] && ![variant_isset wxwidgets28] && ![variant_isset wxgtk28]} {79 if {[vercmp $xcodeversion 4.4] >= 0} {80 default_variants +wxgtk2881 } else {82 default_variants +wxwidgets2883 }84 }85 86 64 livecheck.type regex 87 65 livecheck.url ${homepage}download.php?type=client 88 66 livecheck.regex /${name}_(\[0-9.\]+)