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

nox at macports.org nox at macports.org
Sat Apr 18 06:57:06 PDT 2009


Revision: 49821
          http://trac.macports.org/changeset/49821
Author:   nox at macports.org
Date:     2009-04-18 06:57:04 -0700 (Sat, 18 Apr 2009)
Log Message:
-----------
libsdl: Whitespace changes.

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

Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile	2009-04-18 13:54:57 UTC (rev 49820)
+++ trunk/dports/devel/libsdl/Portfile	2009-04-18 13:57:04 UTC (rev 49821)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem      1.0
@@ -27,9 +28,9 @@
                 rmd160 ed8825fc98f4b3759cf9e5cf8357d71c50df9925
 
 depends_lib \
-	port:xorg-libXext \
-	port:xorg-libXrandr \
-	port:xrender
+    port:xorg-libXext \
+    port:xorg-libXrandr \
+    port:xrender
 
 patchfiles      patch-SDL_x11gl_c.h.diff
 
@@ -49,26 +50,26 @@
 set docdir      ${prefix}/share/doc/${name}-${version}
 
 post-configure {
-	set sdl_config_h "${worksrcpath}/include/SDL_config.h"
+    set sdl_config_h "${worksrcpath}/include/SDL_config.h"
 
-	if {[file exists "${prefix}/lib/libX11.6.dylib"]} {
-		reinplace "/libX11.6.dylib/s|\".*\"|\"${prefix}/lib/libX11.6.dylib\"|" ${sdl_config_h}
-	}
+    if {[file exists "${prefix}/lib/libX11.6.dylib"]} {
+        reinplace "/libX11.6.dylib/s|\".*\"|\"${prefix}/lib/libX11.6.dylib\"|" ${sdl_config_h}
+    }
 
-	if {[file exists "${prefix}/lib/libXext.6.dylib"]} {
-		reinplace "/libXext.6.dylib/s|\".*\"|\"${prefix}/lib/libXext.6.dylib\"|" ${sdl_config_h}
-	}
+    if {[file exists "${prefix}/lib/libXext.6.dylib"]} {
+        reinplace "/libXext.6.dylib/s|\".*\"|\"${prefix}/lib/libXext.6.dylib\"|" ${sdl_config_h}
+    }
 
-	if {[file exists "${prefix}/lib/libXrandr.2.dylib"]} {
-		reinplace "/libXrandr.2.dylib/s|\".*\"|\"${prefix}/lib/libXrandr.2.dylib\"|" ${sdl_config_h}
-	}
+    if {[file exists "${prefix}/lib/libXrandr.2.dylib"]} {
+        reinplace "/libXrandr.2.dylib/s|\".*\"|\"${prefix}/lib/libXrandr.2.dylib\"|" ${sdl_config_h}
+    }
 
-	if {[file exists "${prefix}/lib/libXrender.1.dylib"]} {
-		reinplace "/libXrender.1.dylib/s|\".*\"|\"${prefix}/lib/libXrender.1.dylib\"|" ${sdl_config_h}
-	}
+    if {[file exists "${prefix}/lib/libXrender.1.dylib"]} {
+        reinplace "/libXrender.1.dylib/s|\".*\"|\"${prefix}/lib/libXrender.1.dylib\"|" ${sdl_config_h}
+    }
 
-	# For universal, let SDL_endian.h figure out our endianness at compile time
-	reinplace "/SDL_BYTEORDER/d" ${sdl_config_h}
+    # For universal, let SDL_endian.h figure out our endianness at compile time
+    reinplace "/SDL_BYTEORDER/d" ${sdl_config_h}
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090418/8b2f2c65/attachment.html>


More information about the macports-changes mailing list