SUMMARY="A tool to retro-fit looks and layout of existing folders"
DESCRIPTION="
If you want your folders to have a certain icon, set of columns, backgrounds, \
pergaps even some default content, FolderShaper lets you chnage all that in a \
snap. Create a perfect folder, add it as a foldershaper template, then drop \
your folders on FolderShaper and select the template from the pop-up menu.
"
HOMEPAGE="https://github.com/HaikuArchives/FolderShaper"
SRC_URI="git://github.com/HaikuArchives/FolderShaper.git"
REVISION="1"
LICENSE="Public Domain"
COPYRIGHT="2005 Jonas Sundström"
ARCHITECTURES="x86 x86_gcc2"
 
PROVIDES="
	foldershaper = $portVersion
	app:foldershaper = $portVersion
	addon:foldershaper = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	cmd:mkdepend
	"

BUILD()
{
	cd Source
	make
}

INSTALL()
{
	cd  Source
	make install INSTALL_DIR=$appsDir/FolderShaper
	mkdir -p $addOnsDir/Tracker
	ln -s $appsDir/FolderShaper/FolderShaper $addOnsDir/Tracker
	addAppDeskbarSymlink $appsDir/FolderShaper/FolderShaper "FolderShaper"
	cp ../README $appsDir/FolderShaper/README
}
