| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | PortGroup xcode 1.0 |
|---|
| 5 | |
|---|
| 6 | name fugu |
|---|
| 7 | set my_name Fugu |
|---|
| 8 | version 1.2.0 |
|---|
| 9 | categories aqua |
|---|
| 10 | maintainers nomaintainer |
|---|
| 11 | description A Mac OS X SFTP, SCP and SSH Frontend. |
|---|
| 12 | |
|---|
| 13 | long_description Fugu is a graphical frontend to the commandline \ |
|---|
| 14 | Secure File Transfer application (SFTP). SFTP is \ |
|---|
| 15 | similar to FTP, but unlike FTP, the entire session \ |
|---|
| 16 | is encrypted, meaning no passwords are sent in \ |
|---|
| 17 | cleartext form, and is thus much less vulnerable to \ |
|---|
| 18 | third-party interception. |
|---|
| 19 | |
|---|
| 20 | platforms darwin |
|---|
| 21 | homepage http://rsug.itd.umich.edu/software/fugu/ |
|---|
| 22 | master_sites ${homepage}files/ |
|---|
| 23 | extract.suffix .tgz |
|---|
| 24 | |
|---|
| 25 | checksums md5 977b15709364f2fc26d0152a7667d379 \ |
|---|
| 26 | sha1 f52458be93a57b8f7b1438a9bf790d7b8be71247 \ |
|---|
| 27 | rmd160 6b7503b071abea4f764da9cbfc62b6d6e29ab0c2 |
|---|
| 28 | |
|---|
| 29 | xcode.destroot.settings SKIP_INSTALL=yes |
|---|
| 30 | |
|---|
| 31 | # Dummy configure to enable universal variant. |
|---|
| 32 | use_configure yes |
|---|
| 33 | configure {} |
|---|
| 34 | |
|---|
| 35 | post-patch { |
|---|
| 36 | reinplace "s|build/|build/${xcode.configuration}/|" \ |
|---|
| 37 | ${worksrcpath}/Fugu.pbproj/project.pbxproj |
|---|
| 38 | } |
|---|
| 39 | |
|---|
| 40 | # Can be removed once MacPorts 1.7.0 is released |
|---|
| 41 | if {![info exists applications_dir]} { |
|---|
| 42 | set applications_dir /Applications/MacPorts |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | post-destroot { |
|---|
| 46 | xinstall -d ${destroot}${applications_dir} |
|---|
| 47 | copy ${worksrcpath}/build/UninstalledProducts/${my_name}.app \ |
|---|
| 48 | ${destroot}${applications_dir} |
|---|
| 49 | } |
|---|
| 50 | |
|---|
| 51 | variant universal { |
|---|
| 52 | build.args "ARCHS=\"i386 ppc\"" |
|---|
| 53 | destroot.args ${build.args} |
|---|
| 54 | } |
|---|
| 55 | |
|---|
| 56 | livecheck.check regex |
|---|
| 57 | livecheck.url ${homepage} |
|---|
| 58 | livecheck.regex "${my_name} (\\d+(?:\\.\\d+)*)" |
|---|