# $Id: Portfile,v 1.1 2004/02/11 18:25:09 bbraun Exp $

PortSystem 1.0
name            basiliskii
version         0.9
categories      emulators
maintainers     bbraun@opendarwin.org
description     Opensource 68k Mac emulator
long_description " Just type 'BasiliskII' at the command prompt inside an x environment. To use Basilisk II, you need either a 512K Mac Classic ROM image or a 512K or 1MB 32-bit clean Macintosh ROM image. You also need a copy of MacOS (0.x thru 7.5 for Classic emulation, 7.x or 8.0/8.1 for Mac II emulation).  For copyright reasons, none of these items are included with Basilisk II.  MacOS 7.5.3 and earlier versions can be downloaded from Apple and various other Internet sites. Mac ROM files are not freely available. You have to own a real Mac and read out its ROM."

homepage        http://www.Uni-Mainz.DE/~bauec002/B2Main.html
distfiles       BasiliskII_src_31052001.tar.gz
master_sites    sourceforge:basilisk
checksums       md5 5017e21226c27a4a029da0486dcf04e1
depends_lib	lib:libX11.6:XFree86 lib:libgtk.1:gtk1
worksrcdir      BasiliskII-${version}/src/Unix
configure.args  --without-esd --without-mon --disable-xf86-dga
post-patch {
                file copy -force /usr/share/libtool/config.guess ${worksrcpath}/
                file copy -force /usr/share/libtool/config.sub ${worksrcpath}/
}
build.args      CC=c++
