Ticket #31014: tuxmath.diff
File tuxmath.diff, 956 bytes (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
3 3 # $Id$ 4 4 5 5 PortSystem 1.0 6 PortGroup app 1.0 6 7 7 8 name tuxmath 8 9 version 2.0.3 10 revision 1 9 11 categories games education 10 12 platforms darwin 11 13 maintainers gmail.com:davidstuartbruce … … 37 39 38 40 configure.args --disable-sdltest 39 41 40 platform darwin { 41 post-destroot { 42 xinstall -m 755 -d ${destroot}${applications_dir}/TuxMath.app/Contents/MacOS 43 ln -s ${prefix}/bin/tuxmath ${destroot}${applications_dir}/TuxMath.app/Contents/MacOS/TuxMath 42 platform macosx { 43 post-build { 44 system "${prefix}/bin/rsvg-convert -w 512 -h 512 -o ${workpath}/icon.png ${worksrcpath}/data/images/icons/tuxmath.svg" 44 45 } 45 46 } 47 48 app.name TuxMath 49 app.icon ${workpath}/icon.png