Ticket #19484: Portfile-tuxtype.diff

File Portfile-tuxtype.diff, 1.6 KB (added by davidstuartbruce@…, 15 years ago)

patch to update tuxtype Portfile

  • Portfile

    old new  
    55PortSystem          1.0
    66
    77name                tuxtype
    8 version             1.7.3
     8version             1.7.4
    99revision            0
    1010categories          games education
    1111platforms           darwin
     
    1818                    minute.
    1919
    2020homepage            http://www.tux4kids.com
    21 master_sites        http://alioth.debian.org/frs/download.php/2767/
     21master_sites        http://alioth.debian.org/frs/download.php/2974/
    2222distname            ${name}_w_fonts-${version}
    2323
    24 checksums           md5  9b76e5ebb3daf3d93545dc561229e2a5 \
    25                     sha1 8029c5484e1fac2bea764b9eef6f9845d0c725ce \
    26                     rmd160 b7e10052582c894c272f591c5c907ae56a03b926
     24checksums           md5  8f6f308c7d1681a3b23bc71f53313eb1 \
     25                    sha1 06f8c437832e5f5fb1524d1e70aa8be761476fed \
     26                    rmd160 4c20f6a6ba7b1e5ae2151fb6126356a1aed07897
    2727
    2828depends_lib         port:libsdl \
    2929                    port:libsdl_image \
    3030                    port:libsdl_mixer \
    3131                    port:libsdl_ttf \
    32                     port:libsdl_pango \
    3332                    port:gettext
    3433
     34configure.args-append --without-sdlpango
     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
    3547platform darwin {
    3648    post-destroot {
    3749        xinstall -m 755 -d ${destroot}/Applications/MacPorts/TuxType.app/Contents/MacOS