3ff4f568cb
software such as Windows 95.
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# New ports collection makefile for: bochs
|
|
# Version required: 971216b
|
|
# Date created: 16 December 1997
|
|
# Whom: alex
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
VGABIOS= VGABIOS-elpin-2.00A
|
|
BIOS= BIOS-bochs-971213a
|
|
DATE= 971216
|
|
|
|
DISTNAME= bochs-${DATE}b
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ftp://ftp.std.com/pub/bochs/
|
|
|
|
MAINTAINER= alex@FreeBSD.ORG
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+=--enable-80386 --enable-debugger --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}
|
|
|
|
pre-patch:
|
|
@${SED} -e 's!LOCAL_PREFIX!${PREFIX}!' patches/patch-aa > patches/patch-aa.new
|
|
@${MV} patches/patch-aa.new patches/patch-aa
|
|
|
|
@${SED} -e 's!LOCAL_PREFIX!${PREFIX}!' pkg/MESSAGE > pkg/MESSAGE.new
|
|
@${MV} pkg/MESSAGE.new pkg/MESSAGE
|
|
|
|
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> |