2007-02-19 17:59:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2007/02/19 22:59:33 kili Exp $
|
2005-03-07 11:41:28 -05:00
|
|
|
|
2005-11-03 13:41:55 -05:00
|
|
|
# no success building on other archs yet
|
2006-01-04 16:47:39 -05:00
|
|
|
ONLY_FOR_ARCHS= amd64 arm i386 powerpc
|
2005-03-07 11:41:28 -05:00
|
|
|
|
|
|
|
COMMENT= "multi system emulator"
|
2006-12-22 12:31:45 -05:00
|
|
|
|
|
|
|
DISTNAME= qemu-0.8.2
|
2007-02-19 17:59:33 -05:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2005-03-07 11:41:28 -05:00
|
|
|
CATEGORIES= emulators
|
|
|
|
|
|
|
|
HOMEPAGE= http://fabrice.bellard.free.fr/qemu/
|
|
|
|
|
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2005-08-10 21:15:17 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2005-03-07 11:41:28 -05:00
|
|
|
|
2005-03-08 11:29:43 -05:00
|
|
|
BUILD_DEPENDS= ::textproc/texi2html
|
2005-03-07 11:41:28 -05:00
|
|
|
LIB_DEPENDS= SDL::devel/sdl
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_X11= Yes
|
2007-02-19 17:59:33 -05:00
|
|
|
WANTLIB= m z ossaudio X11 Xext usbhid pthread c
|
2005-03-07 11:41:28 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
2007-02-19 07:43:38 -05:00
|
|
|
# Currently, the regression tests are utterly broken.
|
|
|
|
REGRESS_TARGET= test test2
|
|
|
|
|
2005-11-03 13:41:55 -05:00
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
|
|
PATCH_LIST= patch-* misc-*
|
|
|
|
.endif
|
|
|
|
|
2006-02-16 11:27:44 -05:00
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qemu
|
|
|
|
@${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup ${PREFIX}/share/examples/qemu
|
|
|
|
|
2005-03-07 11:41:28 -05:00
|
|
|
.include <bsd.port.mk>
|