summaryrefslogtreecommitdiff
path: root/emulators/bochs/Makefile
blob: 1169a540435b99e6e72db0d4a9504e08520e2947 (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
# $NetBSD: Makefile,v 1.1 1998/09/06 06:51:04 garbled Exp $

DISTNAME=		bochs-980707a
CATEGORIES=		emulators
MASTER_SITES=		ftp://ftp.std.com/pub/bochs/

MAINTAINER=		root@garbled.net
HOMEPAGE=		http://world.std.com/~bochs/

LICENSE=		shareware
WRKSRC=			${WRKDIR}/bochs-980707
USE_GMAKE=		yes
CONFIGURE_ARGS+=	--enable-vga #--with-x11
GNU_CONFIGURE=		yes
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-980702a ${PREFIX}/share/bochs/bios
	${INSTALL_DATA} ${WRKSRC}/bios/VGABIOS-elpin-2.20 ${PREFIX}/share/bochs/bios
	${MKDIR} ${PREFIX}/share/doc/bochs
	${INSTALL_DATA} ${WRKSRC}/docs-html/* ${PREFIX}/share/doc/bochs
	${INSTALL_DATA} ${WRKSRC}/font/hercules.bdf ${X11BASE}/lib/X11/fonts/misc
	${INSTALL_DATA} ${WRKSRC}/font/vga.bdf ${X11BASE}/lib/X11/fonts/misc
	${INSTALL_DATA} ${WRKSRC}/font/vga.pcf ${X11BASE}/lib/X11/fonts/misc
	${INSTALL_PROGRAM} ${WRKSRC}/bochs ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/bochsrc ${PREFIX}/share/bochs
	${X11BASE}/bin/mkfontdir ${X11BASE}/lib/X11/fonts/misc

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