Changeset 12375 for trunk/dports/audio


Ignore:
Timestamp:
May 24, 2005, 7:23:15 PM (15 years ago)
Author:
mww
Message:

fix build on 10.4 (made pbx stuff darwin 7 only)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/libsdl_sound/Portfile

    r11198 r12375  
    1 # $Id: Portfile,v 1.2 2005/03/04 23:12:11 rshaw Exp $
     1# $Id: Portfile,v 1.3 2005/05/24 19:23:15 mww Exp $
    22PortSystem              1.0
    33name                    libsdl_sound
     
    3636        ui_info "Ready to run ./configure ..."
    3737}
     38configure.env   LDFLAGS=-L${prefix}/lib
    3839configure.args  --disable-sdltest \
    3940                                --disable-smpegtest
     
    4546}
    4647
    47 platform darwin {
     48set pbx "${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj"
     49platform darwin 7 {
    4850        post-extract {
    4951                system "cd ${worksrcpath} && tar -xvzf PBProjects.tar.gz"
    5052        }
    5153        post-patch {
    52                 reinplace "s|~/Library/Frameworks|./build/Frameworks|g" \
    53                         ${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj
    54                 reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" \
    55                         ${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj
    56                 reinplace "s|vorbis/include|$prefix/include/vorbis|g" \
    57                         ${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj
    58                 reinplace "s|vorbis/lib|$prefix/lib|g" \
    59                         ${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj
    60                 reinplace "s|mikmod/include|$prefix/include|g" \
    61                         ${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj
    62                 reinplace "s|mikmod/lib|$prefix/lib|g" \
    63                         ${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj
     54                reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbx}
     55                reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbx}
     56                reinplace "s|vorbis/include|$prefix/include/vorbis|g" ${pbx}
     57                reinplace "s|vorbis/lib|$prefix/lib|g" ${pbx}
     58                reinplace "s|mikmod/include|$prefix/include|g" ${pbx}
     59                reinplace "s|mikmod/lib|$prefix/lib|g" ${pbx}
    6460        }
    6561        post-build {
Note: See TracChangeset for help on using the changeset viewer.