# $Id: Portfile 30184 2007-10-22 19:32:09Z mww@macports.org $ PortSystem 1.0 name qemu-usermode version 0.9.0 categories emulators platforms darwin maintainers mww 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. This port has no GUI and only \ supports user mode emulation (darwin/i386 and ppc). homepage http://fabrice.bellard.free.fr/ master_sites ${homepage}/qemu checksums sha1 1e57e48a06eb8729913d92601000466eecef06cb \ rmd160 4296542b6da18a6ac93d20787330d3c1c2ac0a19 distname qemu-${version} patchfiles patch-q-i386 patch-configure set nprefix ${prefix}/lib/${name} configure.pre_args --prefix=${nprefix} configure.args \ --enable-darwin-user --disable-system --disable-kqemu \ --disable-cocoa --disable-adlib --disable-gfx-check \ --target-list=i386-darwin-user,ppc-darwin-user \ --interp-prefix=${nprefix}/%M platform darwin 8 { configure.args-append \ --disable-gcc-check \ --cc=/usr/bin/gcc-4.0 --host-cc=/usr/bin/gcc-4.0 } post-destroot { cd ${destroot}${prefix}/lib/${name}/share file delete -force doc man system "cd ${destroot}${prefix}/bin && \ ln -sf ${nprefix}/bin/qemu-i386 && \ ln -sf ${nprefix}/bin/qemu-ppc" } livecheck.name qemu