[83373] trunk/dports/games/tuxtype

ryandesign at macports.org ryandesign at macports.org
Tue Aug 30 14:30:07 PDT 2011


Revision: 83373
          http://trac.macports.org/changeset/83373
Author:   ryandesign at macports.org
Date:     2011-08-30 14:30:07 -0700 (Tue, 30 Aug 2011)
Log Message:
-----------
tuxtype: use app portgroup, add app icon; see #31018

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

Added Paths:
-----------
    trunk/dports/games/tuxtype/files/
    trunk/dports/games/tuxtype/files/patch-src-setup.c.diff

Modified: trunk/dports/games/tuxtype/Portfile
===================================================================
--- trunk/dports/games/tuxtype/Portfile	2011-08-30 20:43:51 UTC (rev 83372)
+++ trunk/dports/games/tuxtype/Portfile	2011-08-30 21:30:07 UTC (rev 83373)
@@ -3,10 +3,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           app 1.0
 
 name                tuxtype
 version             1.7.4
-revision            0
+revision            1
 categories          games education
 platforms           darwin
 maintainers         gmail.com:davidstuartbruce
@@ -44,9 +45,9 @@
         --with-sdlpango
 }
 
-platform darwin	{
-    post-destroot {
-        xinstall -m 755 -d ${destroot}${applications_dir}/TuxType.app/Contents/MacOS
-        ln -s ${prefix}/bin/tuxtype ${destroot}${applications_dir}/TuxType.app/Contents/MacOS/TuxType
-    }
+platform macosx {
+    patchfiles-append patch-src-setup.c.diff
 }
+
+app.name            TuxType
+app.icon            data/images/icons/icon.png

Added: trunk/dports/games/tuxtype/files/patch-src-setup.c.diff
===================================================================
--- trunk/dports/games/tuxtype/files/patch-src-setup.c.diff	                        (rev 0)
+++ trunk/dports/games/tuxtype/files/patch-src-setup.c.diff	2011-08-30 21:30:07 UTC (rev 83373)
@@ -0,0 +1,10 @@
+--- src/setup.c.orig	2009-03-05 15:49:26.000000000 -0600
++++ src/setup.c	2011-08-29 05:11:48.000000000 -0500
+@@ -39,7 +39,6 @@
+   Uint32 surface_mode = 0;
+ 
+   //Set application's icon:
+-  seticon();
+   //Set caption:
+   SDL_WM_SetCaption("Tux Typing", "TuxType");
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110830/95bb64b0/attachment.html>


More information about the macports-changes mailing list