[83225] trunk/dports/games/bomberclone/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Aug 28 21:42:02 PDT 2011


Revision: 83225
          http://trac.macports.org/changeset/83225
Author:   ryandesign at macports.org
Date:     2011-08-28 21:42:01 -0700 (Sun, 28 Aug 2011)
Log Message:
-----------
bomberclone:

 * use app portgroup
 * add app icon
 * rewrite master_sites to avoid redirects
 * use port:-style dependencies

See #30963

Modified Paths:
--------------
    trunk/dports/games/bomberclone/Portfile

Modified: trunk/dports/games/bomberclone/Portfile
===================================================================
--- trunk/dports/games/bomberclone/Portfile	2011-08-29 04:31:22 UTC (rev 83224)
+++ trunk/dports/games/bomberclone/Portfile	2011-08-29 04:42:01 UTC (rev 83225)
@@ -1,9 +1,11 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup           app 1.0
 
 name			bomberclone
 version			0.11.9
+revision            1
 categories		games
 platforms		darwin
 maintainers		phw
@@ -13,16 +15,16 @@
 				configureable tile sets, etc.
 
 homepage		http://www.bomberclone.de/
-master_sites	sourceforge
+master_sites        sourceforge:project/${name}/${name}
+
 checksums           md5     3edcfcf69b88dbd2eab42541f236e072 \
                     sha1    6bf04fc08a1413b6a3a8598e3cd25d334c0f612f \
                     rmd160  c4947c25e8f28d5efc1e2bfc8c273faa5cef7ecd
 
+depends_lib         port:libsdl \
+                    port:libsdl_mixer \
+                    port:libsdl_image
 
-depends_lib		bin:sdl-config:libsdl \
-				lib:libSDL_mixer:libsdl_mixer \
-				lib:libSDL_image:libsdl_image
-
 configure.args	--disable-sdltest \
 				--disable-debug
 
@@ -31,12 +33,6 @@
 		${worksrcpath}/Makefile
 }
 
-platform darwin  {
-	post-destroot   {
-		xinstall -m 755 -d \
-			${destroot}/Applications/MacPorts/Bomberclone.app/Contents/MacOS
-		system "ln -s ${prefix}/bin/bomberclone \
-			${destroot}/Applications/MacPorts/Bomberclone.app/Contents/MacOS/Bomberclone"
-	}
-}
+app.icon            data/pixmaps/bomberclone.png
+
 livecheck.regex "bomberclone-(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110828/f78308fe/attachment.html>


More information about the macports-changes mailing list