# -*- coding: utf-8; mode: tcl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=2:ts=2:sts=2 # $Id$ PortSystem 1.0 PortGroup github 1.0 set git_shasum 86c50b78fe set git_date 2013-11-05 github.setup cebix macemu ${git_shasum} name basiliskii-devel version 1.0_git_${git_date}_${git_shasum} revision 1 categories emulators platforms darwin maintainers nomaintainer description 68k Mac emulator long_description Basilisk II is an Open Source 68k Macintosh emulator.\ That is, it allows you to run 68k Mac OS software on your \ computer, even if you are using a different operating \ system. However, you still need a copy of Mac OS and a \ Macintosh ROM image to use Basilisk II. homepage http://basilisk.cebix.net/ checksums rmd160 49ff473856b1db0ee802470f7b5d8f2d47d22e31 \ sha256 90291cc63f93004f17003227bcc9347753e3487bf7345b64b9597ab14525fd83 depends_build port:autoconf \ port:automake depends_lib port:libsdl patchfiles patch-src-Unix-configure.ac worksrcdir "${worksrcdir}/BasiliskII/src/Unix" pre-configure { system -W ${worksrcpath} "NO_CONFIGURE=yes ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh" } configure.args --enable-sdl-video \ --enable-sdl-audio \ --disable-vosf \ --without-esd \ --without-gtk \ --without-mon 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 Mac OS (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. Mac OS 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." } # TODO: figure out how to build a native Mac OS X application # (then +gtk could probably be removed) variant gtk { depends_lib-append port:gtk2 configure.args-replace --without-gtk --with-gtk } default_variants +gtk #variant static { # configure.args-append --enable-sdl-static #}