# $Id: Portfile 78632 2011-05-14 22:50:58Z ryandesign@macports.org $

PortSystem          1.0

name                zsh-templates-osx
version             2.0.4
categories          sysutils shells

maintainers         mnick

description         Customization of the zsh shell for OS X
long_description    This is a collection of files that help the user to customize \
                    the zsh shell for the Mac OS X operating system. It is entirely \
                    optional and is not part of the zsh shell distribution. \
                    It is designed to \'work out of the box\' but to be amenable \
                    to customization. 
license             GPL-2

platforms           darwin

homepage            http://zsh-templates-osx.googlecode.com
master_sites        googlecode:${name}
distname            zsh-templates-${version}
extract.suffix      .tgz

checksums           md5     c9d1b25e4de0dbd741707c100e07c9b7 \
                    sha1    8a7df46a6cbc8aa118f46b0fc3ce92cee1e398d6 \
                    rmd160  2c7a64b31a1ad5861f1e98cdf1d6da3d1b09fc52

depends_lib-append  path:${prefix}/bin/zsh:zsh
use_configure       no

build {}

destroot { 
    file copy ${worksrcpath}/Library/init/zsh ${destroot}${prefix}/etc
    file copy ${worksrcpath}/etc/zshenv ${destroot}${prefix}/etc
    file copy ${worksrcpath}/etc/zshrc ${destroot}${prefix}/etc
    file delete ${destroot}${prefix}/etc/zsh/zshrc_local.d/phenix_env.zsh
}

