[83521] trunk/dports/games/freedroidclassic
ryandesign at macports.org
ryandesign at macports.org
Sun Sep 4 03:14:28 PDT 2011
Revision: 83521
http://trac.macports.org/changeset/83521
Author: ryandesign at macports.org
Date: 2011-09-04 03:14:28 -0700 (Sun, 04 Sep 2011)
Log Message:
-----------
freedroidclassic: use app portgroup; add app icon; update homepage; indicate license
Modified Paths:
--------------
trunk/dports/games/freedroidclassic/Portfile
Added Paths:
-----------
trunk/dports/games/freedroidclassic/files/
trunk/dports/games/freedroidclassic/files/patch-src-graphics.c.diff
Modified: trunk/dports/games/freedroidclassic/Portfile
===================================================================
--- trunk/dports/games/freedroidclassic/Portfile 2011-09-04 10:03:55 UTC (rev 83520)
+++ trunk/dports/games/freedroidclassic/Portfile 2011-09-04 10:14:28 UTC (rev 83521)
@@ -1,12 +1,15 @@
# $Id$
PortSystem 1.0
+PortGroup app 1.0
name freedroidclassic
version 1.0.2
+revision 1
categories games
platforms darwin
maintainers nomaintainer
+license GPL-2+
description Freedoid Classic is a Paradroid clone.
long_description Freedroid is a clone of the classic game Paradroid on \
@@ -20,7 +23,7 @@
them or seizing control over them by creating \
connections in a short subgame of electric circuits.
-homepage http://freedroid.sourceforge.net/
+homepage http://www.freedroid.org/
master_sites sourceforge:project/freedroid/freedroidClassic/FreedroidClassic-${version}/
distname freedroid-${version}
@@ -31,6 +34,8 @@
port:libsdl_image \
port:libsdl_mixer
+patchfiles patch-src-graphics.c.diff
+
configure.args --mandir=${prefix}/share/man \
--disable-sdltest
@@ -54,9 +59,6 @@
${dir}/sound/Makefile.in
}
-platform darwin {
- pre-destroot {
- xinstall -d "${destroot}${applications_dir}/Freedroid Classic.app/Contents/MacOS"
- ln -s ${prefix}/bin/freedroid "${destroot}${applications_dir}/Freedroid Classic.app/Contents/MacOS/Freedroid Classic"
- }
-}
+app.name Freedroid Classic
+app.executable freedroid
+app.icon graphics/001.png
Added: trunk/dports/games/freedroidclassic/files/patch-src-graphics.c.diff
===================================================================
--- trunk/dports/games/freedroidclassic/files/patch-src-graphics.c.diff (rev 0)
+++ trunk/dports/games/freedroidclassic/files/patch-src-graphics.c.diff 2011-09-04 10:14:28 UTC (rev 83521)
@@ -0,0 +1,11 @@
+--- src/graphics.c.orig 2003-08-08 11:05:26.000000000 -0500
++++ src/graphics.c 2011-09-04 05:08:02.000000000 -0500
+@@ -905,8 +905,6 @@
+ if (vid_info->wm_available) /* if there's a window-manager */
+ {
+ SDL_WM_SetCaption ("Freedroid", "");
+- fpath = find_file (ICON_FILE, GRAPHICS_DIR, NO_THEME, WARNONLY);
+- if (fpath) SDL_WM_SetIcon( IMG_Load (fpath), NULL);
+ }
+
+ screen_bpp = 16; /* start with the simplest */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110904/66cfa507/attachment-0001.html>
More information about the macports-changes
mailing list