Download and Install zsh-devel version 4.3.6 on Mac OS X
Friday the 25th of July, 2008

    zsh-devel  most recent diff


      View the most recent changes for the zsh-devel port at: zsh-devel.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for zsh-devel.
      The raw portfile for zsh-devel 4.3.6 is located here:
      http://zsh-devel.darwinports.com/dports/shells/zsh-devel/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-devel
      Google
      Web Darwinports.com



      # $Id: Portfile 36686 2008-05-11 21:27:55Z nox macports.org $

      PortSystem 1.0

      Name: zsh-devel
      set my_name [strsed ${name} {s/-.*//}]
      Version: 4.3.6
      Category: shells
      Platform: darwin
      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/
      use_bzip2 yes
      dist_subdir ${my_name}
      distname ${my_name}-${version}
      master_sites ${homepage}pub/ ftp://ftp.zsh.org/${my_name} ftp://ftp.sterling.com/${my_name}/ ftp://ftp.rge.com/pub/shells/${my_name}/ ftp://ftp.fu-berlin.de/pub/unix/shells/${my_name}/ ftp://ftp.ips.oz.au/pub/packages/${my_name}/ ftp://ftp.uit.no/pub/unix/shells/${my_name}/ ftp://ftp.iij.ad.jp/pub/misc/${my_name}/ ftp://ftp.icm.edu.pl/vol/wojsyl/${my_name}/ ftp://ftp.sunsite.auc.dk/disk1/${my_name}/ sourceforge:${my_name} http://deb.grml.org/pool/main/z/${my_name}-lovers/:love

      # Some love for zsh: http://grml.org/zsh/zsh-lovers.html
      set love_distname zsh-lovers_0.8.0
      set love_distfile ${love_distname}.tar.gz
      set worklovedir [strsed [strsed ${love_distname} {s/-[0-9][0-9]*$//}] {g/_/-/}]
      set worklovepath ${workpath}/${worklovedir}

      checksums zsh-4.3.6.tar.bz2 md5 16f399af1081ad3c303a794c9c7dc47e sha1 7600f56d4304d1b84428b57a9b1d394de185c207 rmd160 fedd72f427439e75b8488479a3d20e9d8d5be794 zsh-4.3.6-doc.tar.bz2 md5 cab29228a90f58b1431a66ab24a0a0c2 sha1 0475edfbbe2d745f3247f3b70a23ed9f169ca7b7 rmd160 048e0a30fa860d20020932f5f030edb8661697e1 zsh-lovers_0.8.0.tar.gz md5 2394d35f1c027c01fc25f40e2b002947 sha1 25269a63f3d3934c03dbc59f43519f047a2f7184 rmd160 1eb9895d501634a5a42c32857b514cb86cb2a454

      depends_lib port:libiconv port:ncursesw

      configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info --with-curses-terminfo --enable-multibyte --enable-etcdir=${prefix}/etc

      configure.env DL_EXT=bundle

      use_parallel_build yes

      test.run yes
      test.target check

      set docdir ${prefix}/share/doc/${my_name}-${version}

      post-destroot {
      # This manpage only includes every zsh manpage; as manpages are gzipped in MacPorts,
      # .so groff directives will fail.
      system "cd ${destroot}${prefix}/share/man/man1 && soelim -I.. zshall.1 > zshall.1.soelim"
      move -force ${destroot}${prefix}/share/man/man1/zshall.1.soelim ${destroot}${prefix}/share/man/man1/zshall.1

      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} ChangeLog FEATURES LICENCE NEWS README ${destroot}${docdir}

      if {[variant_isset doc] || [variant_isset examples]} {
      xinstall -d ${destroot}${docdir}/pdf
      }
      }

      post-install {
      ui_info "If you want MacPorts' ${my_name} as login shell, you should run:"
      ui_info "% sudo sh -c \"echo '${prefix}/bin/${my_name}' >> /etc/shells\""
      ui_info "% chsh -s ${prefix}/bin/${my_name}"
      }

      platform darwin 8 {
      post-configure {
      # poll(2) is broken on Darwin 8.
      reinplace "s|#define HAVE_POLL 1|#undef HAVE_POLL|" ${worksrcpath}/config.h
      }
      }

      Variant: mp_completion description {Install port(1) completion file} {
      post-destroot {
      set sitedir ${prefix}/share/${my_name}/site-functions
      xinstall -m 0644 ${filespath}/_port ${destroot}${sitedir}
      }
      }

      Variant: pcre description {Add regular expressions support in builtin functions through PCRE} {
      configure.args-append --enable-pcre
      depends_lib-append port:pcre
      }

      Variant: doc description {Install extra documentation} {
      distfiles-append [suffix ${distname}-doc]

      post-build {
      system "${build.cmd} -C ${worksrcpath}/Doc html info"
      }

      destroot.target-append install.html install.info
      }

      Variant: examples description {Install configuration examples} {
      distfiles-append ${love_distfile}:love
      extract.only-delete ${love_distfile}

      post-extract {
      system "tar xzf ${distpath}/${love_distfile} -C ${workpath}"
      }

      post-destroot {
      proc xinstall_dir {dir destdir} {
      xinstall -d ${destdir}

      foreach {file} [glob ${dir}/*] {
      if {[file isdirectory ${file}]} {
      xinstall_dir ${file} [file join ${destdir} [file tail ${file}]]
      } else {
      xinstall -m 0644 ${file} ${destdir}
      }
      }
      }

      xinstall -m 0644 ${worklovepath}/refcard.pdf ${destroot}${docdir}/pdf
      xinstall_dir ${worklovepath}/zsh_people ${destroot}${docdir}/examples
      }
      }

      livecheck.distname ${my_name}-dev

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

     Where to find more information:

    Darwin Ports



    image test