[83337] trunk/dports/games/supertux

ryandesign at macports.org ryandesign at macports.org
Mon Aug 29 18:44:45 PDT 2011


Revision: 83337
          http://trac.macports.org/changeset/83337
Author:   ryandesign at macports.org
Date:     2011-08-29 18:44:45 -0700 (Mon, 29 Aug 2011)
Log Message:
-----------
supertux: use app portgroup, add app icon, indicate license; see #31015

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

Added Paths:
-----------
    trunk/dports/games/supertux/files/patch-src_setup.cpp

Modified: trunk/dports/games/supertux/Portfile
===================================================================
--- trunk/dports/games/supertux/Portfile	2011-08-30 01:42:24 UTC (rev 83336)
+++ trunk/dports/games/supertux/Portfile	2011-08-30 01:44:45 UTC (rev 83337)
@@ -1,12 +1,16 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup	app 1.0
 
 name		supertux
 version		0.1.3
+revision	1
 categories	games
 platforms	darwin
 maintainers	freebsd.org:adamw
+license		GPL-2+
+
 description	classic 2D jump and run sidescroller SuperMario clone
 long_description	SuperTux is a classic 2D jump and run sidescroller \
 			game in a similar style like the original SuperMario \
@@ -28,10 +32,9 @@
 configure.args	--disable-sdltest
 
 platform darwin	{
+	patchfiles-append	patch-src_setup.cpp
 	configure.args-append	--with-apple-opengl-framework
-	post-destroot	{
-		xinstall -d -m 755 ${destroot}/Applications/MacPorts/SuperTux.app/Contents/MacOS
-		system "ln -sf ${prefix}/bin/supertux \
-			${destroot}/Applications/MacPorts/SuperTux.app/Contents/MacOS/SuperTux"
-	}
 }
+
+app.name	SuperTux
+app.icon	supertux.png

Added: trunk/dports/games/supertux/files/patch-src_setup.cpp
===================================================================
--- trunk/dports/games/supertux/files/patch-src_setup.cpp	                        (rev 0)
+++ trunk/dports/games/supertux/files/patch-src_setup.cpp	2011-08-30 01:44:45 UTC (rev 83337)
@@ -0,0 +1,10 @@
+--- src/setup.cpp.orig	2005-07-08 07:19:17.000000000 -0500
++++ src/setup.cpp	2011-08-29 04:08:20.000000000 -0500
+@@ -578,7 +578,6 @@
+ 
+   /* Set icon image: */
+ 
+-  seticon();
+ 
+   /* Unicode needed for input handling: */
+ 


Property changes on: trunk/dports/games/supertux/files/patch-src_setup.cpp
___________________________________________________________________
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110829/3487762a/attachment.html>


More information about the macports-changes mailing list