New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82703


Ignore:
Timestamp:
08/18/11 12:04:25 (4 years ago)
Author:
ryandesign@…
Message:

ship84: whitespace changes; add modeline

File:
1 edited

Legend:

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

    r82702 r82703  
     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 
    3 PortSystem 1.0 
     4PortSystem          1.0 
    45 
    5 name            ship84 
    6 version         1.3.3.7 
    7 revision        1 
    8 categories      games 
    9 platforms       darwin 
    10 maintainers     nomaintainer 
    11 description     space invaders clone using SDL 
    12 long_description        The Angryfez Army and their minions have pointed the \ 
    13                         ultimate battle at earth! Only Happyfez can save the \ 
    14                         day! 
     6name                ship84 
     7version             1.3.3.7 
     8revision            1 
     9categories          games 
     10platforms           darwin 
     11maintainers         nomaintainer 
     12 
     13description         space invaders clone using SDL 
     14 
     15long_description    The Angryfez Army and their minions have pointed the \ 
     16                    ultimate battle at earth! Only Happyfez can save the \ 
     17                    day! 
    1518 
    1619homepage            http://sourceforge.net/projects/ship84/ 
    1720master_sites        sourceforge:project/ship84/Shippy1984%20UNIX/Shippy1984%20v${version} 
    1821 
    19 distname        shipv${version}UNIX 
    20 use_zip         yes 
    21 checksums       md5 06df2ae060fe4a076d7fa17a57205348 
    22 patchfiles      patch-GNUmakefile.diff \ 
    23                 patch-shipsdl.c.diff \ 
    24                 patch-shippy.c.diff 
     22distname            shipv${version}UNIX 
     23use_zip             yes 
    2524 
    26 depends_lib     bin:sdl-config:libsdl \ 
    27                 lib:libSDL_mixer:libsdl_mixer 
     25checksums           md5     06df2ae060fe4a076d7fa17a57205348 
    2826 
    29 set worksrcpath ${workpath} 
     27patchfiles          patch-GNUmakefile.diff \ 
     28                    patch-shipsdl.c.diff \ 
     29                    patch-shippy.c.diff 
    3030 
    31 configure       { 
    32         reinplace "s|data/|${prefix}/share/games/${name}/|g" \ 
    33                 ${worksrcpath}/shipall.c \ 
    34                 ${worksrcpath}/shippy.c \ 
    35                 ${worksrcpath}/shipsdl.c 
     31depends_lib         bin:sdl-config:libsdl \ 
     32                    lib:libSDL_mixer:libsdl_mixer 
     33 
     34set worksrcpath     ${workpath} 
     35 
     36configure { 
     37    reinplace "s|data/|${prefix}/share/games/${name}/|g" \ 
     38        ${worksrcpath}/shipall.c \ 
     39        ${worksrcpath}/shippy.c \ 
     40        ${worksrcpath}/shipsdl.c 
    3641} 
    37 build.dir       ${workpath} 
    38 build.type      gnu 
    39 build.args      -f GNUmakefile 
    4042 
    41 destroot        { 
    42         xinstall -m 755 -d ${destroot}${prefix}/bin \ 
    43                 ${destroot}${prefix}/share/games 
    44         xinstall -m 755 -s ${worksrcpath}/shippy ${destroot}${prefix}/bin 
    45         file copy ${worksrcpath}/data ${destroot}${prefix}/share/games/${name} 
     43build.dir           ${workpath} 
     44build.type          gnu 
     45build.args          -f GNUmakefile 
     46 
     47destroot { 
     48    xinstall -m 755 -d ${destroot}${prefix}/bin \ 
     49        ${destroot}${prefix}/share/games 
     50    xinstall -m 755 -s ${worksrcpath}/shippy ${destroot}${prefix}/bin 
     51    file copy ${worksrcpath}/data ${destroot}${prefix}/share/games/${name} 
    4652} 
     53 
    4754platform darwin { 
    48         post-destroot { 
    49                 xinstall -d -m 755 ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS 
    50                 system "ln -sf ${prefix}/bin/shippy \ 
    51                         ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS/Ship84" 
    52         } 
     55    post-destroot { 
     56        xinstall -d -m 755 ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS 
     57        system "ln -sf ${prefix}/bin/shippy \ 
     58            ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS/Ship84" 
     59    } 
    5360} 
    5461 
Note: See TracChangeset for help on using the changeset viewer.