SUMMARY="Manages Haiku themes"
DESCRIPTION="
The Haiku Theme Manager is compatible with the one that shipped with ZETA. \
Users can choose which part of a theme to apply or save. It can also import \
BeTheme themes, and to some degree, MS Plus themes. It is add-ons based, so it \
can be extended.
" 
HOMEPAGE="https://github.com/HaikuArchives/HaikuThemeManager" 
SRC_URI="git://github.com/HaikuArchives/HaikuThemeManager.git#400a0ff17173a2510e24bf737df0bb218a9c531c"
# 20 October 2013 commit
LICENSE="MIT"
COPYRIGHT="2000-2012 François Revol"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
	thememanager = $portVersion
	app:thememanager = $portVersion
"
REQUIRES="
	haiku >= $haikuVersion
"
BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:git
	cmd:gcc
	cmd:make
	cmd:mkdepend
	cmd:ld
"

BUILD()
{
	cd src
	make OBJ_DIR=objects BUILDHOME=/boot/system/develop $jobArgs
}

INSTALL()
{
	cd src
	make OBJ_DIR=objects BUILDHOME=/boot/system/develop INSTALL_DIR=$preferencesDir install
	addPreferencesDeskbarSymlink $preferencesDir/ThemeManager
}
