Ignore:
Timestamp:
Sep 10, 2007, 6:44:19 PM (11 years ago)
Author:
nox@…
Message:

libsdl: Whitespace changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/libsdl/Portfile

    r28165 r28883  
    11# $Id$
    22
    3 PortSystem 1.0
    4 name                    libsdl
    5 set my_name             SDL
    6 version                 1.2.12
    7 categories              devel multimedia
    8 maintainers             nox openmaintainer
    9 description             Cross-platform multi-media development API
    10 long_description        Simple DirectMedia Layer is a cross-platform \
    11                         multimedia library designed to provide fast access \
    12                         to the graphics framebuffer and audio device. It is \
    13                         used by MPEG playback software, emulators, and many \
    14                         popular games, including the award winning Linux \
    15                         port of \"Civilization: Call To Power.\" Simple \
    16                         DirectMedia Layer supports Linux, Win32, BeOS, \
    17                         Mac OS, Solaris, IRIX, and FreeBSD.
     3PortSystem      1.0
     4
     5name            libsdl
     6set my_name     SDL
     7version         1.2.12
     8categories      devel multimedia
    189platforms               macosx freebsd
     10maintainers     nox openmaintainer
     11description     Cross-platform multi-media development API
     12
     13long_description \
     14    Simple DirectMedia Layer is a cross-platform multimedia library designed \
     15    to provide fast access to the graphics framebuffer and audio device. It is \
     16        used by MPEG playback software, emulators, and many popular games, including \
     17    the award winning Linux port of \"Civilization: Call To Power.\" Simple \
     18    DirectMedia Layer supports Linux, Win32, BeOS, Mac OS, Solaris, IRIX, and FreeBSD.
     19
    1920homepage        http://www.libsdl.org/
    20 master_sites            ${homepage}release/
    21 distname                ${my_name}-${version}
    22 checksums               md5 544b4554986e51eed6d34435cf9c5f3f \
     21master_sites    ${homepage}release/
     22distname        ${my_name}-${version}
     23
     24checksums       md5 544b4554986e51eed6d34435cf9c5f3f \
    2325                sha1 2c37ff1683368369c0f555d4a742f0544153610d \
    2426                rmd160 3871023c63ea056eba43ce4f55ee8d3a73ff3022
     27
    2528depends_lib             lib:libX11.6:XFree86
    2629
    27 configure.args  --enable-shared \
    28                         --mandir=${prefix}/share/man
     30configure.args  --enable-shared \
     31                --mandir=${prefix}/share/man
    2932
    30 set docdir ${prefix}/share/doc/${name}-${version}
     33set docdir      ${prefix}/share/doc/${name}-${version}
    3134
    32 post-destroot   {
    33         xinstall -m 0755 -d ${destroot}${docdir}/html
     35post-destroot {
     36    xinstall -m 0755 -d ${destroot}${docdir}/html
    3437
    35         xinstall -m 0644 -W ${worksrcpath} BUGS COPYING CREDITS INSTALL README README-SDL.txt \
     38    xinstall -m 0644 -W ${worksrcpath} BUGS COPYING CREDITS INSTALL README README-SDL.txt \
    3639        README.MacOSX TODO ${destroot}${docdir}
    3740
    38         xinstall -m 0644 -W ${worksrcpath} docs.html docs/index.html ${destroot}${docdir}/html
    39         reinplace {s@docs/@@g} ${destroot}${docdir}/html/docs.html   
     41    xinstall -m 0644 -W ${worksrcpath} docs.html docs/index.html ${destroot}${docdir}/html
     42    reinplace {s@docs/@@g} ${destroot}${docdir}/html/docs.html   
    4043
    41         foreach {dir} {html images} {
    42                 xinstall -m 0755 -d ${destroot}${docdir}/html/${dir}
    43                 eval xinstall -m 0644 [glob ${worksrcpath}/docs/${dir}/*] ${destroot}${docdir}/html/${dir}
    44         }
     44    foreach {dir} {html images} {
     45        xinstall -m 0755 -d ${destroot}${docdir}/html/${dir}
     46        eval xinstall -m 0644 [glob ${worksrcpath}/docs/${dir}/*] ${destroot}${docdir}/html/${dir}
     47    }
    4548}
    4649
    4750platform darwin 7 {
    48         pre-fetch {
     51    pre-fetch {
    4952        set qt_header [open /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h r]
    5053
    5154        while {[gets $qt_header line] != -1} {
    52                         if {[regexp {Version:} $line]} {
     55            if {[regexp {Version:} $line]} {
    5356                regexp {(\d+)\.(\d+)(?:\.(\d+))?$} $line qt_ver qt_maj qt_min qt_rev
    5457
    55                 if {$qt_maj > 7 || $qt_min > 0 || $qt_rev > 3} {
     58                if {$qt_maj > 7 || $qt_min > 0 || $qt_rev > 3} {
    5659                    ui_error ""
    5760                    ui_error "Installation of libSDL is exiting because it believes you have"
     
    6568                    ui_error "http://trac.macports.org/projects/macports/ticket/6533"
    6669
    67                                         return -code 1 "${name} cannot build on Panther with QuickTime 7.0.4 or later."
     70                    return -code 1 "${name} cannot build on Panther with QuickTime 7.0.4 or later."
    6871                }
    6972
     
    8386
    8487platform darwin 9 {
    85         patchfiles-append patch-AudioFilePlayer.h patch-SDL_coreaudio.c
     88    patchfiles-append patch-AudioFilePlayer.h patch-SDL_coreaudio.c
    8689}
    8790
    88 livecheck.check regex
    89 livecheck.url   ${homepage}download.php
    90 livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)"
     91livecheck.check regex
     92livecheck.url   ${homepage}download.php
     93livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
     94
Note: See TracChangeset for help on using the changeset viewer.