[82909] trunk/dports/games/pioneers

snc at macports.org snc at macports.org
Sun Aug 21 17:01:48 PDT 2011


Revision: 82909
          http://trac.macports.org/changeset/82909
Author:   snc at macports.org
Date:     2011-08-21 17:01:43 -0700 (Sun, 21 Aug 2011)
Log Message:
-----------
pioneers:
 * use app portgroup
 * add icon and wrapper script

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

Added Paths:
-----------
    trunk/dports/games/pioneers/files/
    trunk/dports/games/pioneers/files/launcher.sh
    trunk/dports/games/pioneers/files/logo.png

Modified: trunk/dports/games/pioneers/Portfile
===================================================================
--- trunk/dports/games/pioneers/Portfile	2011-08-21 23:39:04 UTC (rev 82908)
+++ trunk/dports/games/pioneers/Portfile	2011-08-22 00:01:43 UTC (rev 82909)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           app 1.0
 
 name                pioneers
 version             0.12.4
-revision            1
+revision            2
 categories          games
 license             GPL
 maintainers         snc gmail.com:jweede
@@ -20,8 +21,8 @@
 
 homepage            http://pio.sourceforge.net/
 platforms           freebsd darwin
-depends_build       port:gettext port:grep port:intltool port:p5.8-xml-parser \
-                    port:perl5.8 port:pkgconfig port:rarian
+depends_build       port:gettext port:grep port:intltool port:p5-xml-parser \
+                    port:perl5 port:pkgconfig port:rarian
 depends_lib         port:atk port:expat port:fontconfig port:freetype \
                     port:gettext port:gtk2 port:libiconv \
                     port:libpng port:xorg-libX11 \
@@ -36,7 +37,19 @@
 checksums           rmd160  35e9792fac8f80a1a0b734f89771770e784fd0f2 \
                     sha256  05e643c61b76f9558f7aec5076ca3404e296e4a6b097245a3407a4532f4c3c69
 
+post-extract {
+    copy ${filespath}/launcher.sh ${worksrcpath}
+}
+
+patch {
+    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/launcher.sh
+}
+
 configure.env-append    with_avahi=no
 
+app.name            Pioneers
+app.executable      ${worksrcpath}/launcher.sh
+app.icon            ${filespath}/logo.png
+
 livecheck.url       http://sourceforge.net/projects/pio/files/
 livecheck.regex     ${name}-(\\d+(\\.\\d+)+)

Added: trunk/dports/games/pioneers/files/launcher.sh
===================================================================
--- trunk/dports/games/pioneers/files/launcher.sh	                        (rev 0)
+++ trunk/dports/games/pioneers/files/launcher.sh	2011-08-22 00:01:43 UTC (rev 82909)
@@ -0,0 +1,2 @@
+#!/bin/sh
+ at PREFIX@/bin/pioneers

Added: trunk/dports/games/pioneers/files/logo.png
===================================================================
(Binary files differ)


Property changes on: trunk/dports/games/pioneers/files/logo.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110821/6411fb3b/attachment.html>


More information about the macports-changes mailing list