New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82783


Ignore:
Timestamp:
08/19/11 18:33:05 (4 years ago)
Author:
ryandesign@…
Message:

alienblaster:

  • use app portgroup
  • add app icon
  • ensure we're UsingTheRightCompiler and arch flags
  • add universal variant
  • installs_libs no
  • indicate license
File:
1 edited

Legend:

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

    r81694 r82783  
    22 
    33PortSystem              1.0 
     4PortGroup               app 1.0 
    45 
    56name                    alienblaster 
    67version                 1.1.0 
     8revision                1 
    79categories              games 
    810platforms               darwin 
    911maintainers             nomaintainer 
     12license                 GPL-2+ 
     13installs_libs           no 
    1014 
    1115description             action loaded 2D arcade shooter for up to two players 
     
    2327worksrcdir              ${name} 
    2428 
    25 configure { 
     29post-patch { 
    2630    reinplace "s|./images|${prefix}/share/${name}/images|g" \ 
    2731        ${worksrcpath}/src/global.h \ 
     
    4246} 
    4347 
     48use_configure           no 
     49 
     50variant universal {} 
     51 
     52build.args              COMPILER="${configure.cxx} [get_canonical_archflags]" 
     53 
    4454destroot { 
    4555    xinstall -m 755 -s ${worksrcpath}/alienBlaster ${destroot}${prefix}/bin 
     
    5060} 
    5161 
    52 platform darwin { 
    53     post-destroot { 
    54         xinstall -m 755 -d ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS 
    55         ln -s ${prefix}/bin/alienBlaster ${destroot}${applications_dir}/AlienBlaster.app/Contents/MacOS/AlienBlaster 
    56     } 
    57 } 
     62app.name                AlienBlaster 
     63app.executable          alienBlaster 
     64app.icon                images/alienblastericon.bmp 
Note: See TracChangeset for help on using the changeset viewer.