blob: d72045fcc95494b08ed9d42ac0754993064ef946 (
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
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.10 2001/01/04 22:51:53 simonb Exp $
DISTNAME= bochs-2000_0325a
PKGNAME= bochs-2000.03.25a
CATEGORIES= emulators
MASTER_SITES= ftp://bochs.com/bochs/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.bochs.com/
GNU_CONFIGURE= yes
USE_GMAKE= yes
#CONFIGURE_ARGS= --enable-debugger --enable-disasm
USE_X11= yes
MESSAGE_FILE= ${WRKDIR}/MESSAGE
BOCHS_MAINDIR= ${PREFIX}/share/bochs
BOCHS_BIOSDIR= ${BOCHS_MAINDIR}/bios
BOCHS_FONTDIR= ${BOCHS_MAINDIR}/xfonts
BOCHS_DOCDIR= ${PREFIX}/share/doc/html/bochs
post-configure:
${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' \
< ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc
${SED} -e 's,@BOCHS_MAINDIR@,${BOCHS_MAINDIR},g' \
-e 's,@BOCHS_FONTDIR@,${BOCHS_FONTDIR},g' \
-e 's,@BOCHS_DOCDIR@,${BOCHS_DOCDIR},g' \
< ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
do-install:
${INSTALL_DATA_DIR} ${BOCHS_BIOSDIR}
${INSTALL_DATA} ${WRKSRC}/bios/BIOS-bochs-990925a ${BOCHS_BIOSDIR}
${INSTALL_DATA} ${WRKSRC}/bios/VGABIOS-elpin-2.20 ${BOCHS_BIOSDIR}
${INSTALL_DATA_DIR} ${BOCHS_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs-html/00README ${BOCHS_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs-html/*.gif ${BOCHS_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs-html/*.html ${BOCHS_DOCDIR}
${INSTALL_DATA_DIR} ${BOCHS_FONTDIR}
${INSTALL_DATA} ${WRKSRC}/font/hercules.bdf ${BOCHS_FONTDIR}
${INSTALL_DATA} ${WRKSRC}/font/vga.bdf ${BOCHS_FONTDIR}
${INSTALL_DATA} ${WRKSRC}/font/vga.pcf ${BOCHS_FONTDIR}
${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"
|