Portfile

# $Id: Portfile 22176 2007-02-20 21:51:38Z pmq@macports.org $

PortSystem 1.0

name qemu
version 0.9.0
categories emulators
platforms darwin
maintainers pmq@macports.org

description x86 and PowerPC Emulator
long_description QEMU is a FAST! processor emulator using dynamic \
translation to achieve good emulation speed. It \
can emulate a Full PC System and has basic support \
for PowerMac Emulation.

homepage http://fabrice.bellard.free.fr
master_sites ${homepage}/qemu
checksums sha1 1e57e48a06eb8729913d92601000466eecef06cb \
rmd160 4296542b6da18a6ac93d20787330d3c1c2ac0a19

platform macosx {
configure.args-append --enable-coreaudio --enable-cocoa
}

# gcc3 isn't available on darwin/x86?
platform darwin 8 {
configure.args-append --cc=/usr/bin/gcc-3.3 --host-cc=/usr/bin/gcc-3.3 \
--interp-prefix=${prefix}/share/qemu-%M
}

files