1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

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>
This commit is contained in:
Thomas Gellekum 1997-02-27 09:27:59 +00:00
parent d9050aab2b
commit c324db5e48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5767
7 changed files with 91 additions and 0 deletions

33
emulators/fmsx/Makefile Normal file
View File

@ -0,0 +1,33 @@
# New ports collection makefile for: fMSX
# Version required: 1.5
# Date created: 15 Oct 1996
# Whom: dk
#
DISTNAME= fMSX-1.5
PKGNAME= fmsx-1.5
CATEGORIES= emulators
MASTER_SITES= ftp://cam031313.student.utwente.nl/pub/MSX/fMSX/ \
ftp://ftp.saitama-u.ac.jp/pub/msx/cam031313.student.utwente.nl/fMSX/
EXTRACT_SUFX= .tar.Z
MAINTAINER= dk@farm.org
NO_PACKAGE= ${RESTRICTED}
RESTRICTED= Legal status of distributed ROM images unclear
WRKSRC= ${WRKDIR}/MSX
do-install:
${INSTALL_SCRIPT} files/fmsx ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/fmsx ${PREFIX}/bin/fmsx.bin
${INSTALL_PROGRAM} ${WRKSRC}/dasm ${PREFIX}/bin/fmsx-dasm
${INSTALL_PROGRAM} ${WRKSRC}/rddsk ${PREFIX}/bin/fmsx-rddsk
${INSTALL_PROGRAM} ${WRKSRC}/wrdsk ${PREFIX}/bin/fmsx-wrdsk
${MKDIR} -p ${PREFIX}/share/fmsx
${INSTALL_DATA} ${WRKSRC}/*.ROM ${WRKSRC}/*.FNT ${PREFIX}/share/fmsx
.if !defined(NOPORTDOCS)
${MKDIR} -p ${PREFIX}/share/doc/fmsx
${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/fmsx
.endif
.include <bsd.port.mk>

1
emulators/fmsx/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (fMSX-1.5.tar.Z) = 484f2a25f2c9c1b7a87d76e6a1ab9e4c

View File

@ -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 $@

View File

@ -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.

View File

@ -0,0 +1 @@
The Portable MSX/MSX2/MSX2+ Emulator

24
emulators/fmsx/pkg-descr Normal file
View File

@ -0,0 +1,24 @@
******* fMSX *******
The Portable MSX/MSX2/MSX2+ Emulator
version 1.5
by Marat Fayzullin
email: fms@freeflight.com
IRC: RST38h
WWW: http://www.freeflight.com/fms/
* NEW IN THIS VERSION *
o More stable split screen (Zanac-Ex no longer blinks)
o RAM mapper fixed *again* (Designer+ works now)
o V9938 SRCH command fixed
o MSXDOS2.ROM support
o PAINTER.ROM support
o FMPAC.ROM support
o .PSG file format is updated
o Serial port support is *not* yet implemented.

15
emulators/fmsx/pkg-plist Normal file
View File

@ -0,0 +1,15 @@
bin/fmsx
bin/fmsx.bin
bin/fmsx-dasm
bin/fmsx-rddsk
bin/fmsx-wrdsk
share/fmsx/CMOS.ROM
share/fmsx/CYRILLIC.FNT
share/fmsx/DISK.ROM
share/fmsx/ITALIC.FNT
share/fmsx/MSX.ROM
share/fmsx/MSX2.ROM
share/fmsx/MSX2EXT.ROM
share/fmsx/MSX2P.ROM
share/fmsx/MSX2PEXT.ROM
share/doc/fmsx/fMSX.doc