1SUMMARY="Plots an abitrary number of functions in parameter form"
2DESCRIPTION="The graph can be saved to a file as a bitmap, can be printed out \
3to a printer and can be copied to the clipboard.
4
5Includes a small functional programming language to define constants and \
6functions."
7HOMEPAGE="https://github.com/HaikuArchives/FunctionPlotter"
8COPYRIGHT="2000 Michael Pfeiffer"
9LICENSE="GNU GPL v2"
10REVISION="1"
11srcGitRev="571951244bfc6a5bad871c5fccab87b6a3ca7efd"
12SOURCE_URI="https://github.com/HaikuArchives/FunctionPlotter/archive/$srcGitRev.tar.gz"
13CHECKSUM_SHA256="3f6c420e1348985e3ecc410b287cd982daa00489f8f69733ffb93936c5499c08"
14SOURCE_FILENAME="FunctionPlotter-$portVersion-$srcGitRev.tar.gz"
15SOURCE_DIR="FunctionPlotter-$srcGitRev"
16
17ARCHITECTURES="?all x86_gcc2"
18
19PROVIDES="
20	functionplotter = $portVersion
21	app:FunctionPlotter = $portVersion
22	"
23REQUIRES="
24	haiku
25	"
26
27BUILD_REQUIRES="
28	haiku_devel
29	"
30BUILD_PREREQUIRES="
31	makefile_engine
32	cmd:g++
33	cmd:make
34	cmd:xres
35	"
36
37BUILD()
38{
39	make $jobArgs -C src
40}
41
42INSTALL()
43{
44	mkdir -p "$appsDir"
45	cp ./src/FunctionPlotter "$appsDir"
46
47	addAppDeskbarSymlink "$appsDir"/FunctionPlotter
48}
49