mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# New ports collection makefile for: bochs
|
|
# Version required: 980331a
|
|
# Date created: 16 December 1997
|
|
# Whom: alex
|
|
#
|
|
# $Id: Makefile,v 1.7 1998/03/11 19:49:38 alex Exp $
|
|
#
|
|
|
|
VGABIOS= VGABIOS-elpin-2.00A
|
|
BIOS= BIOS-bochs-980331a
|
|
DATE= 980331
|
|
|
|
DISTNAME= bochs-${DATE}a
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ftp://ftp.std.com/pub/bochs/
|
|
|
|
MAINTAINER= alex@FreeBSD.ORG
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS= --enable-80386 --enable-memory=16 \
|
|
--enable-v8086-mode --enable-paging --enable-vga \
|
|
--enable-bochs-bios-hooks --enable-dma-floppy-io \
|
|
--enable-processor-ips=200000
|
|
|
|
WRKSRC= ${WRKDIR}/bochs-${DATE}
|
|
|
|
RESTRICTED= "Commercial software"
|
|
NO_CDROM= ${RESTRICTED}
|
|
NO_PACKAGE= ${RESTRICTED}
|
|
|
|
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
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|