diff options
-rw-r--r-- | emulators/bochs/Makefile | 33 | ||||
-rw-r--r-- | emulators/bochs/files/md5 | 3 | ||||
-rw-r--r-- | emulators/bochs/patches/patch-aa | 38 | ||||
-rw-r--r-- | emulators/bochs/patches/patch-ab | 18 | ||||
-rw-r--r-- | emulators/bochs/pkg/COMMENT | 1 | ||||
-rw-r--r-- | emulators/bochs/pkg/DESCR | 6 | ||||
-rw-r--r-- | emulators/bochs/pkg/MESSAGE | 8 | ||||
-rw-r--r-- | emulators/bochs/pkg/PLIST | 40 |
8 files changed, 147 insertions, 0 deletions
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile new file mode 100644 index 00000000000..1169a540435 --- /dev/null +++ b/emulators/bochs/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 1998/09/06 06:51:04 garbled Exp $ + +DISTNAME= bochs-980707a +CATEGORIES= emulators +MASTER_SITES= ftp://ftp.std.com/pub/bochs/ + +MAINTAINER= root@garbled.net +HOMEPAGE= http://world.std.com/~bochs/ + +LICENSE= shareware +WRKSRC= ${WRKDIR}/bochs-980707 +USE_GMAKE= yes +CONFIGURE_ARGS+= --enable-vga #--with-x11 +GNU_CONFIGURE= yes +USE_X11= yes + +post-configure: + ${SED} -e 's@XXXPREFIXXXX@${PREFIX}@' < ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc + +do-install: + ${MKDIR} ${PREFIX}/share/bochs/bios + ${INSTALL_DATA} ${WRKSRC}/bios/BIOS-bochs-980702a ${PREFIX}/share/bochs/bios + ${INSTALL_DATA} ${WRKSRC}/bios/VGABIOS-elpin-2.20 ${PREFIX}/share/bochs/bios + ${MKDIR} ${PREFIX}/share/doc/bochs + ${INSTALL_DATA} ${WRKSRC}/docs-html/* ${PREFIX}/share/doc/bochs + ${INSTALL_DATA} ${WRKSRC}/font/hercules.bdf ${X11BASE}/lib/X11/fonts/misc + ${INSTALL_DATA} ${WRKSRC}/font/vga.bdf ${X11BASE}/lib/X11/fonts/misc + ${INSTALL_DATA} ${WRKSRC}/font/vga.pcf ${X11BASE}/lib/X11/fonts/misc + ${INSTALL_PROGRAM} ${WRKSRC}/bochs ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/bochsrc ${PREFIX}/share/bochs + ${X11BASE}/bin/mkfontdir ${X11BASE}/lib/X11/fonts/misc + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/bochs/files/md5 b/emulators/bochs/files/md5 new file mode 100644 index 00000000000..463d29a793b --- /dev/null +++ b/emulators/bochs/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1 1998/09/06 06:51:04 garbled Exp $ + +MD5 (bochs-980707a.tar.gz) = 1e21b04444d61e2c8a4adb85afcb9b4e diff --git a/emulators/bochs/patches/patch-aa b/emulators/bochs/patches/patch-aa new file mode 100644 index 00000000000..902bfe9b2aa --- /dev/null +++ b/emulators/bochs/patches/patch-aa @@ -0,0 +1,38 @@ +$NetBSD: patch-aa,v 1.1 1998/09/06 06:51:05 garbled Exp $ +--- .bochsrc.orig Sat Sep 5 16:56:33 1998 ++++ .bochsrc Sat Sep 5 16:59:02 1998 +@@ -20,8 +20,10 @@ + #diskc: file=../rrrr, cyl=1, heads=2, spt=18 + #floppya: 1_44=/vol/dev/aliases/floppy0, status=inserted + ++floppya: 1_44=/dev/rfd0a, status=inserted ++ + #floppya: 1_44=../1.44, status=inserted +-floppya: 720k=../720k.dos33, status=inserted ++#floppya: 720k=../720k.dos33, status=inserted + + #floppya: 1_44=../1.44a, status=inserted + #floppyb: 1_44=../1.44b, status=inserted +@@ -30,11 +32,11 @@ + #floppya: 1_44=../1.44.yodlowsk + #floppya: 1_2=../1.2 + #floppyb: 1_44=../1.680 +-vgaromimage: bios/VGABIOS-elpin-2.20 ++vgaromimage: XXXPREFIXXXX/share/bochs/bios/VGABIOS-elpin-2.20 + #romimage: bios/rombios.bin + #romimage: bios/BIOS-bochs-980331a + #romimage: bios/BIOS-bochs-980622a +-romimage: bios/BIOS-bochs-980702a ++romimage: XXXPREFIXXXX/share/bochs/bios/BIOS-bochs-980702a + #romimage: ../cbios961203 + + #romimage: ../cbios961112 +@@ -42,7 +44,7 @@ + #romimage: ../cbios961203 + + #log: /dev/null +-log: ./bochs.out ++log: XXXPREFIXXXX/share/bochs/bochs.out + keyboard_serial_delay: 200 #microseconds + floppy_command_delay: 500 #microseconds + #ips: 1500000 diff --git a/emulators/bochs/patches/patch-ab b/emulators/bochs/patches/patch-ab new file mode 100644 index 00000000000..f65a2f7a5b5 --- /dev/null +++ b/emulators/bochs/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1 1998/09/06 06:51:05 garbled Exp $ +--- Makefile.in.orig Sun Jun 28 22:20:48 1998 ++++ Makefile.in Sat Sep 5 23:09:05 1998 +@@ -27,11 +27,11 @@ + CFLAGS = @CFLAGS@ + CXXFLAGS = @CXXFLAGS@ + +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = -Wl,-R${X11BASE}/lib @LDFLAGS@ + LIBS = @LIBS@ +-X_LIBS = @X_LIBS@ ++X_LIBS = -L${X11BASE}/lib + X_PRE_LIBS = @X_PRE_LIBS@ +-GUI_LINK_OPTS_X = $(X_LIBS) $(X_PRE_LIBS) -lX11 ++GUI_LINK_OPTS_X = $(LDFLAGS) $(X_LIBS) $(X_PRE_LIBS) -lX11 + GUI_LINK_OPTS_BEOS = + GUI_LINK_OPTS_WIN32 = -luser32 -lgdi32 -lwinmm -lcomdlg32 -lcomctl32 + GUI_LINK_OPTS_WIN32_VC50 = user32.lib gdi32.lib winmm.lib comdlg32.lib comctl32.lib diff --git a/emulators/bochs/pkg/COMMENT b/emulators/bochs/pkg/COMMENT new file mode 100644 index 00000000000..66c266f892c --- /dev/null +++ b/emulators/bochs/pkg/COMMENT @@ -0,0 +1 @@ +an i386 machine emulator capable of running dos/windows diff --git a/emulators/bochs/pkg/DESCR b/emulators/bochs/pkg/DESCR new file mode 100644 index 00000000000..e97655afea3 --- /dev/null +++ b/emulators/bochs/pkg/DESCR @@ -0,0 +1,6 @@ +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. + +Though Bochs is commercial software, source code for Bochs is available on +the Internet, provided you abide by the license with the source code. diff --git a/emulators/bochs/pkg/MESSAGE b/emulators/bochs/pkg/MESSAGE new file mode 100644 index 00000000000..4bae8ed50b2 --- /dev/null +++ b/emulators/bochs/pkg/MESSAGE @@ -0,0 +1,8 @@ +You need to copy the share/bochs/bochsrc file to your home +directory and name it .bochsrc. Then edit it to your +tastes defining the hard drives, and floppies as needed. + +Documentation is available on the website, and a copy of that +website is in share/doc/bochs/. The file install.html will +assist you in creating a HD "file". (A raw disk partition can +be used as well) diff --git a/emulators/bochs/pkg/PLIST b/emulators/bochs/pkg/PLIST new file mode 100644 index 00000000000..ec9fb441db2 --- /dev/null +++ b/emulators/bochs/pkg/PLIST @@ -0,0 +1,40 @@ +@comment $NetBSD: PLIST,v 1.1 1998/09/06 06:51:05 garbled Exp $ +bin/bochs +lib/X11/fonts/misc/fonts.dir +lib/X11/fonts/misc/hercules.bdf +lib/X11/fonts/misc/vga.bdf +lib/X11/fonts/misc/vga.pcf +@exec %D/bin/mkfontdir %D/lib/X11/fonts/misc +@unexec %D/bin/mkfontdir %D/lib/X11/fonts/misc +share/doc/bochs/00README +share/doc/bochs/3rdparty.license.html +share/doc/bochs/DOS.html +share/doc/bochs/LICENSE +share/doc/bochs/Linux.html +share/doc/bochs/Minix.html +share/doc/bochs/OldWindows95.html +share/doc/bochs/WISHLIST +share/doc/bochs/Windows31.html +share/doc/bochs/Windows95.html +share/doc/bochs/changelog.html +share/doc/bochs/company.html +share/doc/bochs/construction.html +share/doc/bochs/debugger.html +share/doc/bochs/developers.html +share/doc/bochs/drawing_board.html +share/doc/bochs/features.html +share/doc/bochs/index.html +share/doc/bochs/install.html +share/doc/bochs/jbochs.html +share/doc/bochs/licensing.html +share/doc/bochs/mtools.html +share/doc/bochs/undercon.gif +share/doc/bochs/whatisbochs.html +share/doc/bochs/win32.html +share/bochs/bios/BIOS-bochs-980702a +share/bochs/bios/VGABIOS-elpin-2.20 +share/bochs/bochsrc +@dirrm share/doc/bochs +@dirrm share/bochs/bios +@dirrm share/bochs + |