[84032] trunk/dports/games/lmarbles
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 15 05:12:21 PDT 2011
Revision: 84032
http://trac.macports.org/changeset/84032
Author: ryandesign at macports.org
Date: 2011-09-15 05:12:21 -0700 (Thu, 15 Sep 2011)
Log Message:
-----------
lmarbles: update to 1.0.8; indicate license; rewrite master_sites to avoid redirects; add app icon; use app portgroup
Modified Paths:
--------------
trunk/dports/games/lmarbles/Portfile
Added Paths:
-----------
trunk/dports/games/lmarbles/files/
trunk/dports/games/lmarbles/files/patch-src-sdl.c.diff
Modified: trunk/dports/games/lmarbles/Portfile
===================================================================
--- trunk/dports/games/lmarbles/Portfile 2011-09-15 11:56:21 UTC (rev 84031)
+++ trunk/dports/games/lmarbles/Portfile 2011-09-15 12:12:21 UTC (rev 84032)
@@ -1,12 +1,14 @@
# $Id$
PortSystem 1.0
+PortGroup app 1.0
name lmarbles
-version 1.0.7
+version 1.0.8
categories games
platforms darwin
maintainers nomaintainer
+license GPL-2+
description Atomix clone with slight change in concept.
long_description LMarbles is an Atomix clone with a slight change in \
@@ -21,22 +23,20 @@
as much time as you need to think.
homepage http://lgames.sourceforge.net/index.php?project=LMarbles
-master_sites sourceforge:lgames
+master_sites sourceforge:project/lgames/lmarbles
-checksums md5 b29156bc5021877d080e5e268012f4ec
+checksums rmd160 cc77687efa88cecb2aabf2385eb6cb6a6dd71a9c \
+ sha256 0e5a16a0116d325589b28f3555ced6a0b486f0fd7632cd3d98bee5cddf213e83
depends_lib path:lib/pkgconfig/sdl.pc:libsdl \
port:libsdl_mixer
+patchfiles patch-src-sdl.c.diff
+
configure.args --mandir=${prefix}/share/man \
--enable-ascii \
--with-profile-path=${prefix}/var/lib/games/ \
--disable-sdltest
-platform darwin {
- pre-destroot {
- xinstall -d ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS
- ln -s ${prefix}/bin/lmarbles \
- ${destroot}${applications_dir}/LMarbles.app/Contents/MacOS/LMarbles
- }
-}
+app.name LMarbles
+app.icon lmarbles48.gif
Added: trunk/dports/games/lmarbles/files/patch-src-sdl.c.diff
===================================================================
--- trunk/dports/games/lmarbles/files/patch-src-sdl.c.diff (rev 0)
+++ trunk/dports/games/lmarbles/files/patch-src-sdl.c.diff 2011-09-15 12:12:21 UTC (rev 84032)
@@ -0,0 +1,10 @@
+--- src/sdl.c.orig 2002-08-07 21:37:50.000000000 -0500
++++ src/sdl.c 2011-09-15 07:07:16.000000000 -0500
+@@ -389,7 +389,6 @@
+ SDL_Surface *icon;
+ if ((icon = SDL_LoadBMP(SRC_DIR "/gfx/win_icon.bmp")) != NULL) {
+ SDL_SetColorKey(icon, SDL_SRCCOLORKEY, SDL_MapRGB(icon->format,255,255,255));
+- SDL_WM_SetIcon(icon, NULL);
+ }
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110915/819d4a30/attachment.html>
More information about the macports-changes
mailing list