Ignore:
Timestamp:
Aug 16, 2007, 10:42:43 AM (12 years ago)
Author:
nox@…
Message:

fugu:

  • Ported to xcode portgroup.
  • Added universal support.
  • Added sha1 and rmd160 checksums and livecheck.
Location:
trunk/dports/aqua/fugu
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/fugu/Portfile

    r21857 r27934  
    11# $Id$
    2 PortSystem 1.0
     2
     3PortSystem              1.0
     4PortGroup               xcode 1.0
    35
    46name                    fugu
     7set my_name             Fugu
    58version                 1.2.0
    69categories              aqua
    7 maintainers             nomaintainer@macports.org
     10maintainers             nomaintainer
    811description             A Mac OS X SFTP, SCP and SSH Frontend.
     12
    913long_description        Fugu is a graphical frontend to the commandline \
    1014                        Secure File Transfer application (SFTP). SFTP is \
     
    1317                        cleartext form, and is thus much less vulnerable to \
    1418                        third-party interception.
     19
    1520platforms               darwin
    16 homepage                http://rsug.itd.umich.edu/software/fugu
    17 master_sites            ${homepage}/files/
    18 extract.suffix          .tgz
    19 checksums               md5 977b15709364f2fc26d0152a7667d379
     21homepage                http://rsug.itd.umich.edu/software/fugu/
     22master_sites    ${homepage}files/
     23extract.suffix  .tgz
    2024
    21 use_configure           no
     25checksums               md5 977b15709364f2fc26d0152a7667d379 \
     26                                sha1 f52458be93a57b8f7b1438a9bf790d7b8be71247 \
     27                                rmd160 6b7503b071abea4f764da9cbfc62b6d6e29ab0c2
    2228
    23 build.type              pbx
    24 build.args              -buildstyle Deployment -alltargets
    25 build.target
     29xcode.destroot.settings SKIP_INSTALL=yes
    2630
    27 patchfiles              patch-project.pbxproj
     31# Dummy configure to enable universal variant.
     32use_configure   yes
     33configure               {}
    2834
    29 destroot {
    30         xinstall -d -m 0755 ${destroot}/Applications/MacPorts
    31         if {$xcodeversion == "2.1"} {
    32                 cd ${worksrcpath}/build/Deployment
    33         } else {
    34                 cd ${worksrcpath}/build
    35         }
    36         file copy Fugu.app ${destroot}/Applications/MacPorts/
     35post-patch {
     36        reinplace "s|build/|build/${xcode.configuration}/|" \
     37                ${worksrcpath}/Fugu.pbproj/project.pbxproj
    3738}
     39
     40post-destroot {
     41        xinstall -d ${destroot}/Applications/MacPorts
     42        copy ${worksrcpath}/build/UninstalledProducts/${my_name}.app \
     43                ${destroot}/Applications/MacPorts
     44}
     45
     46variant universal {
     47        build.args              "ARCHS=\"i386 ppc\""
     48        destroot.args   ${build.args}
     49}
     50
     51livecheck.check regex
     52livecheck.url   ${homepage}
     53livecheck.regex "${my_name} (\\d+(?:\\.\\d+)*)"
     54
Note: See TracChangeset for help on using the changeset viewer.