[83237] trunk/dports/games/rocksndiamonds
ryandesign at macports.org
ryandesign at macports.org
Sun Aug 28 23:46:20 PDT 2011
Revision: 83237
http://trac.macports.org/changeset/83237
Author: ryandesign at macports.org
Date: 2011-08-28 23:46:18 -0700 (Sun, 28 Aug 2011)
Log Message:
-----------
rocksndiamonds:
* use app portgroup
* add app icon
* indicate license
* use the correct build_arch
* remove erroneous dependency on libranlib which is not used
Modified Paths:
--------------
trunk/dports/games/rocksndiamonds/Portfile
Added Paths:
-----------
trunk/dports/games/rocksndiamonds/files/rocks_icon_32x32.png
Modified: trunk/dports/games/rocksndiamonds/Portfile
===================================================================
--- trunk/dports/games/rocksndiamonds/Portfile 2011-08-29 06:36:40 UTC (rev 83236)
+++ trunk/dports/games/rocksndiamonds/Portfile 2011-08-29 06:46:18 UTC (rev 83237)
@@ -2,12 +2,16 @@
# $Id$
PortSystem 1.0
+PortGroup app 1.0
name rocksndiamonds
version 3.3.0.1
+revision 1
categories games
platforms darwin
maintainers phw openmaintainer
+license GPL-2+
+
description Arcade style game Boulderdash or Emerald Mine clone
long_description Arcade style game Boulderdash (C64) or Emerald Mine \
(Amiga) clone. Included are many levels known from the \
@@ -27,18 +31,19 @@
depends_lib path:lib/pkgconfig/sdl.pc:libsdl \
port:libsdl_image \
port:libsdl_mixer \
- port:libsdl_net \
- port:libranlib
+ port:libsdl_net
-# libranlib is not universal
-universal_variant no
-
-configure {
+post-patch {
reinplace "s|_PREFIX_|${prefix}|g" ${worksrcpath}/Makefile
}
+use_configure no
+
+# ranlib: archive member: game_sp.a(main.o) size too large (archive member extends past the end of the file)
+use_parallel_build no
+
build.target sdl
-build.args CC=${configure.cc}
+build.args CC="${configure.cc} [get_canonical_archflags]"
destroot {
xinstall -s -m 755 ${worksrcpath}/rocksndiamonds ${destroot}${prefix}/bin
@@ -48,14 +53,13 @@
${destroot}${prefix}/share/games/rocksndiamonds
}
-platform macosx {
- post-destroot {
- file mkdir ${destroot}${applications_dir}/RocksnDiamonds.app/Contents/MacOS
- ln -s ${prefix}/bin/rocksndiamonds \
- ${destroot}${applications_dir}/RocksnDiamonds.app/Contents/MacOS/RocksnDiamonds
- }
-}
+app.name Rocks'n'Diamonds
+#app.icon graphics/gfx_classic/rocks_icon_32x32.pcx
+app.icon ${filespath}/rocks_icon_32x32.png
+# convert work/rocksndiamonds-*/graphics/gfx_classic/rocks_icon_32x32.pcx -transparent '#000000' /tmp/rocks.png
+# pngcrush /tmp/rocks.png files/rocks_icon_32x32.png
+
livecheck.type regex
livecheck.url ${homepage}/download.html
livecheck.regex "Rocks'n'Diamonds (\\d+(?:\\.\\d+)*)"
Added: trunk/dports/games/rocksndiamonds/files/rocks_icon_32x32.png
===================================================================
(Binary files differ)
Property changes on: trunk/dports/games/rocksndiamonds/files/rocks_icon_32x32.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110828/27e1b8e0/attachment.html>
More information about the macports-changes
mailing list