1SUMMARY="Automatic desktop color changer"
2DESCRIPTION="
3This program was inspired by the 'TaveDesktop' program by the Tave Software \
4Group. I think that 'TaveDesktop' was a good idea, but I wanted to be able to \
5choose my own colors, since the 'TaveDesktop' colors looks bad on an 8bpp \
6display.
7This program should be self-explanatory. You'll find a small Popup menu when \
8clicking the small screen at the top-right corner of the window.
9"
10HOMEPAGE="https://github.com/HaikuArchives/NightAndDay"
11COPYRIGHT="1998-1999 Jean-Baptiste M. Queru"
12LICENSE="GNU GPL v2"
13REVISION="7"
14srcGitRev="df52d63a388bb5657fb368bee5c143a226b61c26"
15SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
16CHECKSUM_SHA256="3c6e67b9a23f5cd76ce7b28cd8b2ada7f5b723871d26c0ea574fec9965e43300"
17SOURCE_DIR="NightAndDay-$srcGitRev"
18
19ARCHITECTURES="all"
20
21PROVIDES="
22	nightandday = $portVersion
23	app:NightAndDay = $portVersion
24	"
25REQUIRES="
26	haiku
27	"
28
29BUILD_REQUIRES="
30	haiku_devel
31	"
32BUILD_PREREQUIRES="
33	cmd:g++
34	cmd:ld
35	"
36
37BUILD()
38{
39	cd src
40	g++ -o NightAndDay nd.cpp -fomit-frame-pointer -ffast-math -Wall -W -Wno-multichar -Werror -D PI=3.141592 -lbe
41}
42
43INSTALL()
44{
45	mkdir -p $appsDir
46	cp src/NightAndDay $appsDir
47	mkdir -p $docDir
48	cp ReadMe $docDir
49	addAppDeskbarSymlink $appsDir/NightAndDay
50}
51