tk version 8.5.1 for Mac OS X 10.5 Leopard
Friday the 9th of May, 2008

    tk  most recent diff


      View the most recent changes for the tk port at: tk.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for tk.
      The raw portfile for tk 8.5.1 is located here:
      http://tk.darwinports.com/dports/x11/tk/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/tk
      Google
      Web Darwinports.com



      # $Id: Portfile 33925 2008-02-07 17:32:38Z mww macports.org $

      PortSystem 1.0

      Name: tk
      Version: 8.5.1
      Category: x11
      Maintainers: mww openmaintainer
      Description: Tcl Tool Kit
      Homepage: http://www.tcl.tk/
      Long Description: This is Tk version ${version}, a GUI toolkit for Tcl. The best way to get started with Tcl is to read ``Tcl and the Tk Toolkit'' by John K. Ousterhout, Addison-Wesley, ISBN 0-201-63337-X.

      Platform: darwin
      master_sites sourceforge:tcl
      dist_subdir tcltk
      distname ${name}${version}-src
      worksrcdir ${name}${version}/unix
      checksums ${distname}${extract.suffix} md5 d95d4a180cd60b3736395bf80c7322c0 sha1 3280ca4572f19c5dd379380e9a02d382127f3378 rmd160 5e1196db5415771e5a7bf38425cacd7cb0ee1cd8
      # suck in Tcl as well so we can use it internally.
      distfiles-append tcl${version}-src${extract.suffix}
      checksums-append tcl${version}-src${extract.suffix} md5 1b5f9a043f53c5828dcde3684e3264d5 sha1 53d64b0a65e7dd231c79297ebc79608780bb7eea rmd160 c90bfa5b1bbc7dc54429e4fe18b6f77a9ad1c18b

      # force usage of DP Tcl
      depends_lib port:tcl lib:libX11.6:XFree86

      post-patch {
      reinplace s| TCL_SRC_DIR |${worksrcpath}/../../tcl${version}/|g ${worksrcpath}/Makefile.in
      }

      configure.args --mandir=${prefix}/share/man --with-tcl=${prefix}/lib
      configure.cppflags "-I${workpath}/tcl${version}/generic -I${prefix}/include"

      destroot.destdir INSTALL_ROOT=${destroot}
      post-destroot {
      ln -s ${prefix}/bin/wish8.5 ${destroot}${prefix}/bin/wish
      ln -s ${prefix}/lib/libtk8.5.dylib ${destroot}${prefix}/lib/libtk.dylib
      }

      #variant quartz {
      # configure.args-append --enable-aqua
      # post-destroot {
      # delete ${destroot}${prefix}/include/X11
      # }
      #}

      livecheck.check freshmeat
      livecheck.name tcltk

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/tk
      % sudo port install tk
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching tk
      ---> Verifying checksum for tk
      ---> Extracting tk
      ---> Configuring tk
      ---> Building tk with target all
      ---> Staging tk into destroot
      ---> Installing tk
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using tk with these commands:
      %  man tk
      % apropos tk
      % which tk
      % locate tk

     Where to find more information:

    Darwin Ports



    image test