1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/emulators/bochs/Makefile
Maxim Sobolev 6c3dc47062 Update to 2000.0325
PR:		18488
Submitted by:	FUJISHIMA Satsuki <k5@cheerful.com>
2000-07-17 13:40:09 +00:00

53 lines
1.3 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: bochs
# Date created: 16 December 1997
# Whom: alex
#
# $FreeBSD$
#
PORTNAME= bochs
PORTVERSION= 2000.0325
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.bochs.com/pub/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/}a
MAINTAINER= obrien@FreeBSD.org
VGABIOS= VGABIOS-elpin-2.20
BIOS= BIOS-bochs-990925a
USE_XLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-cpu-level=4 \
--enable-vga \
--enable-fpu \
--with-x11 --prefix=${PREFIX}
.ifdef(WANT_DEBUGGER)
CONFIGURE_ARGS+= --enable-debugger --enable-disasm
.endif
pre-configure:
@${PERL} -pi.fbsd \
-e 's|^vgaromimage:\sbios/|vgaromimage: ${PREFIX}/lib/bochs/bios/| ;' \
-e 's|^romimage:\sfile=bios/|romimage: file=${PREFIX}/lib/bochs/bios/|' \
${WRKSRC}/.bochsrc
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/*.html ${PREFIX}/share/doc/bochs
${INSTALL_MAN} ${WRKSRC}/docs-html/*.gif ${PREFIX}/share/doc/bochs
.endif
.include <bsd.port.mk>