source: trunk/dports/aqua/cyberduck/Portfile @ 20396

Last change on this file since 20396 was 20396, checked in by jberry@…, 14 years ago

Convert all darwinports@… addresses
to nomaintainer@… or openmaintainer@….

See http://trac.macports.org/projects/macports/wiki/SpecialMaintainerAddresses
for more information.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 20396 2006-11-03 02:07:51Z jberry@macports.org $
2PortSystem 1.0
3
4name                    cyberduck
5version                 2.3.3
6revision                1
7categories              aqua
8maintainers             nomaintainer@macports.org
9platforms               darwin
10description             Cyberduck is an open source SFTP and FTP browser
11long_description        Cyberduck is an open source SFTP (SSH Secure File \
12                        Transfer) and FTP browser licenced under the GPL. It \
13                        has been built from the ground up with usability in \
14                        mind, having the same consistent graphical user \
15                        interface for both SFTP and FTP browsing. Multiple \
16                        connections are supported. Drag and drop is \
17                        supported consequently for transferring files \
18                        between server and client. A transfer queue keeps \
19                        track of the pending file transfers. A simple \
20                        bookmark manager ensures manageability. Core system \
21                        technologies such as the Keychain and Rendezvous are \
22                        supported. Cyberduck has been translated into \
23                        numerous languages including Japanese, Chinese, \
24                        Korean, French, German, Italian, Portuguese, Spanish \
25                        and Dutch.
26homepage                http://cyberduck.ch
27master_sites            ${homepage}
28distname                ${name}-src-${version}
29checksums               md5 5f04163c5058da50942baf771212b2ca
30
31# This is actually a patch-time dependency, but that's not possible yet.
32depends_lib             bin:ant:apache-ant
33
34worksrcdir              ${version}/${name}-cocoa
35set appName             Cyberduck
36
37patch {
38        reinplace "s|/usr/local/bin/ant|[binaryInPath ant]|" \
39                ${worksrcpath}/${appName}.pbproj/project.pbxproj
40}
41
42use_configure   no
43
44pre-build {
45        if {![file exist /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h] || \
46                ![file exist /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Headers/jni.h]} {
47                ui_error "Unfortunately, this port requires the Apple Java 1.4.2\n\
48                        Developer package in order to build. You can download it from\n\
49                        http://connect.apple.com/. A bug has been filed with Apple by\n\
50                        the author to have the proper headers included with the standard\n\
51                        client Java install so that the developer package is not\n\
52                        required. However, until then, it will be needed in order to\n\
53                        build this application from source."
54                exit 1
55        }
56}
57
58build.type              pbx
59build.target
60build.args              -buildstyle Deployment -target all
61
62destroot {
63        set appPath ${destroot}/Applications/DarwinPorts
64        xinstall -d -m 0755 ${appPath}
65        cd ${worksrcpath}/build
66        system "cp -R ${appName}.app ${appPath}/${appName}.app"
67}
68
Note: See TracBrowser for help on using the repository browser.