Index: emulators/Makefile =================================================================== --- emulators/Makefile +++ emulators/Makefile @@ -127,6 +127,7 @@ SUBDIR += rpcs3 SUBDIR += rtc SUBDIR += rubygem-fission + SUBDIR += sdltrs SUBDIR += simh SUBDIR += simh-hp2100 SUBDIR += simh-hp3000 Index: emulators/sdltrs/Makefile =================================================================== --- /dev/null +++ emulators/sdltrs/Makefile @@ -0,0 +1,23 @@ +# Created by: Sean Bruno +# $FreeBSD$ + +PORTNAME= sdltrs +DISTVERSION= 1.2.11 +CATEGORIES= emulators + +MAINTAINER= sbruno@FreeBSD.org +COMMENT= TRS-80 Model I/III/4/4P emulator + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake sdl readline + +USE_GITLAB= yes +GL_ACCOUNT= jengun +GL_PROJECT= sdltrs +GL_COMMIT= 2cef585a3e0fd9250ae254716c4405ed315f5b62 + +USE_SDL= sdl2 + +.include Index: emulators/sdltrs/distinfo =================================================================== --- /dev/null +++ emulators/sdltrs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1596628441 +SHA256 (jengun-sdltrs-2cef585a3e0fd9250ae254716c4405ed315f5b62_GL0.tar.gz) = ac81dfc265a54cf2e179f7e28b38687b4107d0327c65a3db447f83774f73c309 +SIZE (jengun-sdltrs-2cef585a3e0fd9250ae254716c4405ed315f5b62_GL0.tar.gz) = 2944047 Index: emulators/sdltrs/files/patch-CMakeLists.txt =================================================================== --- /dev/null +++ emulators/sdltrs/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2020-08-06 16:46:16 UTC ++++ CMakeLists.txt +@@ -109,7 +109,7 @@ else () + endif () + + install(TARGETS sdltrs DESTINATION ${CMAKE_INSTALL_BINDIR}/) +-install(FILES src/sdltrs.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/) ++install(FILES src/sdltrs.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/) + install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR}/) + install(DIRECTORY html DESTINATION ${CMAKE_INSTALL_DOCDIR}/) + install(DIRECTORY diskimages/ DESTINATION ${CMAKE_INSTALL_DATADIR}/sdltrs/) Index: emulators/sdltrs/files/patch-sdltrs.desktop =================================================================== --- /dev/null +++ emulators/sdltrs/files/patch-sdltrs.desktop @@ -0,0 +1,8 @@ +--- sdltrs.desktop.orig 2020-08-01 21:37:08 UTC ++++ sdltrs.desktop +@@ -4,4 +4,4 @@ Name=SDLTRS + Comment=TRS-80 Emulator + Exec=sdltrs %F + Icon=sdltrs +-Terminal=true ++Terminal=false Index: emulators/sdltrs/pkg-descr =================================================================== --- /dev/null +++ emulators/sdltrs/pkg-descr @@ -0,0 +1,18 @@ +Modified version of Mark Grebe's SDLTRS with bug fixes and patches: + + Included all patches by EtchedPixels: support for banked memory, Lowe LE18 ... + Fixed various SegFaults: ROM Selection Menu, Scaling in Fullscreen ... + Reworked the Interface: new shortcuts and key bindings, help screen ... + Ctrl-A, Ctrl-C & Ctrl-V can now be used in the Emulator (CP/M & WordStar) ... + Access to real floppy disks works now on Linux ... + Tried to fix reported bugs to the original version ... + Port to SDL2 (see BUILDING.md and SDL2) ... + Support for Exatron Stringy Floppy ... + Select and execute CMD files directly in the Emulator ... + Save screenshot of the Emulator window as BMP file ... + Show Z80 registers in the window title bar ... + Adjust speed of Z80 CPU on the fly ... + Emulate Z80 memory refresh register ... + Support for Sprinter II/III speed-up kits ... + +WWW: https://gitlab.com/jengun/sdltrs Index: emulators/sdltrs/pkg-message =================================================================== --- /dev/null +++ emulators/sdltrs/pkg-message @@ -0,0 +1,8 @@ +[ +{ type: install + message: <