diff --git a/emulators/Makefile b/emulators/Makefile index b60e5f88483d..5854d0feb7b6 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -1,192 +1,193 @@ COMMENT = Emulators for other operating systems SUBDIR += adamem SUBDIR += almostti SUBDIR += anese SUBDIR += aqemu SUBDIR += aranym SUBDIR += atari800 SUBDIR += bfe SUBDIR += bochs SUBDIR += bsvc SUBDIR += cannonball SUBDIR += catapult SUBDIR += cemu SUBDIR += cingb SUBDIR += citra SUBDIR += citra-qt5 SUBDIR += cpmemu SUBDIR += cpmtools SUBDIR += cpmtools2 SUBDIR += darcnes SUBDIR += dgen-sdl SUBDIR += dolphin-emu SUBDIR += dosbox SUBDIR += dosbox-staging SUBDIR += dosbox-x SUBDIR += dps8m SUBDIR += dynamips-community SUBDIR += edumips64 SUBDIR += elliott-803 SUBDIR += emu64 SUBDIR += emulationstation SUBDIR += fceux SUBDIR += fmsx SUBDIR += frodo SUBDIR += fs-uae SUBDIR += fs-uae-launcher SUBDIR += fuse SUBDIR += fuse-roms SUBDIR += fuse-utils SUBDIR += gbe SUBDIR += gens SUBDIR += gngb SUBDIR += gngeo SUBDIR += gxemul SUBDIR += hatari SUBDIR += hercules SUBDIR += higan SUBDIR += hugo SUBDIR += hv_kvp_cmd SUBDIR += ines SUBDIR += javatari SUBDIR += joytran SUBDIR += jzintv SUBDIR += klh10 SUBDIR += lib765 SUBDIR += libc6-shim SUBDIR += libdsk SUBDIR += libretro-bsnes SUBDIR += libretro-flycast SUBDIR += libretro-kronos SUBDIR += libretro-mame SUBDIR += libretro-pcsx2 SUBDIR += libretro-ppsspp SUBDIR += libretro-reicast SUBDIR += libretro-vice SUBDIR += libspectrum SUBDIR += linux-c7 SUBDIR += linux-power10-functional-sim SUBDIR += linux-power9-functional-sim SUBDIR += linux_base-c7 SUBDIR += magia SUBDIR += mame SUBDIR += mastergear SUBDIR += mednafen SUBDIR += mesen SUBDIR += mgba SUBDIR += mtools SUBDIR += mupen64plus SUBDIR += mupen64plus-audio-sdl SUBDIR += mupen64plus-core SUBDIR += mupen64plus-input-sdl SUBDIR += mupen64plus-plugins SUBDIR += mupen64plus-qt SUBDIR += mupen64plus-rsp-cxd4 SUBDIR += mupen64plus-rsp-hle SUBDIR += mupen64plus-rsp-z64 SUBDIR += mupen64plus-ui-console SUBDIR += mupen64plus-video-arachnoid SUBDIR += mupen64plus-video-glide64 SUBDIR += mupen64plus-video-glide64mk2 SUBDIR += mupen64plus-video-rice SUBDIR += mupen64plus-video-z64 SUBDIR += nemu SUBDIR += nestopia SUBDIR += o2em SUBDIR += ods2reader + SUBDIR += open-simh SUBDIR += open-vm-tools SUBDIR += openmsx SUBDIR += p5-Acme-6502 SUBDIR += parallels-tools SUBDIR += pcem SUBDIR += pcemu SUBDIR += pcsx2 SUBDIR += playonbsd SUBDIR += ppsspp SUBDIR += ppsspp-qt5 SUBDIR += py-gns3-converter SUBDIR += py-unicorn SUBDIR += qemu SUBDIR += qemu-cheri SUBDIR += qemu-devel SUBDIR += qemu-powernv SUBDIR += qemu-user-static SUBDIR += qemu-user-static-devel SUBDIR += qemu7 SUBDIR += qmc2 SUBDIR += quasi88 SUBDIR += reicast SUBDIR += ripes SUBDIR += riscv-isa-sim SUBDIR += rpcs3 SUBDIR += rtc SUBDIR += rubygem-fission SUBDIR += sameboy SUBDIR += simh SUBDIR += simh-hp2100 SUBDIR += simh-hp3000 SUBDIR += simh-hpdoc SUBDIR += snes9x-gtk SUBDIR += spim SUBDIR += stella SUBDIR += stonx SUBDIR += teo SUBDIR += tic-80 SUBDIR += tiemu3 SUBDIR += tilem SUBDIR += tme SUBDIR += tnylpo SUBDIR += tpm-emulator SUBDIR += tuxnes SUBDIR += uae SUBDIR += ucon64 SUBDIR += uconvert SUBDIR += ukncbtl SUBDIR += unicorn SUBDIR += vba SUBDIR += vboxtool SUBDIR += vgb-bin SUBDIR += vgba-bin SUBDIR += vice SUBDIR += virtualbox-ose SUBDIR += virtualbox-ose-additions SUBDIR += virtualbox-ose-additions-legacy SUBDIR += virtualbox-ose-additions-nox11 SUBDIR += virtualbox-ose-additions-nox11-legacy SUBDIR += virtualbox-ose-kmod SUBDIR += virtualbox-ose-kmod-legacy SUBDIR += virtualbox-ose-legacy SUBDIR += virtualbox-ose-nox11 SUBDIR += virtualbox-ose-nox11-legacy SUBDIR += visualboyadvance-m SUBDIR += vmips SUBDIR += vmsbackup SUBDIR += vmw SUBDIR += vt100 SUBDIR += vxtools SUBDIR += wine SUBDIR += wine-devel SUBDIR += wine-gecko SUBDIR += wine-gecko-devel SUBDIR += wine-mono SUBDIR += wine-mono-devel SUBDIR += wine-proton SUBDIR += wine7 SUBDIR += winetricks SUBDIR += x16-emulator SUBDIR += x16-rom SUBDIR += x48 SUBDIR += x49gp SUBDIR += xbraitenberg SUBDIR += xcpc SUBDIR += xen-kernel SUBDIR += xhomer SUBDIR += xsystem35 SUBDIR += xzx SUBDIR += yaze-ag SUBDIR += yuzu SUBDIR += z80pack SUBDIR += zsnes .include diff --git a/emulators/open-simh/Makefile b/emulators/open-simh/Makefile new file mode 100644 index 000000000000..17bcbb249034 --- /dev/null +++ b/emulators/open-simh/Makefile @@ -0,0 +1,52 @@ +PORTNAME= open-simh +PORTVERSION= 4.1.0.20230920 +CATEGORIES= emulators + +MAINTAINER= kbowling@FreeBSD.org +COMMENT= Emulates classic DEC, HP, GRI, IBM, Altair, SDS, Honeywell, and others +WWW= https://opensimh.org/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu +LIB_DEPENDS= libpcre.so:devel/pcre \ + libpng16.so:graphics/png +RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu + +USES= dos2unix gmake libedit sdl +DOS2UNIX_GLOB= *.c *.h *.ini *.mak *.txt makefile + +USE_GITHUB= yes + +GH_ACCOUNT= open-simh +GH_PROJECT= simh +GH_TAGNAME= d4f85d01bdf7301d5f7a2c4e51c3a84024561b26 + +USE_SDL= sdl2 ttf2 + +MAKEFILE= makefile +MAKE_ENV= CFLAGS_O="${CFLAGS}" \ + FONTPATH="${PREFIX}/share/fonts/dejavu" \ + GCC="${CC}" \ + TESTS=0 \ + WARNINGS=ALLOWED + +CONFLICTS_INSTALL= simh simh-hp2100 simh-hp3000 + +.include + +post-extract: + @${MKDIR} ${WRKSRC}/BIN + +post-build: +# eclipse, gri and nova conflict with other ports, prefix with simh- + @${MV} ${WRKSRC}/BIN/eclipse ${WRKSRC}/BIN/simh-eclipse + @${MV} ${WRKSRC}/BIN/gri ${WRKSRC}/BIN/simh-gri + @${MV} ${WRKSRC}/BIN/nova ${WRKSRC}/BIN/simh-nova + +do-install: + @${RM} -rf ${WRKSRC}/BIN/buildtools + ${INSTALL_PROGRAM} ${WRKSRC}/BIN/* ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/emulators/open-simh/distinfo b/emulators/open-simh/distinfo new file mode 100644 index 000000000000..639efebe6b54 --- /dev/null +++ b/emulators/open-simh/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1695274105 +SHA256 (open-simh-simh-4.1.0.20230920-d4f85d01bdf7301d5f7a2c4e51c3a84024561b26_GH0.tar.gz) = da2fcf7b37d9804ccc8bae6787573d624ba5347ae5fa4ab2cec6141aebeef159 +SIZE (open-simh-simh-4.1.0.20230920-d4f85d01bdf7301d5f7a2c4e51c3a84024561b26_GH0.tar.gz) = 31243456 diff --git a/emulators/open-simh/files/pkg-message b/emulators/open-simh/files/pkg-message new file mode 100644 index 000000000000..cb174d722b4d --- /dev/null +++ b/emulators/open-simh/files/pkg-message @@ -0,0 +1,16 @@ +[ +{ type: install + message: <