itk version 3.3 for Mac OS X 10.5 Leopard
Monday the 12th of May, 2008

    itk  most recent diff


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



      # $Id: Portfile 30611 2007-11-01 16:38:09Z markd macports.org $

      PortSystem 1.0

      Name: itk
      Version: 3.3
      revision 2
      Category: x11 tk
      Maintainers: nomaintainer
      Description: \[incr Tk\] A.K.A. \"itk\". Object oriented extension to Tk.
      Long Description: ${description}
      Homepage: http://incrtcl.sourceforge.net/itk/itk.html
      Platform: darwin

      master_sites sourceforge:incrtcl:itk sourceforge:tcl:tcl
      distname ${name}${version}
      # Set tclv and md5 checksum to the current MacPorts Tcl port version, though port doesn't
      # break if they aren't in sync.

      set tclv 8.4.14

      distfiles ${distname}.tar.gz:itk tcl${tclv}-src.tar.gz:tcl
      checksums ${name}${version}.tar.gz md5 a97c17f3cfa5e377f43073c653c501b5 tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460
      depends_build port:tk port:itcl
      build.args CPPFLAGS=-I${prefix}/include
      worksrcdir ${name}${version}

      set tclconfig ${prefix}/lib

      configure.env TCLROOT=${prefix}
      configure.cflags -I${workpath}/tcl${tclv}/generic
      configure.ldflags-append "-ltcl -L/usr/X11R6/lib -lX11"

      configure.args --with-tcl=${tclconfig} --with-itcl=${prefix}/lib/itcl3.3 --with-tk=${prefix}/lib

      platform darwin 7 {
      global tclconfig

      set tclconfig /System/Library/Frameworks/Tcl.framework
      }

      post-patch {
      reinplace "s| itk_LIB_SPEC |-L${prefix}/lib -litk|g" ${worksrcpath}/itkConfig.sh.in
      reinplace "s| ITK_BUILD_LIB_SPEC |-L${prefix}/lib -litk|g" ${worksrcpath}/itkConfig.sh.in
      reinplace "s|\" PKG_LIB_FILE \"|.. PKG_LIB_FILE |g" ${worksrcpath}/pkgIndex.tcl.in
      }

      destroot {
      set _d ${destroot}${prefix}
      set _w ${worksrcpath}
      file mkdir -p ${_d}/lib/itk3.3
      xinstall -m 755 ${_w}/itkConfig.sh ${_d}/lib/itk3.3

      foreach x [glob ${worksrcpath}/library/*] {
      file copy -force $x ${_d}/lib/itk3.3
      }
      file copy -force ${_w}/pkgIndex.tcl ${_d}/lib/itk3.3

      file copy -force ${_w}/libitk3.3.dylib ${_d}/lib

      file mkdir -p ${_d}/include
      foreach x {itk.h itkDecls.h } {
      file copy -force ${_w}/generic/$x ${_d}/include
      }
      foreach x [glob ${_w}/doc/*.n] {
      file copy -force $x ${_d}/share/man/mann
      file delete -force ${_d}/share/man/mann/Toplevel.n
      }
      }

    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/itk
      % sudo port install itk
      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 itk
      ---> Verifying checksum for itk
      ---> Extracting itk
      ---> Configuring itk
      ---> Building itk with target all
      ---> Staging itk into destroot
      ---> Installing itk
    - 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 itk with these commands:
      %  man itk
      % apropos itk
      % which itk
      % locate itk

     Where to find more information:

    Darwin Ports



    image test