SUMMARY="68k Macintosh emulator"
DESCRIPTION="Basilisk II is an Open Source 68k Macintosh emulator. That is, it \
allows you to run 68k MacOS software on your computer, even if you are using a \
different operating system. However, you still need a copy of MacOS and a \
Macintosh ROM image to use Basilisk II."
HOMEPAGE="http://basilisk.cebix.net/"
COPYRIGHT="1997-2015 Christian Bauer, Gwenolé Beauschene"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://basilisk.cebix.net/downloads/BasiliskII_src_31052001.tar.gz"
CHECKSUM_SHA256="627b94b3aaf23c374d72c3084c6c648521a50ba459e53eb1c0532ed4e02925d5"
SOURCE_DIR="BasiliskII-0.9"
PATCHES="basiliskii-0.9.1.patchset"

ARCHITECTURES="x86_gcc2"

PROVIDES="
	basiliskii = $portVersion
"

BUILD_REQUIRES="
	haiku_devel
	makefile_engine
"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:make
"

BUILD()
{
	cd src/BeOS
	make $jobArgs
}

INSTALL()
{
	cd src/BeOS
	make install INSTALL_DIR=$appsDir/BasiliskII
}
