Ticket #10816: cyberduck.patch
File cyberduck.patch, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 18 years ago) |
---|
-
Portfile
2 2 PortSystem 1.0 3 3 4 4 name cyberduck 5 version 2.3.3 6 revision 1 5 version 2.7.1 7 6 categories aqua 8 7 maintainers nomaintainer@macports.org 9 8 platforms darwin … … 23 22 numerous languages including Japanese, Chinese, \ 24 23 Korean, French, German, Italian, Portuguese, Spanish \ 25 24 and Dutch. 26 homepage http://cyberduck.ch 27 master_sites 25 homepage http://cyberduck.ch/ 26 master_sites ${homepage} 28 27 distname ${name}-src-${version} 29 checksums md5 5f04163c5058da50942baf771212b2ca28 checksums md5 b06a4fa9cb186880732595cbc024c455 30 29 31 30 # This is actually a patch-time dependency, but that's not possible yet. 32 depends_lib bin:ant:apache-ant31 depends_lib port:apache-ant port:junit 33 32 34 worksrcdir ${ version}/${name}-cocoa33 worksrcdir ${name}-${version} 35 34 set appName Cyberduck 36 35 37 36 patch { 38 reinplace "s|/usr/ local/bin/ant|[binaryInPath ant]|" \39 ${worksrcpath}/${appName}. pbproj/project.pbxproj37 reinplace "s|/usr/bin/ant|[binaryInPath ant]|" \ 38 ${worksrcpath}/${appName}.xcodeproj/project.pbxproj 40 39 } 41 40 42 41 use_configure no … … 55 54 } 56 55 } 57 56 58 build.type pbx57 build.type gnu 59 58 build.target 60 build.args -buildstyle Deployment -target all59 build.args 61 60 62 61 destroot { 63 62 set appPath ${destroot}/Applications/DarwinPorts 64 63 xinstall -d -m 0755 ${appPath} 65 cd ${worksrcpath}/build 64 cd ${worksrcpath}/build/Deployment 66 65 system "cp -R ${appName}.app ${appPath}/${appName}.app" 67 66 } 68 67