source: trunk/dports/emulators/qemu-usermode/Portfile

Last change on this file was 53919, checked in by jmr@…, 8 years ago

qemu-usermode: remove use of cd (#12914)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 53919 2009-07-16 17:51:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    qemu-usermode
6version                 0.9.0
7categories              emulators
8platforms               darwin
9maintainers             mww
10description             x86 and PowerPC Emulator
11long_description        QEMU is a FAST! processor emulator using dynamic \
12                        translation to achieve good emulation speed. It \
13                        can emulate a Full PC System and has basic support \
14                        for PowerMac Emulation. This port has no GUI and only \
15                        supports user mode emulation (darwin/i386 and ppc).
16
17homepage                http://fabrice.bellard.free.fr/
18master_sites            ${homepage}/qemu
19checksums               sha1 1e57e48a06eb8729913d92601000466eecef06cb \
20                        rmd160 4296542b6da18a6ac93d20787330d3c1c2ac0a19
21distname                qemu-${version}
22patchfiles              patch-q-i386 patch-configure
23
24set nprefix             ${prefix}/lib/${name}
25configure.pre_args      --prefix=${nprefix}
26configure.args  \
27        --enable-darwin-user --disable-system --disable-kqemu \
28        --disable-cocoa --disable-adlib --disable-gfx-check \
29        --target-list=i386-darwin-user,ppc-darwin-user \
30        --interp-prefix=${nprefix}/%M
31
32platform darwin 8 {
33        configure.args-append \
34        --disable-gcc-check \
35        --cc=/usr/bin/gcc-4.0 --host-cc=/usr/bin/gcc-4.0
36}
37
38post-destroot {
39        file delete -force ${destroot}${prefix}/lib/${name}/share/doc \
40                           ${destroot}${prefix}/lib/${name}/share/man
41        system "cd ${destroot}${prefix}/bin && \
42                ln -sf ${nprefix}/bin/qemu-i386 && \
43                ln -sf ${nprefix}/bin/qemu-ppc"
44}
45
46livecheck.name  qemu
Note: See TracBrowser for help on using the repository browser.