[84034] trunk/dports/games/lbreakout2
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 15 05:37:25 PDT 2011
Revision: 84034
http://trac.macports.org/changeset/84034
Author: ryandesign at macports.org
Date: 2011-09-15 05:37:23 -0700 (Thu, 15 Sep 2011)
Log Message:
-----------
lbreakout2: update to 2.6.3; indicate license; rewrite master_sites to avoid redirects; add app icon; use app portgroup
Modified Paths:
--------------
trunk/dports/games/lbreakout2/Portfile
trunk/dports/games/lbreakout2/files/patch-client_Makefile.in.diff
trunk/dports/games/lbreakout2/files/patch-server_Makefile.in.diff
Added Paths:
-----------
trunk/dports/games/lbreakout2/files/patch-gui-stk.c.diff
Modified: trunk/dports/games/lbreakout2/Portfile
===================================================================
--- trunk/dports/games/lbreakout2/Portfile 2011-09-15 12:25:03 UTC (rev 84033)
+++ trunk/dports/games/lbreakout2/Portfile 2011-09-15 12:37:23 UTC (rev 84034)
@@ -1,13 +1,15 @@
# $Id$
PortSystem 1.0
+PortGroup app 1.0
name lbreakout2
-version 2.6beta-7
-revision 1
+version 2.6.3
+set branch [join [lrange [split ${version} .] 0 1] .]
categories games
platforms darwin
maintainers nomaintainer
+license GPL-2+
description Breakout clone, that won the No Starch Press SDL Game Contest.
long_description The successor to LBreakout offers you a new challenge \
@@ -21,11 +23,10 @@
This game won the No Starch Press SDL Game Contest.
homepage http://lgames.sourceforge.net/index.php?project=LBreakout2
-master_sites sourceforge:lgames
+master_sites sourceforge:project/lgames/lbreakout2/${branch}
-checksums md5 bccede972d2f73612c47ca6a5aa9770e \
- sha1 7d1c718bdcf3146c0992538c297e8f6fa4adb603 \
- rmd160 137735e838e7357506527f5c827e257302bba21f
+checksums rmd160 24b4717b642c5e544c1917dc86de61f2fcfde392 \
+ sha256 85a1364510535d8e066b9a25466c667c3da32463e03daf4c998f117afbddef0e
depends_lib path:lib/pkgconfig/sdl.pc:libsdl \
port:libsdl_mixer \
@@ -34,6 +35,7 @@
port:gettext
patchfiles patch-client_Makefile.in.diff \
+ patch-gui-stk.c.diff \
patch-server_Makefile.in.diff
configure.args --enable-warp \
@@ -43,10 +45,5 @@
destroot.destdir DESTDIR=${destroot} doc_dir=${prefix}/share/doc
-platform darwin {
- post-destroot {
- xinstall -d ${destroot}${applications_dir}/LBreakout2.app/Contents/MacOS
- ln -s ${prefix}/bin/lbreakout2 \
- ${destroot}${applications_dir}/LBreakout2.app/Contents/MacOS/LBreakout2
- }
-}
+app.name LBreakout2
+app.icon lbreakout48.gif
Modified: trunk/dports/games/lbreakout2/files/patch-client_Makefile.in.diff
===================================================================
--- trunk/dports/games/lbreakout2/files/patch-client_Makefile.in.diff 2011-09-15 12:25:03 UTC (rev 84033)
+++ trunk/dports/games/lbreakout2/files/patch-client_Makefile.in.diff 2011-09-15 12:37:23 UTC (rev 84034)
@@ -1,8 +1,6 @@
-Index: client/Makefile.in
-===================================================================
---- client/Makefile.in.orig 2006-08-27 13:26:00.000000000 +0200
-+++ client/Makefile.in 2008-04-26 21:33:40.000000000 +0200
-@@ -238,7 +238,7 @@
+--- client/Makefile.in.orig 2011-03-08 02:31:49.000000000 -0600
++++ client/Makefile.in 2011-09-15 07:28:03.000000000 -0500
+@@ -243,7 +243,7 @@
display.c main.c win32.ico
lbreakout2_DEPENDENCIES = @win32_deps@
@@ -10,4 +8,4 @@
+lbreakout2_LDADD = @win32_deps@ ../common/libcommon.a ../gui/libGui.a ../game/libgame.a @mixer_flag@ @sdlnet_lib_flag@ -lintl
EXTRA_DIST = credit.h shine.h extras.h balls.h shrapnells.h \
shots.h event.h paddle.h frame.h misc.h bricks.h player.h \
- file.h config.h lbreakout.h \
+ file.h config.h lbreakout.h setselect.h \
Added: trunk/dports/games/lbreakout2/files/patch-gui-stk.c.diff
===================================================================
--- trunk/dports/games/lbreakout2/files/patch-gui-stk.c.diff (rev 0)
+++ trunk/dports/games/lbreakout2/files/patch-gui-stk.c.diff 2011-09-15 12:37:23 UTC (rev 84034)
@@ -0,0 +1,10 @@
+--- gui/stk.c.orig 2011-03-07 13:55:21.000000000 -0600
++++ gui/stk.c 2011-09-15 07:30:45.000000000 -0500
+@@ -394,7 +394,6 @@
+ SDL_Surface *icon;
+ icon = png_load(SRC_DIR "/gfx/win_icon.png");
+ SDL_SetColorKey(icon, SDL_SRCCOLORKEY, 0);
+- SDL_WM_SetIcon(icon, NULL);
+ }
+
+ /* open new display */
Modified: trunk/dports/games/lbreakout2/files/patch-server_Makefile.in.diff
===================================================================
--- trunk/dports/games/lbreakout2/files/patch-server_Makefile.in.diff 2011-09-15 12:25:03 UTC (rev 84033)
+++ trunk/dports/games/lbreakout2/files/patch-server_Makefile.in.diff 2011-09-15 12:37:23 UTC (rev 84034)
@@ -1,8 +1,6 @@
-Index: server/Makefile.in
-===================================================================
---- server/Makefile.in.orig 2006-08-27 13:26:03.000000000 +0200
-+++ server/Makefile.in 2008-04-26 21:27:08.000000000 +0200
-@@ -225,7 +225,7 @@
+--- server/Makefile.in.orig 2011-03-08 02:31:52.000000000 -0600
++++ server/Makefile.in 2011-09-15 07:28:03.000000000 -0500
+@@ -230,7 +230,7 @@
server.c server_game.c
EXTRA_DIST = server.h server_game.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110915/b258e7d8/attachment.html>
More information about the macports-changes
mailing list