source: trunk/dports/www/FileZilla/Portfile @ 113329

Last change on this file since 113329 was 113329, checked in by mojca@…, 6 years ago

revbump the wxWidgets dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.3 KB
Line 
1# -*- 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
2# $Id: Portfile 113329 2013-11-13 16:53:30Z mojca@macports.org $
3
4PortSystem          1.0
5PortGroup           wxWidgets 1.0
6
7name                FileZilla
8version             3.7.3
9revision            2
10categories          www aqua
11platforms           darwin
12maintainers         strasweb.fr:rudloff openmaintainer
13license             GPL-2+
14
15description         Open-source FTP, FTPS, and SFTP client
16
17long_description    FileZilla Client is a fast and reliable cross-platform \
18                    FTP, FTPS and SFTP client with lots of useful features \
19                    and an intuitive graphical user interface.
20
21homepage            https://filezilla-project.org/
22master_sites        sourceforge:project/filezilla/FileZilla_Client/${version}
23
24checksums           sha1    34c3dd1943816a916c54e49cbbea51c97ef3f583 \
25                    rmd160  8fefebae9f2024dedab9841dc6fe3876305f8d2f
26
27depends_build       port:pkgconfig
28
29depends_lib         port:dbus \
30                    port:gettext \
31                    port:gmp \
32                    port:gnutls \
33                    port:libgpg-error \
34                    port:libgcrypt \
35                    port:libiconv \
36                    port:libidn \
37                    port:nettle \
38                    port:sqlite3 \
39                    port:xdg-utils
40
41distname            ${name}_${version}_src
42use_bzip2           yes
43worksrcdir          filezilla-${version}
44
45patchfiles          patch-wxWidgets-3.0.diff \
46                    patch-src-putty-Makefile.in.diff
47
48# http://trac.filezilla-project.org/ticket/5473
49# http://sourceforge.net/p/tinyxml/patches/51/
50configure.args      --with-tinyxml=builtin \
51                    --disable-manualupdatecheck \
52                    --disable-autoupdatecheck
53
54variant 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}
61
62variant 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} }
68}
69
70# TODO: when FileZilla is built against wxGTK, it doesn't create an app; this needs (possibly an upstream) fix
71variant wxgtk28 conflicts wxwidgets28 wxwidgets30 description {Use wxWidgets 2.8 with GTK} {
72    wxWidgets.use           wxGTK-2.8
73    depends_lib-append      port:${wxWidgets.port}
74    configure.args-append   --with-wxdir=${wxWidgets.wxdir}
75    configure.env-append    WXRC=${wxWidgets.wxrc}
76}
77
78if {![variant_isset wxwidgets30] && ![variant_isset wxwidgets28] && ![variant_isset wxgtk28]} {
79    if {[vercmp $xcodeversion 4.4] >= 0} {
80        default_variants +wxgtk28
81    } else {
82        default_variants +wxwidgets28
83    }
84}
85
86livecheck.type      regex
87livecheck.url       ${homepage}download.php?type=client
88livecheck.regex     /${name}_(\[0-9.\]+)
Note: See TracBrowser for help on using the repository browser.