1SUMMARY="An arcade-style game similar to dig dug"
2DESCRIPTION="Digger was originally created by Windmill software in 1983 and \
3released as a copy-protected, bootable 5.25 floppy disk for the IBM PC.
4As it requires a genuine CGA card, it didn't work on modern PCs.
5In 1998, I created Digger Remastered, which runs on all PCs with CGA \
6or better and plays just like the original.
7It also has many new features, including:
8
9- Exit button
10- Optional VGA graphics
11- Recording and playback
12- Real time speed control
13- Keyboard redefinition
14- Gauntlet mode
15- Two player simultaneous mode"
16HOMEPAGE="https://digger.org"
17COPYRIGHT="1983 Windmill Software
18	1998 Andrew Jenner
19	2002 Maxim Sobolev"
20LICENSE="GNU GPL v2"
21REVISION="1"
22SOURCE_URI="http://digger.org/digger-$portVersion.tar.gz"
23CHECKSUM_SHA256="e45cb1c5b67fba2fa1b768d1ed75153a64f82e73544c3d98eaf2c37b1dbefdc7"
24PATCHES="digger-$portVersion.patchset"
25ADDITIONAL_FILES="digger.rdef"
26
27ARCHITECTURES="all !x86_gcc2"
28SECONDARY_ARCHITECTURES="x86"
29
30PROVIDES="
31	digger$secondaryArchSuffix = $portVersion
32	app:Digger = $portVersion
33	"
34REQUIRES="
35	haiku$secondaryArchSuffix
36	lib:libSDL_1.2$secondaryArchSuffix
37	lib:libz$secondaryArchSuffix
38	"
39
40BUILD_REQUIRES="
41	haiku${secondaryArchSuffix}_devel
42	devel:libSDL_1.2$secondaryArchSuffix
43	devel:libz$secondaryArchSuffix
44	"
45BUILD_PREREQUIRES="
46	cmd:make
47	cmd:gcc$secondaryArchSuffix
48	"
49
50BUILD()
51{
52	make -f Makefile.sdl $jobArgs
53}
54
55INSTALL()
56{
57	mkdir -p $appsDir
58	cp -a digger $appsDir/Digger
59	addAppDeskbarSymlink $appsDir/Digger
60	addResourcesToBinaries $portDir/additional-files/digger.rdef $appsDir/Digger
61}
62