summaryrefslogtreecommitdiff
path: root/emulators/bochs/Makefile
blob: fbf251c663d427ee72663f581204f09ab26bf22c (plain)
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
# $NetBSD: Makefile,v 1.7 2000/01/31 21:18:43 drochner Exp $

DISTNAME=		bochs-2000_0104c
PKGNAME=		bochs-2000.01.04c
CATEGORIES=		emulators
MASTER_SITES=		ftp://bochs.com/pub/

MAINTAINER=		root@garbled.net
HOMEPAGE=		http://www.bochs.com/

NOT_FOR_PLATFORM=	*-*-alpha	#runs, SEGV.

LICENSE=		shareware
GNU_CONFIGURE=		yes
#CONFIGURE_ARGS=		--enable-debugger --enable-disasm
USE_X11=		yes

post-configure:
	${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' < ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc

do-install:
	${MKDIR} ${PREFIX}/share/bochs/bios
	${INSTALL_DATA} ${WRKSRC}/bios/BIOS-bochs-990925a ${PREFIX}/share/bochs/bios
	${INSTALL_DATA} ${WRKSRC}/bios/VGABIOS-elpin-2.20 ${PREFIX}/share/bochs/bios
	${MKDIR} ${PREFIX}/share/bochs/doc
	${INSTALL_DATA} ${WRKSRC}/docs-html/* ${PREFIX}/share/bochs/doc
	${MKDIR} ${PREFIX}/share/bochs/xfonts
	${INSTALL_DATA} ${WRKSRC}/font/hercules.bdf ${PREFIX}/share/bochs/xfonts
	${INSTALL_DATA} ${WRKSRC}/font/vga.bdf ${PREFIX}/share/bochs/xfonts
	${INSTALL_DATA} ${WRKSRC}/font/vga.pcf ${PREFIX}/share/bochs/xfonts
	${INSTALL_PROGRAM} ${WRKSRC}/bochs ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/bochsrc ${PREFIX}/share/bochs
	${X11BASE}/bin/mkfontdir ${PREFIX}/share/bochs/xfonts

.include "../../mk/bsd.pkg.mk"