SUMMARY="A UNIX command interpreter (shell)" DESCRIPTION="Zsh is a shell designed for interactive use, although it \ is also a powerful scripting language. Many of the useful features of \ bash, ksh, and tcsh were incorporated into zsh; many original features \ were added." HOMEPAGE="http://www.zsh.org" COPYRIGHT="1992-2014 Paul Falstad, Richard Coleman, Zoltán Hidvégi, \ Andrew Main, Peter Stephenson, Sven Wishnowsky, and others" LICENSE="ZSH" REVISION="2" SOURCE_URI="http://sourceforge.net/projects/zsh/files/zsh/$portVersion/zsh-$portVersion.tar.bz2" CHECKSUM_SHA256="544e27de81740286b916d1d77c9f48ad7c26ad7943ed96d278abee67cf6704b3" PATCHES="zsh-$portVersion.patchset" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" zsh$secondaryArchSuffix = $portVersion compat >= 5 cmd:zsh$secondaryArchSuffix = $portVersion compat >= 5 cmd:zsh_$portVersion$secondaryArchSuffix = $portVersion compat >= 5 cmd:sh$secondaryArchSuffix " REQUIRES=" haiku$secondaryArchSuffix lib:libncurses$secondaryArchSuffix lib:libpcre$secondaryArchSuffix lib:libiconv$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libncurses$secondaryArchSuffix devel:libpcre$secondaryArchSuffix devel:libiconv$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:autoconf cmd:find cmd:gcc$secondaryArchSuffix cmd:ld cmd:make cmd:sed cmd:awk " BUILD() { autoreconf -fi CFLAGS=-D_BSD_SOURCE runConfigure ./configure \ --enable-zshrc=`finddir B_USER_SETTINGS_DIRECTORY`/zsh/.zshrc \ --sysconfdir=`finddir B_USER_SETTINGS_DIRECTORY`/zsh \ --enable-etcdir=`finddir B_USER_SETTINGS_DIRECTORY`/zsh make $jobArgs } INSTALL() { make install ln -s zsh $binDir/sh } TEST() { make check }