[82703] trunk/dports/games/ship84/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Aug 18 12:04:25 PDT 2011


Revision: 82703
          http://trac.macports.org/changeset/82703
Author:   ryandesign at macports.org
Date:     2011-08-18 12:04:25 -0700 (Thu, 18 Aug 2011)
Log Message:
-----------
ship84: whitespace changes; add modeline

Modified Paths:
--------------
    trunk/dports/games/ship84/Portfile

Modified: trunk/dports/games/ship84/Portfile
===================================================================
--- trunk/dports/games/ship84/Portfile	2011-08-18 19:01:59 UTC (rev 82702)
+++ trunk/dports/games/ship84/Portfile	2011-08-18 19:04:25 UTC (rev 82703)
@@ -1,55 +1,62 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name		ship84
-version		1.3.3.7
-revision	1
-categories	games
-platforms	darwin
-maintainers	nomaintainer
-description	space invaders clone using SDL
-long_description	The Angryfez Army and their minions have pointed the \
-			ultimate battle at earth! Only Happyfez can save the \
-			day!
+name                ship84
+version             1.3.3.7
+revision            1
+categories          games
+platforms           darwin
+maintainers         nomaintainer
 
+description         space invaders clone using SDL
+
+long_description    The Angryfez Army and their minions have pointed the \
+                    ultimate battle at earth! Only Happyfez can save the \
+                    day!
+
 homepage            http://sourceforge.net/projects/ship84/
 master_sites        sourceforge:project/ship84/Shippy1984%20UNIX/Shippy1984%20v${version}
 
-distname	shipv${version}UNIX
-use_zip		yes
-checksums	md5 06df2ae060fe4a076d7fa17a57205348
-patchfiles	patch-GNUmakefile.diff \
-		patch-shipsdl.c.diff \
-		patch-shippy.c.diff
+distname            shipv${version}UNIX
+use_zip             yes
 
-depends_lib	bin:sdl-config:libsdl \
-		lib:libSDL_mixer:libsdl_mixer
+checksums           md5     06df2ae060fe4a076d7fa17a57205348
 
-set worksrcpath	${workpath}
+patchfiles          patch-GNUmakefile.diff \
+                    patch-shipsdl.c.diff \
+                    patch-shippy.c.diff
 
-configure	{
-	reinplace "s|data/|${prefix}/share/games/${name}/|g" \
-		${worksrcpath}/shipall.c \
-		${worksrcpath}/shippy.c \
-		${worksrcpath}/shipsdl.c
+depends_lib         bin:sdl-config:libsdl \
+                    lib:libSDL_mixer:libsdl_mixer
+
+set worksrcpath     ${workpath}
+
+configure {
+    reinplace "s|data/|${prefix}/share/games/${name}/|g" \
+        ${worksrcpath}/shipall.c \
+        ${worksrcpath}/shippy.c \
+        ${worksrcpath}/shipsdl.c
 }
-build.dir	${workpath}
-build.type	gnu
-build.args	-f GNUmakefile
 
-destroot	{
-	xinstall -m 755 -d ${destroot}${prefix}/bin \
-		${destroot}${prefix}/share/games
-	xinstall -m 755 -s ${worksrcpath}/shippy ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/data ${destroot}${prefix}/share/games/${name}
+build.dir           ${workpath}
+build.type          gnu
+build.args          -f GNUmakefile
+
+destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/bin \
+        ${destroot}${prefix}/share/games
+    xinstall -m 755 -s ${worksrcpath}/shippy ${destroot}${prefix}/bin
+    file copy ${worksrcpath}/data ${destroot}${prefix}/share/games/${name}
 }
+
 platform darwin {
-	post-destroot {
-		xinstall -d -m 755 ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS
-		system "ln -sf ${prefix}/bin/shippy \
-			${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS/Ship84"
-	}
+    post-destroot {
+        xinstall -d -m 755 ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS
+        system "ln -sf ${prefix}/bin/shippy \
+            ${destroot}/Applications/MacPorts/Ship84.app/Contents/MacOS/Ship84"
+    }
 }
 
 livecheck.type      sourceforge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110818/f60cda93/attachment.html>


More information about the macports-changes mailing list