source: trunk/dports/games/gtypist/Portfile

Last change on this file was 147480, checked in by khindenburg@…, 20 months ago

frobtads, gtypist, librets: set nomaintainer #51043

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 147480 2016-04-05 12:28:38Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            gtypist
7version         2.9.3
8revision        1
9categories      games
10platforms       darwin
11maintainers     nomaintainer
12license         GPL-3+
13
14description     A universal typing tutor.
15long_description \
16    You can learn correct typing and improve your skills \
17    by practicing its exercises on a regular basis.
18
19homepage        http://www.gnu.org/software/gtypist/
20master_sites    gnu:gtypist
21use_xz          yes
22
23checksums       rmd160  a3d0138be5374d607c6015d2d3a0aee275679780 \
24                sha256  bc6b983eaa5b9c3b1050130362c6dfeeb8de97eb872cfc613291291608523c6b
25
26depends_lib     port:ncurses port:gettext port:libiconv
27
28patchfiles      patch-src_Makefile.in-add-libiconv.diff
29post-patch {
30    #Fix ncursesw dependency, wide char support is included in ncurses now.
31    foreach f {cursmenu.c error.c gtypist.c script.c utf8.c} {
32        reinplace "s|ncursesw/ncurses.h|ncurses.h|" ${worksrcpath}/src/$f
33    }
34    reinplace "s|ncursesw/ncurses.h|ncurses.h|" ${worksrcpath}/configure
35    reinplace "s|-lncursesw|-lncurses|" ${worksrcpath}/configure
36}
37
38livecheck.type  regex
39livecheck.url   http://ftp.gnu.org/gnu/gtypist/?C=M&O=D
40livecheck.regex ${name}-(\\d+(?:\\.\\d+)+)\\.tar
Note: See TracBrowser for help on using the repository browser.