Portfile

PortSystem 1.0

name basiliskii-devel
version 1.0-20060314
categories emulators
platforms darwin
maintainers opendarwin.nospam@vercruesse.de
description 68k Mac emulator
long_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/

fetch.type cvs
cvs.root :pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix
cvs.password anoncvs
cvs.module BasiliskII
cvs.date 20060314

depends_build port:autoconf \
port:automake

depends_lib port:libsdl \
port:gtk2

worksrcdir BasiliskII/src/Unix

patchfiles patch-src-Unix-configure.ac


pre-configure {
system "cd ${worksrcpath} && NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh"
}

configure.args --enable-sdl-video --enable-sdl-audio \
--disable-vosf --without-mon \
--with-gtk --without-esd


post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -W ${worksrcpath}/../../ README TECH TODO COPYING ChangeLog \
INSTALL ${destroot}${prefix}/share/doc/${name}
}


post-activate {
ui_msg "To use Basilisk II, you need either a 512K Mac Classic ROM image"
ui_msg "or a 512K or 1MB 32-bit clean Macintosh ROM image. You also need"
ui_msg "a copy of MacOS (0.x thru 7.5 for Classic emulation, 7.x or 8.0/"
ui_msg "8.1 for Mac II emulation). For copyright reasons, none of these"
ui_msg "items are included with Basilisk II. MacOS 7.5.3 and earlier"
ui_msg "versions can be downloaded from Apple and various other Internet"
ui_msg "sites. Mac ROM files are not freely available. You have to own a"
ui_msg "real Mac and read out its ROM."
}


variant no_x11 {
depends_lib-delete port:gtk2
configure.args-delete --with-gtk
configure.args-append --without-gtk
}

#variant static {
# configure.args-append --enable-sdl-static
#}

files