source: trunk/dports/games/tuxtype/Portfile

Last change on this file was 131331, checked in by mf2k@…, 3 years ago

tuxmath tuxtype t4k_common: Ports abandoned. (#45200)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 131331 2015-01-09 23:15:11Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           app 1.0
6
7name                tuxtype
8version             1.8.3
9#set download_id     3270
10categories          games education
11platforms           darwin
12maintainers         nomaintainer
13
14description         Learn to type with Tux, the Linux Penguin!
15long_description    Tux Typing is an SDL-based educational game intended for children but fun for all ages. \
16                    The program includes two video game-styled activities for typing individual words, \
17                    as well as a phrase/sentence typing activity that displays accuracy and words per \
18                    minute.
19
20homepage            http://tux4kids.alioth.debian.org/tuxtype/index.php
21distname            ${name}_w_fonts-${version}
22
23# No tarball was produced for this version:
24# http://article.gmane.org/gmane.comp.education.tux4kids.tuxtype.devel/1072
25#master_sites        https://alioth.debian.org/frs/download.php/file/${download_id}/
26fetch.type          git
27git.url             git://git.debian.org/git/tux4kids/tuxtype.git
28git.branch          upstream/${version}
29use_autoreconf      yes
30
31depends_lib         port:libsdl \
32                    port:libsdl_image \
33                    port:libsdl_mixer \
34                    port:libsdl_ttf \
35                    port:gettext
36
37patchfiles          patch-src-Makefile.am.diff
38
39configure.args-append \
40                    --disable-sdltest \
41                    --without-sdlpango \
42                    --without-rsvg
43
44destroot.keepdirs   ${destroot}${prefix}/etc/${name} \
45                    ${destroot}${prefix}/var/${name}
46post-destroot {
47    xinstall -d ${destroot}${prefix}/etc/${name}
48    xinstall -m 0777 -d ${destroot}${prefix}/var/${name}
49}
50
51variant sdlpango description {Build with SDL_Pango enabled} {
52    depends_lib-replace     port:libsdl_ttf port:libsdl_pango \
53    configure.args-replace  --without-sdlpango --with-sdlpango
54}
55
56platform macosx {
57    patchfiles-append patch-src-setup.c.diff
58}
59
60app.name            TuxType
61app.icon            data/images/icons/icon.png
62
63livecheck.type      regex
64livecheck.url       https://alioth.debian.org/frs/?group_id=31080
65livecheck.regex     ${name}_w_fonts-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.