Changeset 13266 for trunk/dports/audio


Ignore:
Timestamp:
Jul 28, 2005, 6:47:00 PM (15 years ago)
Author:
ben
Message:

Remove framework part

File:
1 edited

Legend:

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

    r12575 r13266  
    1 # $Id: Portfile,v 1.4 2005/06/07 22:27:04 rshaw Exp $
     1# $Id: Portfile,v 1.5 2005/07/28 18:47:00 ben Exp $
    22PortSystem              1.0
    33name                    libsdl_sound
    44version                 1.0.1
    5 revision                2
     5revision                3
    66categories              audio devel
    7 maintainers             rshaw@opendarwin.org
     7maintainers             rshaw@opendarwin.org ben@opendarwin.org
    88description             handles decoding of several popular sound file formats
    99long_description        SDL_sound is a library that handles the decoding of \
     
    4646}
    4747
    48 set pbx "${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj"
    49 platform darwin {
    50         post-extract {
    51                 system "cd ${worksrcpath} && tar -xvzf PBProjects.tar.gz"
    52         }
    53         post-patch {
    54                 reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbx}
    55                 reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbx}
    56                 reinplace "s|\$HOME/Library/Frameworks|/Library/Frameworks|g" ${pbx}
    57                 reinplace "s|vorbis/include|$prefix/include/vorbis|g" ${pbx}
    58                 reinplace "s|vorbis/lib|$prefix/lib|g" ${pbx}
    59                 reinplace "s|mikmod/include|$prefix/include|g" ${pbx}
    60                 reinplace "s|mikmod/lib|$prefix/lib|g" ${pbx}
    61         }
    62         post-build {
    63                 build.dir               "${worksrcpath}/PBProjects"
    64                 build.type              pbx
    65                 build.target    -buildstyle Deployment -target Framework
    66                 system "[command build]"
    67                 cd ${worksrcpath}/PBProjects
    68                 system "install_name_tool -id /Library/Frameworks/SDL_sound.framework/SDL_sound \
    69                         build/Frameworks/SDL_sound.framework/SDL_sound"
    70         }
    71         destroot.dir    ${worksrcpath}
    72         destroot.cmd    make
    73         post-destroot {
    74                 cd "${worksrcpath}/PBProjects/build/Frameworks"
    75                 xinstall -d -m 0755 ${destroot}/Library/Frameworks
    76                 system "cp -R SDL_sound.framework ${destroot}/Library/Frameworks"
    77         }
    78 }
    79 
    8048platform darwin 6 {
    8149        depends_lib-append      lib:libdl:dlcompat
Note: See TracChangeset for help on using the changeset viewer.