SUMMARY="Zsh is 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"
LICENSE="ZSH"
COPYRIGHT="1992-2013, Paul Falstad, Richard Coleman, Zoltán Hidvégi, Andrew Main, Peter Stephenson, Sven Wishnowsky, and others."
SRC_URI="http://sourceforge.net/projects/zsh/files/zsh/5.0.2/zsh-5.0.2.tar.bz2"
CHECKSUM_MD5="b8f2ad691acf58b3252225746480dcad"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
PATCHES="zsh-5.0.2.patchset"
PROVIDES="
	zsh = $portVersion compat >= 5
	cmd:zsh = $portVersion compat >= 5
	cmd:zsh_$portVersion = $portVersion compat >= 5
	"
REQUIRES="
	haiku >= $haikuVersion
	lib:libncurses
	lib:libpcre
	"
BUILD_REQUIRES="
	devel:libncurses
	devel:libpcre
	"
BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	cmd:autoconf
	cmd:find
	cmd:gcc
	cmd:ld
	cmd:make
	"


BUILD()
{
	runConfigure ./configure
	make
}

INSTALL()
{
	make install
}
