1999-11-23 01:55:04 +00:00
|
|
|
# ex:ts=8
|
2000-02-13 03:25:05 +00:00
|
|
|
# Ports collection makefile for: bochs
|
|
|
|
# Date created: 16 December 1997
|
|
|
|
# Whom: alex
|
1997-12-18 03:47:33 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1997-12-18 03:47:33 +00:00
|
|
|
#
|
|
|
|
|
2000-02-13 16:48:25 +00:00
|
|
|
DISTNAME= bochs-${DATE}c
|
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= ftp://ftp.bochs.com/pub/
|
1997-12-18 03:47:33 +00:00
|
|
|
|
1999-10-06 08:23:57 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1997-12-18 03:47:33 +00:00
|
|
|
|
2000-02-07 22:08:45 +00:00
|
|
|
VGABIOS= VGABIOS-elpin-2.20
|
|
|
|
BIOS= BIOS-bochs-990925a
|
2000-02-13 16:48:25 +00:00
|
|
|
DATE= 2000_0104
|
2000-02-07 22:08:45 +00:00
|
|
|
|
1998-12-01 08:04:23 +00:00
|
|
|
USE_XLIB= yes
|
1997-12-18 03:47:33 +00:00
|
|
|
GNU_CONFIGURE= YES
|
1999-08-01 02:33:07 +00:00
|
|
|
CONFIGURE_ARGS= --enable-cpu-level=4 --enable-vga \
|
|
|
|
--with-x11 --prefix=${PREFIX}
|
1997-12-18 03:47:33 +00:00
|
|
|
|
2000-02-03 16:01:13 +00:00
|
|
|
.ifdef(WANT_DEBUGGER)
|
|
|
|
CONFIGURE_ARGS+= --enable-debugger --enable-disasm
|
|
|
|
.endif
|
|
|
|
|
1997-12-18 03:47:33 +00:00
|
|
|
RESTRICTED= "Commercial software"
|
|
|
|
NO_CDROM= ${RESTRICTED}
|
|
|
|
|
1999-11-23 01:55:04 +00:00
|
|
|
pre-configure:
|
|
|
|
@${PERL} -pi.fbsd \
|
2000-02-29 10:02:29 +00:00
|
|
|
-e 's|^vgaromimage:\sbios/|vgaromimage: ${PREFIX}/lib/bochs/bios/| ;' \
|
|
|
|
-e 's|^romimage:\sfile=bios/|romimage: file=${PREFIX}/lib/bochs/bios/|' \
|
1999-11-23 01:55:04 +00:00
|
|
|
${WRKSRC}/.bochsrc
|
|
|
|
|
1997-12-18 03:47:33 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bochs ${PREFIX}/bin
|
|
|
|
-@${MKDIR} ${PREFIX}/lib/bochs
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/.bochsrc ${PREFIX}/lib/bochs/bochsrc.sample
|
|
|
|
-@${MKDIR} ${PREFIX}/lib/bochs/bios
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bios/${VGABIOS} \
|
|
|
|
${PREFIX}/lib/bochs/bios
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bios/${BIOS} \
|
|
|
|
${PREFIX}/lib/bochs/bios
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
-@${MKDIR} ${PREFIX}/share/doc/bochs
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs-html/LICENSE ${PREFIX}/share/doc/bochs
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs-html/*.html ${PREFIX}/share/doc/bochs
|
1999-08-01 02:33:07 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs-html/*.gif ${PREFIX}/share/doc/bochs
|
1997-12-18 03:47:33 +00:00
|
|
|
.endif
|
|
|
|
|
1997-12-21 14:34:58 +00:00
|
|
|
.include <bsd.port.mk>
|