Ignore:
Timestamp:
May 28, 2008, 10:34:08 AM (12 years ago)
Author:
jmr@…
Message:

criticalmass: add modeline, detab

File:
1 edited

Legend:

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

    r30227 r37159  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    34PortSystem 1.0
    45
    5 name                    criticalmass
    6 version                 0.9.11
    7 categories              games
    8 platforms               darwin
    9 maintainers             nomaintainer
    10 description             Critical Mass is an SDL/OpenGL space shoot'em up game.
    11 long_description        ${description}
     6name            criticalmass
     7version         0.9.11
     8categories      games
     9platforms       darwin
     10maintainers     nomaintainer
     11description     Critical Mass is an SDL/OpenGL space shoot'em up game.
     12long_description    ${description}
    1213
    13 homepage                http://criticalmass.sourceforge.net/critter.php
    14 master_sites    sourceforge:criticalmass
    15 distname                CriticalMass-${version}
    16 checksums               md5 80a70f8e5cbdcfe8eedf49f91b093b2d
    17 use_bzip2               yes
     14homepage        http://criticalmass.sourceforge.net/critter.php
     15master_sites    sourceforge:criticalmass
     16distname        CriticalMass-${version}
     17checksums       md5 80a70f8e5cbdcfe8eedf49f91b093b2d
     18use_bzip2       yes
    1819
    19 depends_lib             bin:sdl-config:libsdl \
    20                                 lib:libSDL_mixer:libsdl_mixer \
    21                                 lib:libSDL_image:libsdl_image \
    22                                 lib:libpng:libpng \
    23                                 lib:libz:zlib
     20depends_lib     bin:sdl-config:libsdl \
     21                lib:libSDL_mixer:libsdl_mixer \
     22                lib:libSDL_image:libsdl_image \
     23                lib:libpng:libpng \
     24                lib:libz:zlib
    2425
    2526post-patch {
    26         reinplace "s|/Contents/Resources/|/../share/${name}/|g" \
    27                 ${worksrcpath}/game/Makefile.in
     27    reinplace "s|/Contents/Resources/|/../share/${name}/|g" \
     28        ${worksrcpath}/game/Makefile.in
    2829}
    29 configure.args  --mandir=${prefix}/share/man
     30configure.args  --mandir=${prefix}/share/man
    3031post-configure {
    31         reinplace "s|-I${prefix}/include/SDL|-I${prefix}/include -I${prefix}/include/SDL|g" \
    32                 ${worksrcpath}/game/Makefile \
    33                 ${worksrcpath}/utilssdl/Makefile \
    34                 ${worksrcpath}/utilsgl/Makefile
     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
    3536}
    3637
    3738post-destroot {
    38         cd ${destroot}${prefix}/share
    39         file rename Critical_Mass ${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"
     39    cd ${destroot}${prefix}/share
     40    file rename Critical_Mass ${name}
     41    set dest ${destroot}${prefix}/Applications/MacPorts/CriticalMass.app/Contents/MacOS
     42    xinstall -m 755 -d ${dest}
     43    system "ln -sf ${prefix}/bin/critter ${dest}/CriticalMass"
    4344}
Note: See TracChangeset for help on using the changeset viewer.