Ticket #12099: tk-8.4.15.diff

File tk-8.4.15.diff, 2.7 KB (added by pipping@…, 17 years ago)
  • Portfile

     
    22
    33PortSystem      1.0
    44name            tk
    5 version         8.4.14
    6 revision        1
     5version         8.4.15
    76categories      x11
    87maintainers     nomaintainer@macports.org
    98description     Tcl Tool Kit
    10 long_description    This is Tk version ${version}, a GUI toolkit for Tcl. \
    11             The best way to get started with Tcl is to read \
    12             ``Tcl and the Tk Toolkit'' by John K. Ousterhout, \
    13             Addison-Wesley, ISBN 0-201-63337-X.
     9long_description \
     10  This is Tk version ${version}, a GUI toolkit for Tcl. The best way to get \
     11  started with Tcl is to read ``Tcl and the Tk Toolkit'' by John K.         \
     12  Ousterhout, Addison-Wesley, ISBN 0-201-63337-X.
     13
    1414platforms       darwin
    1515master_sites    sourceforge:tcl
    1616dist_subdir     tcltk
    1717distname        ${name}${version}-src
    1818worksrcdir      ${name}${version}/unix
    19 checksums       ${distname}${extract.suffix} md5 d12f591f5689f95c82bfb9c1015407bb \
    20                 sha1 d3a8d1240fe37408a3d39613cb1d845764b7a5b1 \
    21                 rmd160 055ea75b91fe0e33ac9d96bd3b9099622008820e
     19checksums \
     20  ${distname}${extract.suffix} \
     21    md5 68777568d818e1980dda4b6b02b92f1a \
     22    sha1 832b39fc3e64dcbbfff4fc192e33d3fc8ef76c43 \
     23    rmd160 8facb8033ce811097a3568373581687a749dda2d
    2224# suck in Tcl as well so we can use it internally.
    2325distfiles-append    tcl${version}-src${extract.suffix}
    24 checksums-append    tcl${version}-src${extract.suffix} md5 51c6bf74d3ffdb0bd866ecdac6ff6460 \
    25                     sha1 d7af7e0c7ed563e2344dda04bbe49961589244dd \
    26                     rmd160 392a4f4617ee77cfdae10b24e9ccbe84afed0a40
     26checksums-append \
     27  tcl${version}-src${extract.suffix} \
     28    md5 5e1b71eef1f75a294072aa3218f62b66 \
     29    sha1 fbfae3ca68633a10b3fe870018588ade0944caed \
     30    rmd160 b6b41cb5ae18744ba5aa7fdf3d64277d97d8546e
     31
    2732destroot.destdir    INSTALL_ROOT=${destroot}
    2833configure.args      --mandir=${prefix}/share/man --with-tcl=${prefix}/lib
    2934# force usage of DP Tcl
    3035depends_lib         port:tcl lib:libX11.6:XFree86
    3136
    32 configure.env       CFLAGS=-I${worksrcpath}/../../tcl${version}/generic
     37configure.cppflags-append \
     38  -I${worksrcpath}/../../tcl${version}/generic
    3339
    3440variant aqua {
    3541    configure.args-append   --enable-aqua
     
    4147
    4248post-destroot {
    4349    cd ${destroot}${prefix}/bin
    44     system "ln -s ${prefix}/bin/wish8.4 wish"
     50    ln -s ${prefix}/bin/wish8.4 wish
    4551    cd ${destroot}${prefix}/lib
    46     system "ln -s ${prefix}/lib/libtk8.4.dylib libtk.dylib"
     52    ln -s ${prefix}/lib/libtk8.4.dylib libtk.dylib
    4753   
    4854    # For some reason the aqua variant installs old X11 headers -> delete
    4955    if {[variant_isset aqua]} {