New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83017


Ignore:
Timestamp:
08/23/11 09:13:01 (4 years ago)
Author:
ryandesign@…
Message:

2Pong:

  • use app portgroup and add app icon
  • ensure we're UsingTheRightCompiler
  • force 32-bit build; crashes when built 64-bit
  • indicate license
  • installs_libs no
Location:
trunk/dports/games/2Pong
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/2Pong/Portfile

    r58210 r83017  
    22 
    33PortSystem              1.0 
     4PortGroup               app 1.0 
    45 
    56name                    2Pong 
    67version                 0.6 
    7 revision                1 
     8revision                2 
    89categories              games 
    910platforms               darwin 
    1011maintainers             nomaintainer 
     12license                 GPL-2 
     13installs_libs           no 
     14 
     15# Compiles ok for x86_64 but crashes on launch 
     16supported_archs         i386 ppc 
    1117 
    1218description             Pong game with 2 balls, 2 and 4 player support 
     
    2228                        port:libsdl_mixer 
    2329 
     30patchfiles              patch-Makefile.diff 
     31 
    2432use_configure           no 
    2533 
    26 build.args              CFLAGS="-I${prefix}/include -I${prefix}/include/SDL" 
     34build.args              CC="${configure.cc} [get_canonical_archflags]" \ 
     35                        CFLAGS="-I${prefix}/include -I${prefix}/include/SDL" 
    2736 
    2837destroot.destdir        PRE=${destroot}${prefix} 
     
    3039post-destroot { 
    3140    reinplace s|${destroot}${prefix}|${prefix}|g ${destroot}${prefix}/bin/2Pong 
    32     xinstall -d ${destroot}${applications_dir}/2Pong.app/Contents/MacOS 
    33     ln -s ${prefix}/bin/2Pong ${destroot}${applications_dir}/2Pong.app/Contents/MacOS/2Pong 
    3441} 
     42 
     43app.icon                Graphics/2pongicon.png 
    3544 
    3645livecheck.version       ${name}-${version} 
Note: See TracChangeset for help on using the changeset viewer.