# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; \ c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup app 1.0 name tuxmath version 2.0.3 revision 1 categories games education maintainers nomaintainer description Kids math game - help Tux, the Linux Penguin shoot down attacking math questions! long_description TuxMath is an SDL-based educational game intended for children ages 4 to 10. \ The game offers drill in basic math facts, beginning with simple number \ typing and progressing through addition, subtraction, multiplication, and \ division. Negative numbers and \"missing number\" questions (e.g. 5 x ? = -75) \ are supported. TuxMath now also offers review of factoring via \"Factoroids\", \ a tribute to the arcade classic \"Asteroids\". homepage http://tux4kids.alioth.debian.org/tuxmath/index.php master_sites https://alioth-archive.debian.org/releases/tux4kids/TuxMath-Source/TuxMath-Source-${version}/ distname ${name}_w_fonts-${version} checksums rmd160 e399b605e69690a57fe2b5f6c29cf2f5c428ba6f \ sha256 eec49c296d41df39a6474d94ba4e3334e4c16dc180d3ea4a6defc2debfc39887 \ size 10396696 depends_build port:pkgconfig depends_lib port:libsdl \ port:libsdl_image \ port:libsdl_mixer \ port:libsdl_net \ port:libsdl_ttf \ port:libsdl_pango \ port:gettext \ port:t4k_common configure.args --disable-sdltest 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 livecheck.type regex livecheck.url https://alioth.debian.org/frs/?group_id=31080 livecheck.regex ${name}_w_fonts-(\[0-9.\]+)${extract.suffix}