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

    version 4.2.7

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


      The zsh Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: zsh
      Version: 4.2.7
      Category: shells
      Maintainers: nox openmaintainer
      Description: Zsh is a UNIX command interpreter (shell)
      Long Description: Zsh is a UNIX command interpreter (shell) which of the standard shells most resembles the Korn shell (ksh), although it is not completely compatible. It includes enhancements of many types, notably in the command-line editor, options for customising its behaviour, filename globbing, features to make C-shell (csh) users feel more at home and extra features drawn from tcsh (another `custom' shell).

      Homepage: http://www.zsh.org
      Platform: darwin
      use_bzip2 yes
      Master Sites: sourceforge http://www.zsh.org/pub/ ftp://ftp.zsh.org/zsh/ ftp://ftp.sterling.com/zsh/ ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ ftp://ftp.iij.ad.jp/pub/misc/zsh/ ftp://ftp.icm.edu.pl/vol/wojsyl/zsh/
      Checksums: ${distname}${extract.suffix} md5 a9d8678c5acf20d78e8c300f107b708b sha1 64c598cd48b78dff9d29341ea0cd904e7aa49541 rmd160 454339205c78393cbb9460aa10f37fa341a40b59
      depends_lib port:libiconv port:ncurses port:gdbm
      configure.args --enable-libs="-lncurses"

      platform darwin 8 {
      post-configure {
      reinplace "s|#define HAVE_POLL 1|#undef HAVE_POLL|" ${worksrcpath}/config.h
      }
      }

      Variant: mp_completion description {Include automatic completion of MacPorts commands} {
      post-destroot {
      file copy -force ${filespath}/_port ${destroot}${prefix}/share/${name}/${version}/functions
      }
      }

      Variant: dp_completion requires mp_completion description {Obsolete, synonymous with mp_completion} {}

      Variant: doc description {Install documentation} {
      distfiles-append ${distname}-doc${extract.suffix}
      checksums-append ${distname}-doc${extract.suffix} md5 31e12a3e23f464a3ce3f51b45928bc44 sha1 2aef0d011abc9586f7bb9e0f2379fa48bc0dc17b rmd160 a049d7369ed3389e805a9f6b884597c2219334a0
      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
      eval xinstall -m 644 [glob ${worksrcpath}/Doc/*.html] ${destroot}${prefix}/share/doc/${name}
      eval xinstall -m 644 [glob ${worksrcpath}/Doc/*.pdf] ${destroot}${prefix}/share/doc/${name}
      }
      }

      livecheck.type sourceforge

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.