SUMMARY="Documentation for yab"
DESCRIPTION="Documentation for yab programming language"
HOMEPAGE="https://software.besly.de/"
COPYRIGHT="2006-2015 Jan Bungeroth
	2015-2017 Jim Saxton
	2020-2022 Lorenz Glaser (lorglas) BeSly Software Solutions"
LICENSE="Artistic"
REVISION="1"
SOURCE_URI="https://github.com/lorglas/yab_documentation/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="8ef9d5b554dc81d2222978f57ceefc8d10932593a6f0653d195eaa4895e8f89b"
SOURCE_FILENAME="yab_documentation-$portVersion.tar.gz"
SOURCE_DIR="yab_documentation-$portVersion"
ADDITIONAL_FILES="
	yab.hvif"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="
	yab_documentation = $portVersion
	"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES=""

INSTALL()
{
	mkdir -p $documentationDir/yab
	addattr -t icon -f $portDir/additional-files/yab.hvif "BEOS:ICON" "BeSly-yab_Documentation.yab"
	cp -r * $documentationDir/yab
	DIR_YAB_DESKBAR="${dataDir}/deskbar/menu/Applications/yab"
	mkdir -p ${DIR_YAB_DESKBAR}
	addAppDeskbarSymlink $documentationDir/yab "yab/yab-Documentation"
	addAppDeskbarSymlink $documentationDir/yab/BeSly-yab_Documentation.yab "yab/BeSly-yab_Documentation"
	DIR_YAB_LOCALE="${dataDir}/locale/catalogs/"
	mkdir -p ${DIR_YAB_LOCALE}
	cp -R language/x-vnd.BeSly_Documentation ${DIR_YAB_LOCALE}
}
