summaryrefslogtreecommitdiff
path: root/emulators/fmsx/files
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-02-27 09:27:59 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-02-27 09:27:59 +0000
commitc324db5e481e90eeebe3faf3f7f70e2663018e0a (patch)
tree890ae9685556995f3cc03a5e3750271d0079bd05 /emulators/fmsx/files
parentRemove ls-R in pre-install target, which hopefully makes teTeX (diff)
Import of fmsx port. fMSX is an emulator for MSX computers,
which seem to have been popular in Russia some years ago. Closes PR #2434. Submitted by: Dmitry Kohmanyuk <dk@farm.org>
Notes
Notes: svn path=/head/; revision=5767
Diffstat (limited to 'emulators/fmsx/files')
-rw-r--r--emulators/fmsx/files/fmsx4
-rw-r--r--emulators/fmsx/files/patch-aa13
2 files changed, 17 insertions, 0 deletions
diff --git a/emulators/fmsx/files/fmsx b/emulators/fmsx/files/fmsx
new file mode 100644
index 000000000000..4b29b4dedbcc
--- /dev/null
+++ b/emulators/fmsx/files/fmsx
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /usr/local/share/fmsx || { echo "cannot cd to /usr/local/share/fmsx" ; exit 1; }
+exec /usr/local/bin/fmsx.bin $@
diff --git a/emulators/fmsx/files/patch-aa b/emulators/fmsx/files/patch-aa
new file mode 100644
index 000000000000..77474bb7b7d0
--- /dev/null
+++ b/emulators/fmsx/files/patch-aa
@@ -0,0 +1,13 @@
+--- Makefile.orig Wed Jul 3 00:49:39 1996
++++ Makefile Mon Feb 24 14:20:26 1997
+@@ -34,8 +34,8 @@
+ # change the -L/usr/X11R6/lib to the directory where X11
+ # libraries libX11.* and libXext.* are located on your system.
+ CC = gcc
+-DEFINES = -DUNIX -DLSB_FIRST -DDEBUG -DMITSHM -DSOUND
+-CFLAGS = -O2 -I/usr/X11/include -L/usr/X11/lib ${DEFINES}
++DEFINES = -DUNIX -DLSB_FIRST -DMITSHM -DSOUND #-DBEBUG
++CFLAGS = -O2 -I${X11BASE}/include -L${X11BASE}/lib ${DEFINES}
+ OBJECTS = fMSX.o MSX.o Z80.o Debug.o Unix.o Sound.o
+
+ # Make the standard distribution: fMSX and DASM.