1SUMMARY="A desktop calculator with a skinable interface"
2DESCRIPTION="CoveredCalc is a desktop calculator whose look and feel is \
3flexibly customizable. It works on Windows, BeOS, and Haiku. In this \
4application the word \"cover\" means a set of files for its design, \
5instead of the commonly used word \"skin\"."
6HOMEPAGE="https://code.google.com/p/coveredcalc"
7COPYRIGHT="2008 hiron"
8LICENSE="MIT"
9REVISION="1"
10SOURCE_URI_1="svn+http://coveredcalc.googlecode.com/svn/trunk@72"
11SOURCE_URI_2="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/coveredcalc/CoveredCalcBe1.10.0.zip"
12CHECKSUM_SHA256_2="f5256c9cdb581c0246292005e9d3275586552bd4630b91e7372bd1903a94b669"
13
14ARCHITECTURES="x86_gcc2 ?x86"
15
16PROVIDES="
17	coveredcalc = $portVersion
18	app:CoveredCalc = $portVersion
19	"
20REQUIRES="
21	haiku
22	"
23
24BUILD_REQUIRES="
25	haiku_devel
26	"
27BUILD_PREREQUIRES="
28	cmd:gcc
29	cmd:make
30	cmd:svn
31	cmd:xres
32	"
33
34BUILD()
35{
36	cd Sources/CoveredCalc/CoveredCalcBe
37	make release $jobArgs
38}
39
40INSTALL()
41{
42	mkdir -p $appsDir/CoveredCalc/{NLS,Keymaps}
43	cp Sources/CoveredCalc/CoveredCalcBe/obj.release/CoveredCalc $appsDir/CoveredCalc
44	cp LangFiles/BeOS/* $appsDir/CoveredCalc/NLS
45	cp KeyMappings/BeOS/* $appsDir/CoveredCalc/Keymaps
46	cp -R ../../sources-2/CoveredCalc/Covers $appsDir/CoveredCalc
47	addAppDeskbarSymlink $appsDir/CoveredCalc/CoveredCalc
48}
49