Ticket #20639: Portfile-draft

File Portfile-draft, 1.4 KB (added by ranauei@…, 15 years ago)

Draft Portfile of merged ports qemu and qemu-usermode

Line 
1# $Id: Portfile 51335 2009-05-23 04:56:21Z raimue@macports.org $
2
3PortSystem 1.0
4
5name                    qemu
6version                 0.11.0-rc1
7categories              emulators
8platforms               darwin
9maintainers             nomaintainer
10
11description             x86 and PowerPC Emulator
12long_description        QEMU is a FAST! processor emulator using dynamic \
13                        translation to achieve good emulation speed. It \
14                        can emulate a Full PC System and has basic support \
15                        for PowerMac Emulation.
16
17homepage                http://www.nongnu.org/qemu/
18master_sites            nongnu
19
20checksums               md5     de60583ad4dbefe4fe4693bf247931a6 \
21                        sha1    42cfe482fa45574517248322aae48871a0d7672a \
22                        rmd160  9c054b858d891892cbaa1a4658a0502592f05d7a
23
24configure.args          --cc=${configure.cc}
25
26platform macosx {
27    configure.args-append --enable-cocoa --target-list=i386-softmmu
28}
29
30variant usermode description {No GUI and only support for user mode emulation (darwin/i386 and ppc).} {
31    patchfiles-append patch-configure.diff patch-q-i386
32    configure.args-append --enable-darwin-user --disable-system --disable-kqemu \
33                          --disable-cocoa --disable-adlib --disable-gfx-check \
34                          --target-list=i386-darwin-user,ppc-darwin-user
35}