# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup app 1.0 name tuxtype version 1.8.3 #set download_id 3270 categories games education platforms darwin maintainers nomaintainer description Learn to type with Tux, the Linux Penguin! long_description Tux Typing is an SDL-based educational game intended for children but fun for all ages. \ The program includes two video game-styled activities for typing individual words, \ as well as a phrase/sentence typing activity that displays accuracy and words per \ minute. homepage http://tux4kids.alioth.debian.org/tuxtype/index.php distname ${name}_w_fonts-${version} # No tarball was produced for this version: # http://article.gmane.org/gmane.comp.education.tux4kids.tuxtype.devel/1072 #master_sites https://alioth.debian.org/frs/download.php/file/${download_id}/ fetch.type git git.url git://git.debian.org/git/tux4kids/tuxtype.git git.branch upstream/${version} use_autoreconf yes depends_lib port:libsdl \ port:libsdl_image \ port:libsdl_mixer \ port:libsdl_ttf \ port:gettext patchfiles patch-src-Makefile.am.diff configure.args-append \ --disable-sdltest \ --without-sdlpango \ --without-rsvg destroot.keepdirs ${destroot}${prefix}/etc/${name} \ ${destroot}${prefix}/var/${name} post-destroot { xinstall -d ${destroot}${prefix}/etc/${name} xinstall -m 0777 -d ${destroot}${prefix}/var/${name} } variant sdlpango description {Build with SDL_Pango enabled} { depends_lib-replace port:libsdl_ttf port:libsdl_pango \ configure.args-replace --without-sdlpango --with-sdlpango } platform macosx { patchfiles-append patch-src-setup.c.diff } app.name TuxType app.icon data/images/icons/icon.png livecheck.type regex livecheck.url https://alioth.debian.org/frs/?group_id=31080 livecheck.regex ${name}_w_fonts-(\[0-9.\]+)${extract.suffix}