Ticket #31015: supertux.diff

File supertux.diff, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • files/patch-src_setup.cpp

     
     1--- src/setup.cpp.orig  2005-07-08 07:19:17.000000000 -0500
     2+++ src/setup.cpp       2011-08-29 04:08:20.000000000 -0500
     3@@ -578,7 +578,6 @@
     4 
     5   /* Set icon image: */
     6 
     7-  seticon();
     8 
     9   /* Unicode needed for input handling: */
     10 
  • Portfile

    Property changes on: files/patch-src_setup.cpp
    ___________________________________________________________________
    Added: svn:eol-style
       + native
    
     
    11# $Id$
    22
    33PortSystem 1.0
     4PortGroup       app 1.0
    45
    56name            supertux
    67version         0.1.3
     8revision        1
    79categories      games
    810platforms       darwin
    911maintainers     freebsd.org:adamw
     12license         GPL-2+
     13
    1014description     classic 2D jump and run sidescroller SuperMario clone
    1115long_description        SuperTux is a classic 2D jump and run sidescroller \
    1216                        game in a similar style like the original SuperMario \
     
    2024patchfiles      patch-src_menu.h \
    2125                patch-src_texture.h
    2226
    23 depends_lib     bin:sdl-config:libsdl \
    24                 lib:libmikmod:libmikmod \
    25                 lib:libSDL_mixer:libsdl_mixer \
    26                 lib:libSDL_image:libsdl_image
     27depends_lib     path:lib/pkgconfig/sdl.pc:libsdl \
     28                port:libmikmod \
     29                port:libsdl_mixer \
     30                port:libsdl_image
    2731
    2832configure.args  --disable-sdltest
    2933
    3034platform darwin {
     35        patchfiles-append       patch-src_setup.cpp
    3136        configure.args-append   --with-apple-opengl-framework
    32         post-destroot   {
    33                 xinstall -d -m 755 ${destroot}/Applications/MacPorts/SuperTux.app/Contents/MacOS
    34                 system "ln -sf ${prefix}/bin/supertux \
    35                         ${destroot}/Applications/MacPorts/SuperTux.app/Contents/MacOS/SuperTux"
    36         }
    3737}
     38
     39app.name        SuperTux
     40app.icon        supertux.png