Ticket #10816: cyberduck.patch

File cyberduck.patch, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 17 years ago)

partial fix to update the portfile to cyberduck 2.7.1

  • Portfile

     
    22PortSystem 1.0
    33
    44name                    cyberduck
    5 version                 2.3.3
    6 revision                1
     5version                 2.7.1
    76categories              aqua
    87maintainers             nomaintainer@macports.org
    98platforms               darwin
     
    2322                        numerous languages including Japanese, Chinese, \
    2423                        Korean, French, German, Italian, Portuguese, Spanish \
    2524                        and Dutch.
    26 homepage                http://cyberduck.ch
    27 master_sites            ${homepage}
     25homepage                http://cyberduck.ch/
     26master_sites    ${homepage}
    2827distname                ${name}-src-${version}
    29 checksums               md5 5f04163c5058da50942baf771212b2ca
     28checksums               md5 b06a4fa9cb186880732595cbc024c455
    3029
    3130# This is actually a patch-time dependency, but that's not possible yet.
    32 depends_lib             bin:ant:apache-ant
     31depends_lib             port:apache-ant port:junit
    3332
    34 worksrcdir              ${version}/${name}-cocoa
     33worksrcdir              ${name}-${version}
    3534set appName             Cyberduck
    3635
    3736patch {
    38         reinplace "s|/usr/local/bin/ant|[binaryInPath ant]|" \
    39                 ${worksrcpath}/${appName}.pbproj/project.pbxproj
     37        reinplace "s|/usr/bin/ant|[binaryInPath ant]|" \
     38                ${worksrcpath}/${appName}.xcodeproj/project.pbxproj
    4039}
    4140
    4241use_configure   no
     
    5554        }
    5655}
    5756
    58 build.type              pbx
     57build.type              gnu
    5958build.target
    60 build.args              -buildstyle Deployment -target all
     59build.args
    6160
    6261destroot {
    6362        set appPath ${destroot}/Applications/DarwinPorts
    6463        xinstall -d -m 0755 ${appPath}
    65         cd ${worksrcpath}/build
     64        cd ${worksrcpath}/build/Deployment
    6665        system "cp -R ${appName}.app ${appPath}/${appName}.app"
    6766}
    6867