/
Portfile
35 lines (28 loc) · 877 Bytes
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id$
PortSystem 1.0
name qemu
version 0.9.0
revision 1
categories emulators
platforms darwin
maintainers pmq
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://bellard.org/qemu
master_sites ${homepage}
checksums sha1 1e57e48a06eb8729913d92601000466eecef06cb \
rmd160 4296542b6da18a6ac93d20787330d3c1c2ac0a19
# stolen from FreeBSD
patchfiles patch-90_security.diff
patch.args -p1
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
}