[28991] trunk/dports/audio/libsdl_sound-framework/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 12 14:56:46 PDT 2007


Revision: 28991
          http://trac.macosforge.org/projects/macports/changeset/28991
Author:   nox at macports.org
Date:     2007-09-12 14:56:46 -0700 (Wed, 12 Sep 2007)

Log Message:
-----------
libsdl_sound-framework:
 * Whitespace changes.
 * Taken over.

Modified Paths:
--------------
    trunk/dports/audio/libsdl_sound-framework/Portfile

Modified: trunk/dports/audio/libsdl_sound-framework/Portfile
===================================================================
--- trunk/dports/audio/libsdl_sound-framework/Portfile	2007-09-12 21:52:15 UTC (rev 28990)
+++ trunk/dports/audio/libsdl_sound-framework/Portfile	2007-09-12 21:56:46 UTC (rev 28991)
@@ -1,83 +1,93 @@
 # $Id$
-PortSystem		1.0
-name			libsdl_sound-framework
-version			1.0.1
-categories		audio devel
-maintainers		nomaintainer at macports.org
-description		handles decoding of several popular sound file formats
-long_description	SDL_sound is a library that handles the decoding of \
-			several popular sound file formats, such as .WAV and \
-			.MP3. It is meant to make the programmer's sound \
-			playback tasks simpler.
+
+PortSystem      1.0
+
+name            libsdl_sound-framework
+version         1.0.1
+categories      audio devel
 platforms		macosx
-homepage		http://icculus.org/SDL_sound/
-master_sites		http://icculus.org/SDL_sound/downloads/
-distname		SDL_sound-${version}
-dist_subdir             libsdl_sound
-checksums		md5 49e197ef7c8ab623d0640dc74be43160
-depends_lib		port:libsdl-framework \
-			port:libsdl_sound
+maintainers     nox
+description     handles decoding of several popular sound file formats
 
-depends_build		bin:glibtoolize:libtool \
-			bin:automake:automake \
-			bin:autoconf:autoconf
+long_description
+    SDL_sound is a library that handles the decoding of several popular sound \
+    file formats, such as .WAV and .MP3. It is meant to make the programmer's sound \
+    playback tasks simpler.
 
-patchfiles		patch-acinclude.m4
+homepage        http://icculus.org/SDL_sound/
+master_sites    http://icculus.org/SDL_sound/downloads/
+distname        SDL_sound-${version}
+dist_subdir     libsdl_sound
 
+checksums       md5 49e197ef7c8ab623d0640dc74be43160
+
+depends_lib     port:libsdl-framework \
+                port:libsdl_sound
+
+depends_build   bin:glibtoolize:libtool \
+                bin:automake:automake \
+                bin:autoconf:autoconf
+
+patchfiles      patch-acinclude.m4
+
+configure.args  --disable-sdltest \
+                --disable-smpegtest
+
 pre-configure {
-	ui_info "Initial preparation...this can take awhile, so sit tight..."
-	system "cd ${worksrcpath} && aclocal"
-	system "cd ${worksrcpath} && glibtoolize --automake --copy --force"
-	system "cd ${worksrcpath} && autoheader"
-	system "cd ${worksrcpath} && automake --foreign --add-missing --copy"
-	system "cd ${worksrcpath} && autoconf"
-	ui_info "Ready to run ./configure ..."
+    ui_info "Initial preparation...this can take awhile, so sit tight..."
+
+    system "cd ${worksrcpath} && aclocal"
+    system "cd ${worksrcpath} && glibtoolize --automake --copy --force"
+    system "cd ${worksrcpath} && autoheader"
+    system "cd ${worksrcpath} && automake --foreign --add-missing --copy"
+    system "cd ${worksrcpath} && autoconf"
+
+    ui_info "Ready to run ./configure ..."
 }
-configure.args	--disable-sdltest \
-		--disable-smpegtest
 
 set buildindir build
 
 platform darwin 8 {
-if {$xcodeversion == "2.1"} {
-  set buildindir build/Deployment
-  patchfiles patch-acinclude.m4.xcode21 patch-aclocal.m4.xcode21 patch-configure.xcode21
-  }
+    if {$xcodeversion == "2.1"} {
+        set buildindir build/Deployment
+        patchfiles patch-acinclude.m4.xcode21 patch-aclocal.m4.xcode21 patch-configure.xcode21
+    }
 }
 
-set pbx	"${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj"
+set pbx "${worksrcpath}/PBProjects/SDL_sound.pbproj/project.pbxproj"
 
 post-extract {
-	system "cd ${worksrcpath} && tar -xvzf PBProjects.tar.gz"
+    system "cd ${worksrcpath} && tar -xvzf PBProjects.tar.gz"
 }
 
 post-patch {
-	reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbx}
-	reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbx}
-	reinplace "s|\$HOME/Library/Frameworks|/Library/Frameworks|g" ${pbx}
-	reinplace "s|vorbis/include|$prefix/include/vorbis|g" ${pbx}
-	reinplace "s|vorbis/lib|$prefix/lib|g" ${pbx}
-	reinplace "s|mikmod/include|$prefix/include|g" ${pbx}
-	reinplace "s|mikmod/lib|$prefix/lib|g" ${pbx}
-        reinplace "s|build/SDL_sound.framework|${buildindir}/SDL_sound.framework|g" ${pbx}
+    reinplace "s|~/Library/Frameworks|./build/Frameworks|g" ${pbx}
+    reinplace "s|\$(HOME)/Library/Frameworks|/Library/Frameworks|g" ${pbx}
+    reinplace "s|\$HOME/Library/Frameworks|/Library/Frameworks|g" ${pbx}
+    reinplace "s|vorbis/include|$prefix/include/vorbis|g" ${pbx}
+    reinplace "s|vorbis/lib|$prefix/lib|g" ${pbx}
+    reinplace "s|mikmod/include|$prefix/include|g" ${pbx}
+    reinplace "s|mikmod/lib|$prefix/lib|g" ${pbx}
+    reinplace "s|build/SDL_sound.framework|${buildindir}/SDL_sound.framework|g" ${pbx}
 }
 
-build.dir	"${worksrcpath}/PBProjects"
-build.type	pbx
-build.target	-buildstyle Deployment -target Framework
+build.dir       "${worksrcpath}/PBProjects"
+build.type      pbx
+build.target    -buildstyle Deployment -target Framework
 
 post-build {
-	cd ${worksrcpath}/PBProjects
-	system "install_name_tool -id /Library/Frameworks/SDL_sound.framework/SDL_sound \
-		build/Frameworks/SDL_sound.framework/SDL_sound"
+    cd ${worksrcpath}/PBProjects
+    system "install_name_tool -id /Library/Frameworks/SDL_sound.framework/SDL_sound \
+        build/Frameworks/SDL_sound.framework/SDL_sound"
 }
 
 destroot {
-	cd "${worksrcpath}/PBProjects/build/Frameworks"
-	xinstall -d -m 0755 ${destroot}/Library/Frameworks
-	system "cp -R SDL_sound.framework ${destroot}/Library/Frameworks"
+    cd "${worksrcpath}/PBProjects/build/Frameworks"
+    xinstall -d -m 0755 ${destroot}/Library/Frameworks
+    system "cp -R SDL_sound.framework ${destroot}/Library/Frameworks"
 }
 
 platform darwin 6 {
-	depends_lib-append	lib:libdl:dlcompat
+    depends_lib-append	lib:libdl:dlcompat
 }
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070912/e6ffc303/attachment.html


More information about the macports-changes mailing list