blob: ec55e1d564a678a9756e7822912e98403946bf75 (
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
|
# $NetBSD: Makefile,v 1.11 2001/01/29 11:34:25 wiz 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
BOCHS_MAINDIR= ${PREFIX}/share/bochs
BOCHS_BIOSDIR= ${BOCHS_MAINDIR}/bios
BOCHS_FONTDIR= ${BOCHS_MAINDIR}/xfonts
BOCHS_DOCDIR= ${PREFIX}/share/doc/html/bochs
MESSAGE_SUBST+= BOCHS_MAINDIR=${BOCHS_MAINDIR} \
BOCHS_FONTDIR=${BOCHS_FONTDIR} \
BOCHS_DOCDIR=${BOCHS_DOCDIR}
post-configure:
${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' \
< ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc
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"
|