summaryrefslogtreecommitdiff
path: root/emulators/bochs
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>1997-12-18 03:47:33 +0000
committerAlexander Langer <alex@FreeBSD.org>1997-12-18 03:47:33 +0000
commit3ff4f568cb54d0bce50763471528bc8636a1069b (patch)
treed276a30435fc51be7e18855427b58a3e79caefdb /emulators/bochs
parentUpgrade to 1.05 (diff)
Bochs is an Intel x86 CPU emulator capable of running protected mode
software such as Windows 95.
Notes
Notes: svn path=/head/; revision=9124
Diffstat (limited to 'emulators/bochs')
-rw-r--r--emulators/bochs/Makefile53
-rw-r--r--emulators/bochs/distinfo1
-rw-r--r--emulators/bochs/files/patch-aa27
-rw-r--r--emulators/bochs/pkg-comment1
-rw-r--r--emulators/bochs/pkg-descr3
-rw-r--r--emulators/bochs/pkg-message3
-rw-r--r--emulators/bochs/pkg-plist14
7 files changed, 102 insertions, 0 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
new file mode 100644
index 000000000000..e63d9005e7fa
--- /dev/null
+++ b/emulators/bochs/Makefile
@@ -0,0 +1,53 @@
+# 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> \ No newline at end of file
diff --git a/emulators/bochs/distinfo b/emulators/bochs/distinfo
new file mode 100644
index 000000000000..37ed3ad952b4
--- /dev/null
+++ b/emulators/bochs/distinfo
@@ -0,0 +1 @@
+MD5 (bochs-971216b.tar.gz) = 2f1ef2b6b06938db04a7879f6effc327
diff --git a/emulators/bochs/files/patch-aa b/emulators/bochs/files/patch-aa
new file mode 100644
index 000000000000..f566c3ff77fb
--- /dev/null
+++ b/emulators/bochs/files/patch-aa
@@ -0,0 +1,27 @@
+*** .bochsrc.orig Tue Dec 16 20:20:19 1997
+--- .bochsrc Tue Dec 16 20:20:38 1997
+***************
+*** 14,24 ****
+ #floppya: 1_44=../1.44.yodlowsk
+ #floppya: 1_2=../1.2
+ #floppya: 1_680=../1.680
+! vgaromimage: bios/VGABIOS-elpin-2.00A
+! romimage: bios/BIOS-bochs-971213a
+ #romimage: bios/rombios.bin
+! #log: /dev/null
+! log: ./bochs.out
+ hga_update_interval: 250000
+ keyboard_serial_delay: 200
+
+--- 14,24 ----
+ #floppya: 1_44=../1.44.yodlowsk
+ #floppya: 1_2=../1.2
+ #floppya: 1_680=../1.680
+! vgaromimage: LOCAL_PREFIX/lib/bochs/bios/VGABIOS-elpin-2.00A
+! romimage: LOCAL_PREFIX/lib/bochs/bios/BIOS-bochs-971213a
+ #romimage: bios/rombios.bin
+! log: /dev/null
+! #log: ./bochs.out
+ hga_update_interval: 250000
+ keyboard_serial_delay: 200
+
diff --git a/emulators/bochs/pkg-comment b/emulators/bochs/pkg-comment
new file mode 100644
index 000000000000..457d2c09319d
--- /dev/null
+++ b/emulators/bochs/pkg-comment
@@ -0,0 +1 @@
+Intel 80386 CPU emulator.
diff --git a/emulators/bochs/pkg-descr b/emulators/bochs/pkg-descr
new file mode 100644
index 000000000000..cc5cc9f0b47e
--- /dev/null
+++ b/emulators/bochs/pkg-descr
@@ -0,0 +1,3 @@
+Bochs is a portable x86 PC emulation software package that emulates
+enough of the x86 CPU, related AT hardware, and BIOS to run DOS,
+Windows '95, Minix 2.0, and other OS's, all on your workstation.
diff --git a/emulators/bochs/pkg-message b/emulators/bochs/pkg-message
new file mode 100644
index 000000000000..7638e6ac3cc2
--- /dev/null
+++ b/emulators/bochs/pkg-message
@@ -0,0 +1,3 @@
+Bochs requires a .bochsrc file to be present in either your current
+directory or your home directory before starting. A sample of the
+.bochsrc file can be found in LOCAL_PREFIX/lib/bochs/bochsrc.sample.
diff --git a/emulators/bochs/pkg-plist b/emulators/bochs/pkg-plist
new file mode 100644
index 000000000000..a12e8e7fc14b
--- /dev/null
+++ b/emulators/bochs/pkg-plist
@@ -0,0 +1,14 @@
+bin/bochs
+lib/bochs/bios/VGABIOS-elpin-2.00A
+lib/bochs/bios/BIOS-bochs-971213a
+lib/bochs/bochsrc.sample
+share/doc/bochs/3rdparty.license.html
+share/doc/bochs/Bochs.html
+share/doc/bochs/DOS.html
+share/doc/bochs/LICENSE
+share/doc/bochs/Linux.html
+share/doc/bochs/Minix.html
+share/doc/bochs/Windows31.html
+share/doc/bochs/Windows95.html
+share/doc/bochs/features.html
+share/doc/bochs/mtools.html