[37159] trunk/dports/games/criticalmass/Portfile
jmr at macports.org
jmr at macports.org
Wed May 28 03:34:10 PDT 2008
Revision: 37159
http://trac.macosforge.org/projects/macports/changeset/37159
Author: jmr at macports.org
Date: 2008-05-28 03:34:08 -0700 (Wed, 28 May 2008)
Log Message:
-----------
criticalmass: add modeline, detab
Modified Paths:
--------------
trunk/dports/games/criticalmass/Portfile
Modified: trunk/dports/games/criticalmass/Portfile
===================================================================
--- trunk/dports/games/criticalmass/Portfile 2008-05-28 09:38:21 UTC (rev 37158)
+++ trunk/dports/games/criticalmass/Portfile 2008-05-28 10:34:08 UTC (rev 37159)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -2,40 +3,40 @@
-name criticalmass
-version 0.9.11
-categories games
-platforms darwin
-maintainers nomaintainer
-description Critical Mass is an SDL/OpenGL space shoot'em up game.
-long_description ${description}
+name criticalmass
+version 0.9.11
+categories games
+platforms darwin
+maintainers nomaintainer
+description Critical Mass is an SDL/OpenGL space shoot'em up game.
+long_description ${description}
-homepage http://criticalmass.sourceforge.net/critter.php
-master_sites sourceforge:criticalmass
-distname CriticalMass-${version}
-checksums md5 80a70f8e5cbdcfe8eedf49f91b093b2d
-use_bzip2 yes
+homepage http://criticalmass.sourceforge.net/critter.php
+master_sites sourceforge:criticalmass
+distname CriticalMass-${version}
+checksums md5 80a70f8e5cbdcfe8eedf49f91b093b2d
+use_bzip2 yes
-depends_lib bin:sdl-config:libsdl \
- lib:libSDL_mixer:libsdl_mixer \
- lib:libSDL_image:libsdl_image \
- lib:libpng:libpng \
- lib:libz:zlib
+depends_lib bin:sdl-config:libsdl \
+ lib:libSDL_mixer:libsdl_mixer \
+ lib:libSDL_image:libsdl_image \
+ lib:libpng:libpng \
+ lib:libz:zlib
post-patch {
- reinplace "s|/Contents/Resources/|/../share/${name}/|g" \
- ${worksrcpath}/game/Makefile.in
+ reinplace "s|/Contents/Resources/|/../share/${name}/|g" \
+ ${worksrcpath}/game/Makefile.in
}
-configure.args --mandir=${prefix}/share/man
+configure.args --mandir=${prefix}/share/man
post-configure {
- reinplace "s|-I${prefix}/include/SDL|-I${prefix}/include -I${prefix}/include/SDL|g" \
- ${worksrcpath}/game/Makefile \
- ${worksrcpath}/utilssdl/Makefile \
- ${worksrcpath}/utilsgl/Makefile
+ reinplace "s|-I${prefix}/include/SDL|-I${prefix}/include -I${prefix}/include/SDL|g" \
+ ${worksrcpath}/game/Makefile \
+ ${worksrcpath}/utilssdl/Makefile \
+ ${worksrcpath}/utilsgl/Makefile
}
post-destroot {
- cd ${destroot}${prefix}/share
- file rename Critical_Mass ${name}
- set dest ${destroot}${prefix}/Applications/MacPorts/CriticalMass.app/Contents/MacOS
- xinstall -m 755 -d ${dest}
- system "ln -sf ${prefix}/bin/critter ${dest}/CriticalMass"
+ cd ${destroot}${prefix}/share
+ file rename Critical_Mass ${name}
+ set dest ${destroot}${prefix}/Applications/MacPorts/CriticalMass.app/Contents/MacOS
+ xinstall -m 755 -d ${dest}
+ system "ln -sf ${prefix}/bin/critter ${dest}/CriticalMass"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080528/657241bb/attachment.htm
More information about the macports-changes
mailing list