Ignore:
Timestamp:
Jul 24, 2005, 11:53:48 AM (12 years ago)
Author:
mww
Message:

Bug: #3469
Submitted by: benwill@…
Reviewed by: mww@

remove framework build, transfer maintainership

File:
1 edited

Legend:

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

    r12599 r13193  
    1 # $Id: Portfile,v 1.10 2005/06/09 11:48:43 mww Exp $
    2 PortSystem              1.0
     1# $Id: Portfile,v 1.11 2005/07/24 11:50:50 mww Exp $
     2
     3PortSystem 1.0
    34name                    libsdl
    45version                 1.2.8
    5 revision                2
     6revision                3
    67categories              devel multimedia
    7 maintainers             rshaw@opendarwin.org
     8maintainers             benwill@socrates.berkeley.edu
    89description             Cross-platform multi-media development API
    910long_description        Simple DirectMedia Layer is a cross-platform \
    10                                         multimedia library designed to provide fast access \
    11                                         to the graphics framebuffer and audio device. It is \
    12                                         used by MPEG playback software, emulators, and many \
    13                                         popular games, including the award winning Linux \
    14                                         port of "Civilization: Call To Power." Simple \
    15                                         DirectMedia Layer supports Linux, Win32, BeOS, \
    16                                         MacOS, Solaris, IRIX, and FreeBSD.
     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                        MacOS, Solaris, IRIX, and FreeBSD.
    1718platforms               darwin freebsd
    18 master_sites    http://www.libsdl.org/release/
     19master_sites            http://www.libsdl.org/release/
    1920distname                SDL-${version}
    2021checksums               md5 37aaf9f069f9c2c18856022f35de9f8c
     
    2627
    2728configure.args  --enable-shared \
    28                                 --mandir=${prefix}/share/man
     29                        --mandir=${prefix}/share/man
    2930
    3031post-destroot   {
     
    3940}
    4041
    41 variant nostatic {
    42         configure.args-append   --disable-static
    43 }
    44 
    45 platform darwin 7 {
    46         post-extract {
    47                 system "cd ${worksrcpath} && tar -xvzf Xcode.tar.gz"
    48         }
    49         post-patch {
    50                 reinplace "s|~/Library/Frameworks|./build/Frameworks|g" \
    51                         ${worksrcpath}/Xcode/SDL/SDL.pbproj/project.pbxproj
    52                 reinplace "s|/Library/Frameworks|../SDL/build/Frameworks|g" \
    53                         ${worksrcpath}/Xcode/SDLTest/SDLTest.pbproj/project.pbxproj
    54         }
    55         post-build {
    56                 build.dir               "${worksrcpath}/Xcode/SDL"
    57                 build.type              pbx
    58                 build.target    -buildstyle Deployment -target Framework
    59                 system "[command build]"
    60                 cd ${worksrcpath}/Xcode/SDL
    61                 system "install_name_tool -id /Library/Frameworks/SDL.framework/SDL \
    62                         build/Frameworks/SDL.framework/SDL"
    63                 build.dir               "${worksrcpath}/Xcode/SDLTest"
    64                 build.type              pbx
    65                 build.target    -buildstyle Deployment -target All
    66                 system "[command build]"
    67                 cd ${worksrcpath}/Xcode/SDLTest
    68                 foreach exe [glob build/*.app/Contents/MacOS/*] {
    69                         system "install_name_tool -change @executable_path/../Frameworks/SDL.framework/Versions/A/SDL \
    70                                 /Library/Frameworks/SDL.framework/SDL ${exe}"
    71                 }
    72         }
    73         destroot.dir    ${worksrcpath}
    74         destroot.cmd    make
    75         post-destroot {
    76                 cd "${worksrcpath}/Xcode/SDL/build/Frameworks"
    77                 xinstall -d -m 0755 ${destroot}/Library/Frameworks
    78                 system "cp -R SDL.framework ${destroot}/Library/Frameworks"
    79                 cd "${worksrcpath}/Xcode/SDLTest/build"
    80                 xinstall -d -m 0755 ${destroot}/Developer/Examples/SDL/Tests
    81                 foreach app [glob *.app] {
    82                         system "cp -R ${app} ${destroot}/Developer/Examples/SDL/Tests"
    83                 }
    84                 cd "${worksrcpath}/Xcode/Project Stationary"
    85                 xinstall -d -m 0755 ${destroot}/Developer/Examples/SDL
    86                 system "cp -R * ${destroot}/Developer/Examples/SDL"
    87         }
    88 }
    89 
    9042platform darwin 6 {
    9143        depends_lib-append      lib:libdl:dlcompat
     
    9345                                                LDFLAGS="-L${prefix}/lib"
    9446}
    95 
Note: See TracChangeset for help on using the changeset viewer.