# -*- 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 PortSystem 1.0 name gtypist version 2.9.5 revision 0 checksums rmd160 d57eb0f20549ef0b75057068196f172b3ebce2e2 \ sha256 c13af40b12479f8219ffa6c66020618c0ce305ad305590fde02d2c20eb9cf977 \ size 929356 categories games maintainers nomaintainer license GPL-3+ description A universal typing tutor. long_description \ You can learn correct typing and improve your skills \ by practicing its exercises on a regular basis. homepage https://www.gnu.org/software/gtypist/ master_sites gnu:gtypist use_xz yes depends_lib port:ncurses port:gettext port:libiconv patchfiles-append \ implicit.patch post-patch { #Fix ncursesw dependency, wide char support is included in ncurses now. foreach f {cursmenu.c error.c gtypist.c script.c utf8.c} { reinplace "s|ncursesw/ncurses.h|ncurses.h|" ${worksrcpath}/src/$f } reinplace "s|ncursesw/ncurses.h|ncurses.h|" ${worksrcpath}/configure reinplace "s|-lncursesw|-lncurses|" ${worksrcpath}/configure } livecheck.type regex livecheck.url https://ftp.gnu.org/gnu/gtypist/?C=M&O=D livecheck.regex ${name}-(\\d+(?:\\.\\d+)+)\\.tar