# -*- 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 2e302d60a337daa252c6992335e6365a9beac83f
checksums rmd160 b7240735e8ca7ad7a263a4bb69935ad68b34a878 \
sha256 dc4be91e7357b9f22343dba0de7d0d724d12031798fe7947a74074526a55b9e4 \
# we need a name here as the github-supplied name is not correct for this port
# at present sheepshaver 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 sheepshaver-gui {}
maintainers {kencu @kencu} openmaintainer
homepage http://sheepshaver.cebix.net/
worksrcdir ${distname}/SheepShaver/src/Unix
configure.cmd ./autogen.sh
patchfiles-append patch-001-sheepshaver-makefile-in-ditto-patch.diff
configure.cppflags-append -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=1
depends_build port:autoconf \
# to fix an errant header owned by arpack that also provides debug.h (not a great name, arpack!)
# force finding our includes first
configure.cppflags-prepend -I${worksrcpath}/../include
set sheepshaver_dir /SheepShaver
if {${subport} eq "sheepshaver"} {
# conflicts sheepshaver-devel (to be added later)
description Opensource PPC Mac emulator.
Longstanding PowerPC Macintosh emulator. Requires an appropriate Macintosh ROM image and a copy \
of Mac OS (8.1 through 9.02), and \
these are not supplied with this port. The emulator will be installed into your \
MacPorts Applications folder.
variant SixtyFour description "Build 64 bit." {}
# no need for gui to be same architecture as the emulator
depends_skip_archcheck-append \