1SUMMARY="A dictionary for Haiku"
2DESCRIPTION="This program is a BeOS port of KDictionary translation program \
3for Linux by Ivan V. Murasko. It follows the main concept of original linux \
4program but mainly is a real BeOS program."
5HOMEPAGE="https://github.com/HaikuArchives/tolmach"
6COPYRIGHT="1999 Ivan V. Murasko"
7LICENSE="GNU GPL v2"
8REVISION="2"
9srcGitRev="bef06da57cf34e43a428f3e95855bd77a959cb1d"
10SOURCE_URI="https://github.com/HaikuArchives/tolmach/archive/$srcGitRev.tar.gz"
11CHECKSUM_SHA256="d37169523cdfaa4acc0e8c67c97943e74d70767d08671574948a28553a1f17f2"
12SOURCE_DIR="Tolmach-$srcGitRev"
13
14ARCHITECTURES="?all x86_gcc2 x86"
15
16USER_SETTINGS_FILES="
17	settings/Tolmach_Preferences directory"
18
19PROVIDES="
20	tolmach = $portVersion
21	app:Tolmach = $portVersion
22	"
23REQUIRES="
24	haiku
25	"
26
27BUILD_REQUIRES="
28	haiku_devel
29	"
30BUILD_PREREQUIRES="
31	makefile_engine
32	cmd:gcc
33	cmd:make
34	"
35
36BUILD()
37{
38	make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` OBJ_DIR=objects
39}
40
41INSTALL()
42{
43	mkdir -p $appsDir $dataDir/Tolmach
44
45	cp objects/Tolmach $appsDir
46	cp Dictionaries/*.pgb $dataDir/Tolmach
47
48	addAppDeskbarSymlink $appsDir/Tolmach
49}
50