1999-04-01 01:20:02 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 1999/04/01 06:20:12 brad Exp $
|
1999-02-21 23:52:22 -05:00
|
|
|
# $NetBSD: Makefile,v 1.2 1998/09/22 06:11:36 garbled Exp $
|
1998-05-20 03:11:31 -04:00
|
|
|
|
1999-02-21 23:52:22 -05:00
|
|
|
DISTNAME= bochs-990219a
|
1998-11-18 06:06:52 -05:00
|
|
|
CATEGORIES= emulators
|
1999-02-21 23:52:22 -05:00
|
|
|
MASTER_SITES= ftp://ftp.bochs.com/pub/
|
1998-10-15 00:33:25 -04:00
|
|
|
|
1999-04-01 01:20:02 -05:00
|
|
|
MAINTAINER= brad@openbsd.org
|
1999-02-21 23:52:22 -05:00
|
|
|
HOMEPAGE= http://www.bochs.com/
|
1998-10-15 00:33:25 -04:00
|
|
|
|
1998-11-18 06:06:52 -05:00
|
|
|
LICENSE= shareware
|
1999-02-21 23:52:22 -05:00
|
|
|
WRKSRC= ${WRKDIR}/bochs-990219
|
1998-11-18 06:06:52 -05:00
|
|
|
USE_GMAKE= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-vga #--with-x11
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_X11= yes
|
1998-05-20 03:11:31 -04:00
|
|
|
|
1998-11-18 06:06:52 -05:00
|
|
|
post-configure:
|
|
|
|
${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' < ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc
|
1998-05-20 03:11:31 -04:00
|
|
|
|
|
|
|
do-install:
|
1998-11-18 06:06:52 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/bochs/bios
|
|
|
|
${MKDIR} ${PREFIX}/share/bochs/fonts
|
1999-03-10 16:48:24 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/bios/BIOS-bochs-990218a ${PREFIX}/share/bochs/bios
|
1998-11-18 06:06:52 -05:00
|
|
|
${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 ${PREFIX}/share/bochs/fonts
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/font/vga.bdf ${PREFIX}/share/bochs/fonts
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/font/vga.pcf ${PREFIX}/share/bochs/fonts
|
1998-05-20 03:11:31 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bochs ${PREFIX}/bin
|
1998-11-18 06:06:52 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/bochsrc ${PREFIX}/share/bochs
|
|
|
|
[ -x ${X11BASE}/bin/mkfontdir ] && \
|
|
|
|
${X11BASE}/bin/mkfontdir ${PREFIX}/share/bochs/fonts
|
|
|
|
@${ECHO} "***"
|
|
|
|
@${ECHO} "*** Don't forget to add ${PREFIX}/share/bochs/fonts"
|
|
|
|
@${ECHO} "*** to FontPath in /etc/XF86Config."
|
|
|
|
@${ECHO} "***"
|
1998-05-20 03:11:31 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|