Changeset 71357


Ignore:
Timestamp:
Sep 10, 2010, 9:40:53 AM (9 years ago)
Author:
jmr@…
Message:

openal: update to 1.3 (#13587)

Location:
trunk/dports/audio/openal
Files:
1 deleted
1 edited

Legend:

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

    r38898 r71357  
    22
    33PortSystem              1.0
     4PortGroup               xcode 1.0
    45
    56name                    openal
    6 version                 1.0
     7version                 1.3
    78categories              audio devel
    8 platforms               darwin
     9license                 LGPL-2
    910maintainers             nomaintainer
    1011
     
    1516
    1617homepage                http://www.openal.org/
    17 master_sites            macports
    18 #svn.url                 http://opensource.creative.com/repos/openal/tags/MacOSX1-2_Spec1-0/
    19 checksums               sha1 156d26e6369b13efe9a525cb0db9e6078ecb05a9
     18master_sites            sourceforge:macports
    2019use_bzip2               yes
     20checksums               sha1 16c230864a68c00910c5e5821ac34c795ec46458 \
     21                        rmd160 35348268e975dc7ce5fecf30430ee4f748103921
    2122
    22 worksrcdir              openal-1.0/macosx
     23# distfile exported from svn://connect.creativelabs.com/OpenAL/tags/MacOSX1-3_Spec1-1
     24worksrcdir              ${name}-${version}/OpenAL-MacOSX
    2325
    24 patch {
    25     reinplace "s/CADebugMacros.cp/CADebugMacros.cpp/g" ${worksrcpath}/al_osx.pbproj/project.pbxproj
    26     reinplace "s/CADebugMacros.cp/CADebugMacros.cpp/g" ${worksrcpath}/al_osx.xcode/project.pbxproj
     26xcode.target            OpenAL
     27xcode.destroot.type     framework
     28
     29if {${os.major} <= 9} {
     30    post-patch {
     31        reinplace "s|Extras/CoreAudio/PublicUtility|Examples/CoreAudio/PublicUtility|g" \
     32                  ${worksrcpath}/OpenAL.xcodeproj/project.pbxproj
     33    }
    2734}
    28 
    29 use_configure           no
    30 
    31 build.type              pbx
    32 build.target
    33 build.args              -project al_osx.xcode
    34 post-build {
    35     file copy ${filespath}/Makefile ${worksrcpath}
    36     system "cd ${worksrcpath} && make all PREFIX=${prefix}"
    37 }
    38 
    39 destroot {
    40     xinstall -m 755 -d ${destroot}${prefix}/include/openal
    41     xinstall -m 644 -W ${worksrcpath}/al al.h alc.h alctypes.h altypes.h \
    42         alut.h ${destroot}${prefix}/include/openal
    43     xinstall -m 644 ${worksrcpath}/libopenal1.0.0.dylib \
    44         ${destroot}${prefix}/lib
    45     system "cd ${destroot}${prefix}/lib \
    46         && ln -s libopenal1.0.0.dylib libopenal1.0.dylib \
    47         && ln -s libopenal1.0.0.dylib libopenal1.dylib \
    48         && ln -s libopenal1.0.0.dylib libopenal.dylib"
    49 }
Note: See TracChangeset for help on using the changeset viewer.