Modified: trunk/dports/games/SDLInvaders/Portfile (38839 => 38840)
--- trunk/dports/games/SDLInvaders/Portfile 2008-08-01 09:20:41 UTC (rev 38839)
+++ trunk/dports/games/SDLInvaders/Portfile 2008-08-01 09:22:58 UTC (rev 38840)
@@ -1,38 +1,40 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name SDLInvaders
-version 0.8.0
-categories games
-platforms darwin
-maintainers nomaintainer
-description simple clone of the famous Space Invaders game.
-long_description ${description}
+name SDLInvaders
+version 0.8.0
+categories games
+platforms darwin
+maintainers nomaintainer
+description simple clone of the famous Space Invaders game.
+long_description ${description}
+
# no better homepage available, sf.net only has outdated versions
-homepage http://sourceforge.net/projects/sdlinvaders
-master_sites http://csnlinux.genesee.edu/opsys/downloads/software-lesson/
-checksums md5 f3fbca07eb05acfae23d2d554a0f1375
+homepage http://sourceforge.net/projects/sdlinvaders
+master_sites http://csnlinux.genesee.edu/opsys/downloads/software-lesson/
-depends_lib port:libsdl \
- port:libsdl_image \
- port:libsdl_mixer
+checksums md5 f3fbca07eb05acfae23d2d554a0f1375
-configure.args --disable-sdltest
+depends_lib port:libsdl \
+ port:libsdl_image \
+ port:libsdl_mixer
+configure.args --disable-sdltest
+
# Can be removed once MacPorts 1.7.0 is released
if {![info exists applications_dir]} {
set applications_dir /Applications/MacPorts
}
-platform darwin {
- post-destroot {
- file attributes \
- ${destroot}${prefix}/share/SDLInvaders/highscores \
- -permissions +w
- xinstall -d ${destroot}${applications_dir}/${name}.app/Contents/MacOS
- ln -s ${prefix}/bin/${name} \
- ${destroot}${applications_dir}/${name}.app/Contents/MacOS
- }
+platform darwin {
+ post-destroot {
+ file attributes \
+ ${destroot}${prefix}/share/SDLInvaders/highscores \
+ -permissions +w
+ xinstall -d ${destroot}${applications_dir}/${name}.app/Contents/MacOS
+ ln -s ${prefix}/bin/${name} \
+ ${destroot}${applications_dir}/${name}.app/Contents/MacOS
+ }
}