[83329] trunk/dports/games/tuxmath/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Aug 29 14:10:28 PDT 2011
Revision: 83329
http://trac.macports.org/changeset/83329
Author: ryandesign at macports.org
Date: 2011-08-29 14:10:25 -0700 (Mon, 29 Aug 2011)
Log Message:
-----------
tuxmath: use app portgroup; add app icon; see #31014
Modified Paths:
--------------
trunk/dports/games/tuxmath/Portfile
Modified: trunk/dports/games/tuxmath/Portfile
===================================================================
--- trunk/dports/games/tuxmath/Portfile 2011-08-29 20:53:39 UTC (rev 83328)
+++ trunk/dports/games/tuxmath/Portfile 2011-08-29 21:10:25 UTC (rev 83329)
@@ -3,9 +3,11 @@
# $Id$
PortSystem 1.0
+PortGroup app 1.0
name tuxmath
version 2.0.3
+revision 1
categories games education
platforms darwin
maintainers gmail.com:davidstuartbruce
@@ -37,9 +39,11 @@
configure.args --disable-sdltest
-platform darwin {
- post-destroot {
- xinstall -m 755 -d ${destroot}${applications_dir}/TuxMath.app/Contents/MacOS
- ln -s ${prefix}/bin/tuxmath ${destroot}${applications_dir}/TuxMath.app/Contents/MacOS/TuxMath
+platform macosx {
+ post-build {
+ system "${prefix}/bin/rsvg-convert -w 512 -h 512 -o ${workpath}/icon.png ${worksrcpath}/data/images/icons/tuxmath.svg"
}
}
+
+app.name TuxMath
+app.icon ${workpath}/icon.png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110829/2862e205/attachment.html>
More information about the macports-changes
mailing list