[28883] trunk/dports/devel/libsdl/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 10 11:44:19 PDT 2007


Revision: 28883
          http://trac.macosforge.org/projects/macports/changeset/28883
Author:   nox at macports.org
Date:     2007-09-10 11:44:19 -0700 (Mon, 10 Sep 2007)

Log Message:
-----------
libsdl: Whitespace changes.

Modified Paths:
--------------
    trunk/dports/devel/libsdl/Portfile

Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile	2007-09-10 17:21:47 UTC (rev 28882)
+++ trunk/dports/devel/libsdl/Portfile	2007-09-10 18:44:19 UTC (rev 28883)
@@ -1,58 +1,61 @@
 # $Id$
 
-PortSystem 1.0
-name			libsdl
-set my_name		SDL
-version			1.2.12
-categories		devel multimedia
-maintainers		nox openmaintainer
-description		Cross-platform multi-media development API
-long_description	Simple DirectMedia Layer is a cross-platform \
-			multimedia library designed to provide fast access \
-			to the graphics framebuffer and audio device. It is \
-			used by MPEG playback software, emulators, and many \
-			popular games, including the award winning Linux \
-			port of \"Civilization: Call To Power.\" Simple \
-			DirectMedia Layer supports Linux, Win32, BeOS, \
-			Mac OS, Solaris, IRIX, and FreeBSD.
+PortSystem      1.0
+
+name            libsdl
+set my_name     SDL
+version         1.2.12
+categories      devel multimedia
 platforms		macosx freebsd
+maintainers     nox openmaintainer
+description     Cross-platform multi-media development API
+
+long_description \
+    Simple DirectMedia Layer is a cross-platform multimedia library designed \
+    to provide fast access to the graphics framebuffer and audio device. It is \
+	used by MPEG playback software, emulators, and many popular games, including \
+    the award winning Linux port of \"Civilization: Call To Power.\" Simple \
+    DirectMedia Layer supports Linux, Win32, BeOS, Mac OS, Solaris, IRIX, and FreeBSD.
+
 homepage        http://www.libsdl.org/
-master_sites		${homepage}release/
-distname		${my_name}-${version}
-checksums		md5 544b4554986e51eed6d34435cf9c5f3f \
+master_sites    ${homepage}release/
+distname        ${my_name}-${version}
+
+checksums       md5 544b4554986e51eed6d34435cf9c5f3f \
                 sha1 2c37ff1683368369c0f555d4a742f0544153610d \
                 rmd160 3871023c63ea056eba43ce4f55ee8d3a73ff3022
+
 depends_lib		lib:libX11.6:XFree86
 
-configure.args	--enable-shared \
-			--mandir=${prefix}/share/man
+configure.args  --enable-shared \
+                --mandir=${prefix}/share/man
 
-set docdir ${prefix}/share/doc/${name}-${version}
+set docdir      ${prefix}/share/doc/${name}-${version}
 
-post-destroot	{
-	xinstall -m 0755 -d ${destroot}${docdir}/html
+post-destroot {
+    xinstall -m 0755 -d ${destroot}${docdir}/html
 
-	xinstall -m 0644 -W ${worksrcpath} BUGS COPYING CREDITS INSTALL README README-SDL.txt \
+    xinstall -m 0644 -W ${worksrcpath} BUGS COPYING CREDITS INSTALL README README-SDL.txt \
         README.MacOSX TODO ${destroot}${docdir}
 
-	xinstall -m 0644 -W ${worksrcpath} docs.html docs/index.html ${destroot}${docdir}/html
-	reinplace {s at docs/@@g} ${destroot}${docdir}/html/docs.html    
+    xinstall -m 0644 -W ${worksrcpath} docs.html docs/index.html ${destroot}${docdir}/html
+    reinplace {s at docs/@@g} ${destroot}${docdir}/html/docs.html    
 
-	foreach {dir} {html images} {
-		xinstall -m 0755 -d ${destroot}${docdir}/html/${dir}
-		eval xinstall -m 0644 [glob ${worksrcpath}/docs/${dir}/*] ${destroot}${docdir}/html/${dir}
-	}
+    foreach {dir} {html images} {
+        xinstall -m 0755 -d ${destroot}${docdir}/html/${dir}
+        eval xinstall -m 0644 [glob ${worksrcpath}/docs/${dir}/*] ${destroot}${docdir}/html/${dir}
+    }
 }
 
 platform darwin 7 {
-	pre-fetch {
+    pre-fetch {
         set qt_header [open /System/Library/Frameworks/QuickTime.framework/Headers/QuickTime.h r]
 
         while {[gets $qt_header line] != -1} {
-			if {[regexp {Version:} $line]} {
+            if {[regexp {Version:} $line]} {
                 regexp {(\d+)\.(\d+)(?:\.(\d+))?$} $line qt_ver qt_maj qt_min qt_rev
 
-		if {$qt_maj > 7 || $qt_min > 0 || $qt_rev > 3} {
+                if {$qt_maj > 7 || $qt_min > 0 || $qt_rev > 3} {
                     ui_error ""
                     ui_error "Installation of libSDL is exiting because it believes you have"
                     ui_error "QuickTime version ${qt_ver} installed."
@@ -64,7 +67,7 @@
                     ui_error "receiving this error message, you can report the problem here:"
                     ui_error "http://trac.macports.org/projects/macports/ticket/6533"
 
-					return -code 1 "${name} cannot build on Panther with QuickTime 7.0.4 or later."
+                    return -code 1 "${name} cannot build on Panther with QuickTime 7.0.4 or later."
                 }
 
                 break
@@ -82,9 +85,10 @@
 }
 
 platform darwin 9 {
-	patchfiles-append patch-AudioFilePlayer.h patch-SDL_coreaudio.c
+    patchfiles-append patch-AudioFilePlayer.h patch-SDL_coreaudio.c
 }
 
-livecheck.check	regex
-livecheck.url	${homepage}download.php
-livecheck.regex	"${my_name}-(\\d+(?:\\.\\d+)*)"
+livecheck.check regex
+livecheck.url   ${homepage}download.php
+livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
+

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


More information about the macports-changes mailing list