1997-12-17 22:47:33 -05:00
|
|
|
# New ports collection makefile for: bochs
|
1998-06-07 05:32:33 -04:00
|
|
|
# Version required: 980513a
|
1997-12-17 22:47:33 -05:00
|
|
|
# Date created: 16 December 1997
|
|
|
|
# Whom: alex
|
|
|
|
#
|
1998-09-11 11:40:16 -04:00
|
|
|
# $Id: Makefile,v 1.10 1998/06/07 09:32:33 dburr Exp $
|
1997-12-17 22:47:33 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
VGABIOS= VGABIOS-elpin-2.00A
|
1998-04-02 21:38:45 -05:00
|
|
|
BIOS= BIOS-bochs-980331a
|
1998-05-18 19:49:18 -04:00
|
|
|
DATE= 980513
|
1997-12-17 22:47:33 -05:00
|
|
|
|
1998-04-02 21:38:45 -05:00
|
|
|
DISTNAME= bochs-${DATE}a
|
1997-12-17 22:47:33 -05:00
|
|
|
CATEGORIES= emulators
|
1998-09-11 11:40:16 -04:00
|
|
|
MASTER_SITES= ftp://ftp.bochs.com/pub/
|
1997-12-17 22:47:33 -05:00
|
|
|
|
|
|
|
MAINTAINER= alex@FreeBSD.ORG
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
1998-02-26 20:52:56 -05:00
|
|
|
CONFIGURE_ARGS= --enable-80386 --enable-memory=16 \
|
1997-12-17 22:47:33 -05:00
|
|
|
--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
|
|
|
|
|
1997-12-21 09:34:58 -05:00
|
|
|
.include <bsd.port.mk>
|