source: trunk/dports/games/tuxtype/Portfile @ 81348

Last change on this file since 81348 was 81348, checked in by jmr@…, 6 years ago

tuxtype: disable SDL test

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; \
2c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
3# $Id: Portfile 81348 2011-07-29 13:16:55Z jmr@macports.org $
4
5PortSystem          1.0
6
7name                tuxtype
8version             1.7.4
9revision            0
10categories          games education
11platforms           darwin
12maintainers         gmail.com:davidstuartbruce
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://www.tux4kids.com
21master_sites        http://alioth.debian.org/frs/download.php/2974/
22distname            ${name}_w_fonts-${version}
23
24checksums           md5  8f6f308c7d1681a3b23bc71f53313eb1 \
25                    sha1 06f8c437832e5f5fb1524d1e70aa8be761476fed \
26                    rmd160 4c20f6a6ba7b1e5ae2151fb6126356a1aed07897
27
28depends_lib         path:lib/pkgconfig/sdl.pc:libsdl \
29                    port:libsdl_image \
30                    port:libsdl_mixer \
31                    port:libsdl_ttf \
32                    port:gettext
33
34configure.args-append --without-sdlpango --disable-sdltest
35
36variant sdlpango description {Build with SDL_Pango enabled} {
37    depends_lib-append \
38        port:libsdl_pango \
39    depends_lib-delete \
40        port:libsdl_ttf \
41    configure.args-delete \
42        --without-sdlpango
43    configure.args-append \
44        --with-sdlpango
45}
46
47platform darwin {
48    post-destroot {
49        xinstall -m 755 -d ${destroot}${applications_dir}/TuxType.app/Contents/MacOS
50        ln -s ${prefix}/bin/tuxtype ${destroot}${applications_dir}/TuxType.app/Contents/MacOS/TuxType
51    }
52}
Note: See TracBrowser for help on using the repository browser.