1SUMMARY="An integrated development environment for yab"
2DESCRIPTION="Yab allows fast prototyping with simple and clean code. yab \
3contains a large number of BeAPI specific commands for GUI creation and much, \
4much more.
5
6yab wouldn't be complete without the yab-IDE, a powerful development \
7environment, which of course is programmed in yab itself."
8HOMEPAGE="https://software.besly.de/"
9COPYRIGHT="2006-2015 Jan Bungeroth
10	2015-2017 Jim Saxton
11	2021-2022 Lorenz Glaser (lorglas) BeSly Software Solutions"
12LICENSE="Artistic"
13REVISION="1"
14SOURCE_URI="https://github.com/lorglas/yab_ide/archive/$portVersion.tar.gz"
15CHECKSUM_SHA256="59917ca49233a2b5d4e143ff0972870e859bf2e6238d3a116bfce4ff88f1eed9"
16SOURCE_FILENAME="yab_ide-$portVersion.tar.gz"
17SOURCE_DIR="yab_ide-$portVersion"
18ADDITIONAL_FILES="yab.hvif"
19
20ARCHITECTURES="all !x86"
21DISABLE_SOURCE_PACKAGE="YES"
22
23PROVIDES="
24	yab_ide = $portVersion
25	app:yab_IDE = $portVersion
26	"
27REQUIRES="
28	haiku
29	#yab_buildfactory
30	yab_documentation
31	yab
32	"
33# devel:libz is needed both to build and for the BuildFactory to do its work.
34
35BUILD_REQUIRES=""
36BUILD_PREREQUIRES=""
37
38INSTALL()
39{
40	mkdir -p $appsDir/yab-IDE
41	cp -R * $appsDir/yab-IDE
42	addattr -t icon -f $portDir/additional-files/yab.hvif "BEOS:ICON" "$appsDir/yab-IDE/yab-IDE.yab"
43	chmod 777 $appsDir/yab-IDE/yab-IDE.yab
44	DIR_YAB_DESKBAR="${dataDir}/deskbar/menu/Applications/yab"
45	mkdir -p ${DIR_YAB_DESKBAR}
46	addAppDeskbarSymlink ${appsDir}/yab-IDE/yab-IDE.yab "yab/yab-IDE"
47	DIR_YAB_LOCALE="${dataDir}/locale/catalogs/"
48	mkdir -p ${DIR_YAB_LOCALE}
49	cp -R Language/x-vnd.yab-IDE ${DIR_YAB_LOCALE}
50}
51