diff options
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu/Makefile | 21 | ||||
-rw-r--r-- | emulators/qemu/PLIST | 25 |
2 files changed, 40 insertions, 6 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 9f3a6b06cb0..0e3cd9dc863 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.64 2010/02/27 23:21:13 tnn Exp $ +# $NetBSD: Makefile,v 1.65 2010/04/10 05:57:40 sbd Exp $ # DISTNAME= qemu-0.12.3 +PKGREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://download.savannah.gnu.org/releases/qemu/ @@ -67,6 +68,24 @@ BUILDLINK_PASSTHRU_RPATHDIRS+= /usr/lib INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/doc/qemu +UE_ARCHS+= alpha arm armeb cris i386 m68k microblaze mips mipsel +UE_ARCHS+= nbd ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus +UE_ARCHS+= sparc64 x86_64 + +.if !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly) +USER_EMUL= i386 x86_64 sparc sparc64 +.elif !empty(OPSYS:MDarwin) +USER_EMUL= i386 x86_64 sparc sparc64 ppc +.elif !empty(OPSYS:MLinux) +USER_EMUL= ${UE_ARCHS} +PLIST.nbd= Yes +.endif + +PLIST_VARS+= ${UE_ARCHS} nbd +.for _var_ in ${USER_EMUL} +PLIST.${_var_}= Yes +.endfor + post-install: ${INSTALL_DATA} ${FILESDIR}/Makefile.multinode-NetBSD \ ${DESTDIR}${PREFIX}/share/doc/qemu/ diff --git a/emulators/qemu/PLIST b/emulators/qemu/PLIST index e28933b54b3..0cc76493e2a 100644 --- a/emulators/qemu/PLIST +++ b/emulators/qemu/PLIST @@ -1,10 +1,25 @@ -@comment $NetBSD: PLIST,v 1.21 2010/02/27 23:21:13 tnn Exp $ +@comment $NetBSD: PLIST,v 1.22 2010/04/10 05:57:40 sbd Exp $ bin/qemu -bin/qemu-i386 +${PLIST.alpha}bin/qemu-alpha +${PLIST.arm}bin/qemu-arm +${PLIST.armeb}bin/qemu-armeb +${PLIST.cris}bin/qemu-cris +${PLIST.i386}bin/qemu-i386 bin/qemu-img bin/qemu-io -bin/qemu-sparc -bin/qemu-sparc64 +${PLIST.m68k}bin/qemu-m68k +${PLIST.microblaze}bin/qemu-microblaze +${PLIST.mips}bin/qemu-mips +${PLIST.mipsel}bin/qemu-mipsel +${PLIST.nbd}bin/qemu-nbd +${PLIST.ppc}bin/qemu-ppc +${PLIST.ppc64}bin/qemu-ppc64 +${PLIST.ppc64abi32}bin/qemu-ppc64abi32 +${PLIST.sh4}bin/qemu-sh4 +${PLIST.sh4eb}bin/qemu-sh4eb +${PLIST.sparc}bin/qemu-sparc +${PLIST.sparc32plus}bin/qemu-sparc32plus +${PLIST.sparc64}bin/qemu-sparc64 bin/qemu-system-arm bin/qemu-system-cris bin/qemu-system-m68k @@ -21,7 +36,7 @@ bin/qemu-system-sh4eb bin/qemu-system-sparc bin/qemu-system-sparc64 bin/qemu-system-x86_64 -bin/qemu-x86_64 +${PLIST.x86_64}bin/qemu-x86_64 man/man1/qemu-img.1 man/man1/qemu.1 man/man8/qemu-nbd.8 |