1SUMMARY="An integrated development environment (IDE)"
2DESCRIPTION="Ideam is an IDE with support for C++ and Rust projects.
3The editor is based on Scintilla editing component."
4HOMEPAGE="https://github.com/AmosCaster/ideam"
5COPYRIGHT="2017-2018 A. Mosca"
6LICENSE="MIT"
7REVISION="1"
8SOURCE_URI="https://github.com/AmosCaster/ideam/archive/ver-$portVersion.tar.gz"
9CHECKSUM_SHA256="542e0cffed3c51a14ddd5be526d15eaaf5a498b9d1ac9c3b70b4ea25f1cddbd2"
10SOURCE_DIR="ideam-ver-$portVersion"
11PATCHES="ideam-$portVersion.patchset"
12
13# needs update to Scintilla 5
14ARCHITECTURES="?all !x86_gcc2"
15SECONDARY_ARCHITECTURES="?x86"
16
17USER_SETTINGS_FILES="
18	settings/Ideam directory
19	"
20
21PROVIDES="
22	ideam$secondaryArchSuffix = $portVersion
23	app:Ideam = $portVersion
24	"
25REQUIRES="
26	haiku$secondaryArchSuffix
27	lib:libscintilla$secondaryArchSuffix
28	"
29
30BUILD_REQUIRES="
31	haiku${secondaryArchSuffix}_devel
32	devel:libscintilla$secondaryArchSuffix
33	"
34BUILD_PREREQUIRES="
35	makefile_engine
36	cmd:g++$secondaryArchSuffix
37	cmd:make
38	"
39
40BUILD()
41{
42	make $jobArgs OBJ_DIR=objects
43	make bindcatalogs OBJ_DIR=objects
44}
45
46INSTALL()
47{
48	mkdir -p $appsDir
49	cp -af app/Ideam $appsDir
50	addAppDeskbarSymlink $appsDir/Ideam
51}
52