itcl version 3.3 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    itcl  most recent diff


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



      # $Id: Portfile 31596 2007-11-28 22:23:49Z jmpp macports.org $

      PortSystem 1.0

      Name: itcl
      Version: 3.3
      revision 2
      Category: lang
      Maintainers: nomaintainer
      Description: Object oriented extension to Tcl.
      Long Description: ${description}
      Homepage: http://incrtcl.sourceforge.net/
      Platform: darwin
      master_sites sourceforge:incrtcl:itcl 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:itcl tcl${tclv}-src.tar.gz:tcl
      checksums ${name}${version}.tar.gz md5 d958b3d1c52fa5336b5aacc1251b5ce3 tcl${tclv}-src.tar.gz md5 51c6bf74d3ffdb0bd866ecdac6ff6460
      depends_build port:tcl port:tk
      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 "-tcl8.4"

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

      platform darwin 7 {
      global tclconfig

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

      post-patch {
      reinplace "s| itcl_LIB_FILE |${prefix}/lib/libitcl3.3.dylib|g" ${worksrcpath}/itclConfig.sh.in
      reinplace "s| PACKAGE_VERSION |3.3|g" ${worksrcpath}/itclConfig.sh.in
      reinplace "s| itcl_BUILD_LIB_SPEC |-L${prefix}/lib -litcl|g" ${worksrcpath}/itclConfig.sh.in
      reinplace "s| itcl_LIB_SPEC |-L${prefix}/lib -litcl|g" ${worksrcpath}/itclConfig.sh.in
      reinplace "s|\" PKG_LIB_FILE \"|.. PKG_LIB_FILE |g" ${worksrcpath}/pkgIndex.tcl.in
      }

      post-build {
      system "ranlib ${worksrcpath}/libitclstub3.3.a"
      }

      destroot {
      set _d ${destroot}${prefix}
      set _w ${worksrcpath}
      file mkdir -p ${_d}/lib/itcl3.3
      xinstall -m 755 ${_w}/itclConfig.sh ${_d}/lib/itcl3.3
      file copy -force ${_w}/pkgIndex.tcl ${_d}/lib/itcl3.3
      file copy -force ${_w}/library/itcl.tcl ${_d}/lib/itcl3.3
      file copy -force ${_w}/libitcl3.3.dylib ${_d}/lib
      file copy -force ${_w}/libitclstub3.3.a ${_d}/lib

      file mkdir -p ${_d}/include
      foreach x {itcl.h itclDecls.h itclInt.h itclIntDecls.h } {
      file copy -force ${_w}/generic/$x ${_d}/include
      }

      foreach x [glob ${_w}/doc/*.n] {
      file copy -force $x ${_d}/share/man/mann
      }
      }

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

     Where to find more information:

    Darwin Ports



    image test