Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 27808

Show
Ignore:
Timestamp:
2007-08-14 07:39:37 (15 months ago)
Author:
nox@…
Message:

Platypus:

  • Updated to version 3.4.
  • Ported to xcode portgroup.
  • Added universal support.
  • Added livecheck and sha1 and rmd160 checksums.
Files:
1 modified

Legend:

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

    r21856 r27808  
    11# $Id$ 
     2 
    23PortSystem              1.0 
     4PortGroup               xcode 1.0 
    35 
    46name                    Platypus 
    5 version                 3.2 
     7version                 3.4 
    68categories              aqua devel 
    7 maintainers             nomaintainer@macports.org 
     9maintainers             nomaintainer 
    810description             Program for creating application wrappers around scripts. 
     11 
    912long_description        Platypus is a program for creating application \ 
    1013                        wrappers around scripts, i.e. creating Mac OS X \ 
     
    1619                        root using Authentication Manager and more. 
    1720 
    18 homepage                http://sveinbjorn.sytes.net 
    19 master_sites    ${homepage}/files/software/platypus/ 
     21homepage                http://www.sveinbjorn.org/platypus/ 
     22master_sites    http://www.sveinbjorn.org/files/software/platypus/ 
    2023distname                platypus${version}.src 
    2124use_zip                 yes 
    22 checksums               md5 4dcfca127b1bfaecdbbc75c06641ad91 
    23 platforms               darwin 
    2425 
    25 set worksrcdir          ${name} 
     26checksums               md5 775d39e01562a97739043644865c7062 \ 
     27                                sha1 fdb9967f5f3edbb9f82e206455db21aa1e420496 \ 
     28                                rmd160 2a1dc4cf5247c688706f7724ddfc0945d2805146 
     29                                 
     30worksrcdir              ${name} 
    2631 
    27 use_configure   no 
     32# Dummy configure to enable universal variant. 
     33use_configure   yes 
     34configure               {} 
    2835 
    29 build.type      pbx 
    30 build.target    -configuration Deployment -target ${name} 
     36if {! [variant_isset universal]} { 
     37        set arch ${os.arch} 
     38        if {! [string compare ${os.arch} powerpc]} { 
     39                set arch ppc 
     40        } 
    3141 
    32 destroot { 
    33         xinstall -d -m 755 ${destroot}/Applications/MacPorts 
    34         system "cp -R '${worksrcpath}'/build/Deployment/${name}.app \ 
    35                 ${destroot}/Applications/MacPorts/${name}.app" 
     42        xcode.build.settings-append             ARCHS=${arch} 
     43        xcode.destroot.settings-append  ARCHS=${arch} 
    3644} 
     45 
     46livecheck.check regex 
     47livecheck.url   ${homepage} 
     48livecheck.regex "${name} (\\d+(?:\\.\\d+)*)" 
     49