[82983] trunk/dports/games/atanks/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 22 20:54:44 PDT 2011


Revision: 82983
          http://trac.macports.org/changeset/82983
Author:   ryandesign at macports.org
Date:     2011-08-22 20:54:44 -0700 (Mon, 22 Aug 2011)
Log Message:
-----------
atanks: use app portgroup, add app icon

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

Modified: trunk/dports/games/atanks/Portfile
===================================================================
--- trunk/dports/games/atanks/Portfile	2011-08-23 03:52:46 UTC (rev 82982)
+++ trunk/dports/games/atanks/Portfile	2011-08-23 03:54:44 UTC (rev 82983)
@@ -1,9 +1,11 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               app 1.0
 
 name                    atanks
 version                 5.1
+revision                1
 categories              games
 platforms               darwin
 # allegro is 32-bit only
@@ -43,13 +45,11 @@
 
 platform darwin {
     build.target        osx
-    post-destroot {
-        xinstall -d ${destroot}${applications_dir}/ATanks.app/Contents/MacOS
-        ln -s ${prefix}/bin/atanks \
-            ${destroot}${applications_dir}/ATanks.app/Contents/MacOS/ATanks
-    }
 }
 
+app.name                ATanks
+app.icon                atanks.png
+
 livecheck.type          regex
 livecheck.url           https://sourceforge.net/projects/atanks/files/
 livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110822/80f668a5/attachment.html>


More information about the macports-changes mailing list