Ksh93 version 2009-05-05 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 2009-05-05

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


      The ksh93 Portfile 52631 2009-06-20 02:44:23Z brett macports.org $

      PortSystem 1.0

      Name: ksh93
      Version: 2009-05-05
      Category: shells
      Maintainers: brett
      Description: The AT&T Korn shell
      Long Description: The official version of ksh-93, by David Korn and AT&T research
      Platform: darwin freebsd
      Homepage: http://www.research.att.com/sw/download/
      Master Sites: http://www.research.att.com/~gsf/download/tgz/

      distfiles ast-ksh.$version.tgz INIT.$version.tgz
      Checksums: ast-ksh.$version.tgz md5 dff46f3e047ac35ac78a81c52938991b INIT.$version.tgz md5 e941c0a95b73c8309e6afff10f79d988

      fetch.user I accept www.opensource.org/licenses/cpl
      fetch.password .

      pre-extract {
      xinstall -d ${worksrcpath}
      }

      extract.dir ${worksrcpath}

      use_configure no

      build.cmd bin/package
      build.target make
      build.args SHELL=sh

      destroot {
      set arch [exec ${worksrcpath}/bin/package]
      xinstall -m 555 ${worksrcpath}/arch/${arch}/bin/ksh ${destroot}${prefix}/bin
      xinstall -m 444 ${worksrcpath}/arch/${arch}/man/man1/sh.1 ${destroot}${prefix}/share/man/man1/ksh.1
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.