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/"
COPYRIGHT="1996-2011 Steve Baker"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://mama.indstate.edu/users/ice/tree/src/tree-$portVersion.tgz"
CHECKSUM_SHA256="715d5d4b434321ce74706d0dd067505bb60c5ea83b5f0b3655dae40aa6f9b7c2"
PATCHES="tree-$portVersion.patchset"

ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"

PROVIDES="
	tree$secondaryArchSuffix = $portVersion
	cmd:tree$secondaryArchSuffix = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	"
BUILD_PREREQUIRES="
	cmd:gcc$secondaryArchSuffix
	cmd:ld$secondaryArchSuffix
	cmd:make
	"

BUILD()
{
	make
}

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