SUMMARY="Lists directories and files recursively."
DESCRIPTION="
Lists directories recursively, and produces an indented listing of files.
"

HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
SRC_URI="http://mama.indstate.edu/users/ice/tree/src/tree-$portVersion.tgz"
CHECKSUM_SHA256="6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12"

REVISION="1"

LICENSE="GNU GPL v2"
COPYRIGHT="1996-2011 Steve Baker"

ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"

PATCHES="tree-1.7.0.patchset"

PROVIDES="
	tree = $portVersion
	cmd:tree$secondaryArchSuffix = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix >= $haikuVersion
	"
BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel >= $haikuVersion
	"
BUILD_PREREQUIRES="
	cmd:gcc$secondaryArchSuffix
	cmd:ld$secondaryArchSuffix
	cmd:make
	"
	
BUILD()
{
	make
}

INSTALL()
{
	make install MANDIR=$manDir/man1 prefix=$prefix
}
