[27272] trunk/dports/emulators/qemu-usermode/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jul 26 12:16:07 PDT 2007
Revision: 27272
http://trac.macosforge.org/projects/macports/changeset/27272
Author: mww at macports.org
Date: 2007-07-26 12:16:06 -0700 (Thu, 26 Jul 2007)
Log Message:
-----------
new port emulators/qemu-usermode (this time for real)
Added Paths:
-----------
trunk/dports/emulators/qemu-usermode/Portfile
Added: trunk/dports/emulators/qemu-usermode/Portfile
===================================================================
--- trunk/dports/emulators/qemu-usermode/Portfile (rev 0)
+++ trunk/dports/emulators/qemu-usermode/Portfile 2007-07-26 19:16:06 UTC (rev 27272)
@@ -0,0 +1,45 @@
+# $Id: Portfile 24802 2007-05-04 20:49:56Z pmq at macports.org $
+
+PortSystem 1.0
+
+name qemu-usermode
+version 0.9.0
+categories emulators
+platforms darwin
+maintainers mww at 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. 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"
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070726/7af78b10/attachment.html
More information about the macports-changes
mailing list