# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup cebix macemu 1c9b21f580501c5d5833935375945479c5651964
checksums rmd160 297cd3d06818cec3e567adb0b19b3fc3d7334afb \
sha256 54064cde03e8b5b2d18f2d4bda1dae45502dfb3c94297fd1dc606ff15ef20321
# we need a name here as the github-supplied name is not correct for this port
# at present basiliskii is best built as 32bit, so we we build the gtk2 gui
# separately as a subport to avoid expensively rebuilding all of
# gtk2 and all the dependencies as +universal
subport basiliskii-gui-devel {}
maintainers {kencu @kencu} openmaintainer
homepage http://basilisk.cebix.net/
worksrcdir ${distname}/BasiliskII/src/Unix
configure.cmd ./autogen.sh
patchfiles-append patch-001-Basilisk-makefile-in-ditto-patch.diff \
patch-002-configure-ac-delete-stdlib-addition-darwin.diff \
patch-003-basiliskii-fix-missing-keycodes-macosxgui-selection.diff
depends_build port:autoconf \
set basiliskii_dir /BasiliskII
if {${subport} eq "basiliskii-devel"} {
description Opensource 68k Mac emulator.
Longstanding 68K Macintosh emulator. Requires an appropriate Macintosh ROM image and a copy \
of Mac OS (0.x thru 7.5 for Classic emulation, 7.x or 8.0/8.1 for Mac II emulation), and \
these are not supplied with this port. The emulator will be installed into your \
MacPorts Applications folder.
# no need for gui to be same architecture as the emulator
depends_skip_archcheck-append \
depends_lib port:libsdl \
port:basiliskii-gui-devel
configure.args --disable-vosf \