Modified: trunk/dports/games/tuxtype/Portfile (83372 => 83373)
--- 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 (0 => 83373)
--- 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");
+