New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82692


Ignore:
Timestamp:
08/18/11 06:29:43 (4 years ago)
Author:
ryandesign@…
Message:

starfighter: use app portgroup; ensure we're UsingTheRightCompiler and build_arch and add universal variant; fix license

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/starfighter/Portfile

    r63678 r82692  
    22 
    33PortSystem              1.0 
     4PortGroup               app 1.0 
    45 
    56name                    starfighter 
    67version                 1.1-1 
     8revision                1 
    79categories              games 
    810platforms               darwin 
    911maintainers             nomaintainer 
    10 license                 GPL-2 
     12license                 GPL-2+ 
    1113 
    1214description             2D Space Shooter 
     
    3739use_configure           no 
    3840 
    39 build.args              PREFIX=${prefix} 
     41variant universal {} 
     42 
     43build.args              PREFIX=${prefix} \ 
     44                        CXX="${configure.cxx} [get_canonical_archflags]" 
    4045 
    4146destroot.destdir        PREFIX=${destroot}${prefix} 
    4247 
    4348post-destroot { 
    44     xinstall -d ${destroot}${prefix}/share/doc/${name} \ 
    45         ${destroot}${applications_dir}/Starfighter.app/Contents/MacOS 
     49    xinstall -d ${destroot}${prefix}/share/doc/${name} 
    4650    xinstall -m 644 ${worksrcpath}/docs/LICENSE \ 
    4751        ${destroot}${prefix}/share/doc/${name} 
    48     ln -s ${prefix}/bin/starfighter ${destroot}${applications_dir}/Starfighter.app/Contents/MacOS/Starfighter 
    4952} 
     53 
     54app.identifier              uk.co.parallelrealities.${app.name} 
Note: See TracChangeset for help on using the changeset viewer.