[83023] trunk/dports/games/SDLInvaders/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Aug 23 15:52:14 PDT 2011


Revision: 83023
          http://trac.macports.org/changeset/83023
Author:   ryandesign at macports.org
Date:     2011-08-23 15:52:13 -0700 (Tue, 23 Aug 2011)
Log Message:
-----------
SDLInvaders: use app portgroup

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

Modified: trunk/dports/games/SDLInvaders/Portfile
===================================================================
--- trunk/dports/games/SDLInvaders/Portfile	2011-08-23 22:38:56 UTC (rev 83022)
+++ trunk/dports/games/SDLInvaders/Portfile	2011-08-23 22:52:13 UTC (rev 83023)
@@ -2,9 +2,11 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               app 1.0
 
 name                    SDLInvaders
 version                 0.8.0
+revision                1
 categories              games
 platforms               darwin
 maintainers             nomaintainer
@@ -27,13 +29,8 @@
 
 configure.args          --disable-sdltest
 
-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
-    }
+post-destroot {
+    file attributes ${destroot}${prefix}/share/SDLInvaders/highscores -permissions +w
 }
+
+app.identifier          net.sourceforge.sdlinvaders.${app.name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110823/3bd21e80/attachment.html>


More information about the macports-changes mailing list