Changeset 37163 for trunk/dports/games


Ignore:
Timestamp:
May 28, 2008, 12:20:00 PM (11 years ago)
Author:
jmr@…
Message:

criticalmass: update to version 1.0.2, which fixes build errors. Closes #15444.

Location:
trunk/dports/games/criticalmass
Files:
3 added
1 edited

Legend:

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

    r37162 r37163  
    55
    66name            criticalmass
    7 version         0.9.11
     7version         1.0.2
    88categories      games
    99platforms       darwin
     
    1515master_sites    sourceforge:criticalmass
    1616distname        CriticalMass-${version}
    17 checksums       md5 80a70f8e5cbdcfe8eedf49f91b093b2d
     17checksums       md5 e2aff114bffa717fb79c82e1dc473ebe \
     18                sha1 d2d1f35183e9fbed76fd8da2a948745a4c89f20b \
     19                rmd160 6c0b6988f6a52c4b19fbca2525b1daec0202693d
    1820use_bzip2       yes
    1921
     
    2426                port:zlib
    2527
    26 post-patch {
    27     reinplace "s|/Contents/Resources/|/../share/${name}/|g" \
    28         ${worksrcpath}/game/Makefile.in
    29 }
     28patchfiles      patch-configure.diff patch-utils_GetDataPath.hpp.diff
     29
    3030configure.args  --mandir=${prefix}/share/man
    31 post-configure {
    32     reinplace "s|-I${prefix}/include/SDL|-I${prefix}/include -I${prefix}/include/SDL|g" \
    33         ${worksrcpath}/game/Makefile \
    34         ${worksrcpath}/utilssdl/Makefile \
    35         ${worksrcpath}/utilsgl/Makefile
    36 }
    37 
    38 post-destroot {
    39     file rename ${destroot}${prefix}/share/Critical_Mass ${destroot}${prefix}/share/${name}
    40     set dest ${destroot}${prefix}/Applications/MacPorts/CriticalMass.app/Contents/MacOS
    41     xinstall -m 755 -d ${dest}
    42     system "ln -sf ${prefix}/bin/critter ${dest}/CriticalMass"
    43 }
    4431
    4532platform darwin 9 {
Note: See TracChangeset for help on using the changeset viewer.