source: trunk/dports/audio/openal/Portfile @ 38898

Last change on this file since 38898 was 38898, checked in by ryandesign@…, 9 years ago

openal: whitespace changes only

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 38898 2008-08-02 08:46:13Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    openal
6version                 1.0
7categories              audio devel
8platforms               darwin
9maintainers             nomaintainer
10
11description             OpenAL is a cross-platform 3D audio API
12long_description        OpenAL is a cross-platform 3D audio API appropriate \
13                        for use with gaming applications and many other types \
14                        of audio applications.
15
16homepage                http://www.openal.org/
17master_sites            macports
18#svn.url                 http://opensource.creative.com/repos/openal/tags/MacOSX1-2_Spec1-0/
19checksums               sha1 156d26e6369b13efe9a525cb0db9e6078ecb05a9
20use_bzip2               yes
21
22worksrcdir              openal-1.0/macosx
23
24patch {
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
27}
28
29use_configure           no
30
31build.type              pbx
32build.target
33build.args              -project al_osx.xcode
34post-build {
35    file copy ${filespath}/Makefile ${worksrcpath}
36    system "cd ${worksrcpath} && make all PREFIX=${prefix}"
37}
38
39destroot {
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 TracBrowser for help on using the repository browser.