1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/emulators/bochs/Makefile

53 lines
1.4 KiB
Makefile
Raw Normal View History

1999-11-23 01:55:04 +00:00
# ex:ts=8
# New ports collection makefile for: bochs
# Version required: 990219a
# Date created: 16 December 1997
# Whom: alex
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
VGABIOS= VGABIOS-elpin-2.20
1999-10-06 08:23:57 +00:00
BIOS= BIOS-bochs-990925a
1999-11-23 01:38:19 +00:00
DATE= 991114
1999-10-06 08:23:57 +00:00
DISTNAME= bochs-${DATE}a
CATEGORIES= emulators
1998-09-11 15:40:16 +00:00
MASTER_SITES= ftp://ftp.bochs.com/pub/
1999-10-06 08:23:57 +00:00
MAINTAINER= obrien@FreeBSD.org
USE_XLIB= yes
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --enable-cpu-level=4 --enable-vga \
--with-x11 --prefix=${PREFIX}
1999-10-06 08:23:57 +00:00
WRKSRC= ${WRKDIR}/bochs-${DATE}a
RESTRICTED= "Commercial software"
NO_CDROM= ${RESTRICTED}
1999-11-23 01:55:04 +00:00
pre-configure:
@${PERL} -pi.fbsd \
-e 's|^vgaromimage:\sbios/|vgaromimage: ${PREFIX}/bios/| ;' \
-e 's|^romimage:\sfile=bios/|romimage: file=${PREFIX}/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/LICENSE ${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>