Modified: trunk/dports/games/tuxmath/Portfile (83328 => 83329)
--- 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