1SUMMARY="An improved version of StyledEdit"
2DESCRIPTION="StyledEditPlus is an improved version of Haiku's original \
3\"notepad\" application, which comes with new features such as an easily \
4accessible toolbar and a bullet point formatting."
5HOMEPAGE="https://github.com/Paradoxianer/StyledEditPlus"
6COPYRIGHT="2015 Matthias \"Paradoxianer\" Lindner"
7LICENSE="MIT"
8REVISION="1"
9srcGitRev="e6442e0e036428eeba6d33322b99856f1e158e00"
10SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
11CHECKSUM_SHA256="72115beb196882234e414fcab05c7040870b643d978dfc57aecd26f86dd7cd47"
12SOURCE_FILENAME="StyledEditPlus-$portVersion-$srcGitRev.tar.gz"
13SOURCE_DIR="StyledEditPlus-$srcGitRev"
14srcGitRev_2="52384217f32eb93f0a6b2d04453bb68f561e39c0"
15SOURCE_URI_2="https://github.com/Paradoxianer/FontPanel/archive/$srcGitRev_2.tar.gz"
16CHECKSUM_SHA256_2="51732271c81e70dbc65fa6c2dbcf9af2b117b36affe5f17f04b71286939c01b0"
17
18ARCHITECTURES="?all x86_gcc2"
19
20PROVIDES="
21	stylededitplus = $portVersion
22	app:StyledEditPlus = $portVersion
23	"
24REQUIRES="
25	haiku
26	"
27
28BUILD_REQUIRES="
29	haiku_devel
30	"
31BUILD_PREREQUIRES="
32	makefile_engine
33	cmd:g++
34	cmd:make
35	"
36
37BUILD()
38{
39	cp -rd $sourceDir2/FontPanel-$srcGitRev_2/* \
40		src/ui/Panels/FontPanel/
41	make OBJ_DIR=objects -C src
42}
43
44INSTALL()
45{
46	install -d $appsDir
47	install -t $appsDir src/objects/StyledEditPlus
48	addAppDeskbarSymlink $appsDir/StyledEditPlus
49}
50