[71357] trunk/dports/audio/openal

jmr at macports.org jmr at macports.org
Fri Sep 10 02:40:57 PDT 2010


Revision: 71357
          http://trac.macports.org/changeset/71357
Author:   jmr at macports.org
Date:     2010-09-10 02:40:53 -0700 (Fri, 10 Sep 2010)
Log Message:
-----------
openal: update to 1.3 (#13587)

Modified Paths:
--------------
    trunk/dports/audio/openal/Portfile

Removed Paths:
-------------
    trunk/dports/audio/openal/files/

Modified: trunk/dports/audio/openal/Portfile
===================================================================
--- trunk/dports/audio/openal/Portfile	2010-09-10 01:54:15 UTC (rev 71356)
+++ trunk/dports/audio/openal/Portfile	2010-09-10 09:40:53 UTC (rev 71357)
@@ -1,11 +1,12 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               xcode 1.0
 
 name                    openal
-version                 1.0
+version                 1.3
 categories              audio devel
-platforms               darwin
+license                 LGPL-2
 maintainers             nomaintainer
 
 description             OpenAL is a cross-platform 3D audio API
@@ -14,36 +15,20 @@
                         of audio applications.
 
 homepage                http://www.openal.org/
-master_sites            macports
-#svn.url                 http://opensource.creative.com/repos/openal/tags/MacOSX1-2_Spec1-0/
-checksums               sha1 156d26e6369b13efe9a525cb0db9e6078ecb05a9
+master_sites            sourceforge:macports
 use_bzip2               yes
+checksums               sha1 16c230864a68c00910c5e5821ac34c795ec46458 \
+                        rmd160 35348268e975dc7ce5fecf30430ee4f748103921
 
-worksrcdir              openal-1.0/macosx
+# distfile exported from svn://connect.creativelabs.com/OpenAL/tags/MacOSX1-3_Spec1-1
+worksrcdir              ${name}-${version}/OpenAL-MacOSX
 
-patch {
-    reinplace "s/CADebugMacros.cp/CADebugMacros.cpp/g" ${worksrcpath}/al_osx.pbproj/project.pbxproj
-    reinplace "s/CADebugMacros.cp/CADebugMacros.cpp/g" ${worksrcpath}/al_osx.xcode/project.pbxproj
-}
+xcode.target            OpenAL
+xcode.destroot.type     framework
 
-use_configure           no
-
-build.type              pbx
-build.target
-build.args              -project al_osx.xcode
-post-build {
-    file copy ${filespath}/Makefile ${worksrcpath}
-    system "cd ${worksrcpath} && make all PREFIX=${prefix}"
+if {${os.major} <= 9} {
+    post-patch {
+        reinplace "s|Extras/CoreAudio/PublicUtility|Examples/CoreAudio/PublicUtility|g" \
+                  ${worksrcpath}/OpenAL.xcodeproj/project.pbxproj
+    }
 }
-
-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/include/openal
-    xinstall -m 644 -W ${worksrcpath}/al al.h alc.h alctypes.h altypes.h \
-        alut.h ${destroot}${prefix}/include/openal
-    xinstall -m 644 ${worksrcpath}/libopenal1.0.0.dylib \
-        ${destroot}${prefix}/lib
-    system "cd ${destroot}${prefix}/lib \
-        && ln -s libopenal1.0.0.dylib libopenal1.0.dylib \
-        && ln -s libopenal1.0.0.dylib libopenal1.dylib \
-        && ln -s libopenal1.0.0.dylib libopenal.dylib"
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100910/26660fbf/attachment.html>


More information about the macports-changes mailing list