git: 7e5d33afc501 - main - emulators/open-simh: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Sep 2023 07:42:42 UTC
The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e5d33afc501e9b8f944500cd208dcb3bdb7afae commit 7e5d33afc501e9b8f944500cd208dcb3bdb7afae Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2023-09-21 07:27:09 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2023-09-21 07:42:35 +0000 emulators/open-simh: New port --- emulators/Makefile | 1 + emulators/open-simh/Makefile | 52 +++++++++++++++++++++++ emulators/open-simh/distinfo | 3 ++ emulators/open-simh/files/pkg-message | 16 ++++++++ emulators/open-simh/pkg-descr | 12 ++++++ emulators/open-simh/pkg-plist | 77 +++++++++++++++++++++++++++++++++++ 6 files changed, 161 insertions(+) diff --git a/emulators/Makefile b/emulators/Makefile index b60e5f88483d..5854d0feb7b6 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -95,6 +95,7 @@ SUBDIR += nestopia SUBDIR += o2em SUBDIR += ods2reader + SUBDIR += open-simh SUBDIR += open-vm-tools SUBDIR += openmsx SUBDIR += p5-Acme-6502 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 <bsd.port.pre.mk> + +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 <bsd.port.post.mk> 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: <<EOM +Note that the executable files for some simulators have been renamed +to remove conflicts with other ports. In such cases, the name is now +prefixed with 'simh'. Affected simulators are: + + eclipse becomes simh-eclipse + gri becomes simh-gri + nova becomes simh-nova + +Users may wish to create a symbolic link to these, or an alias, +if they want to use the old names. +EOM +} +] diff --git a/emulators/open-simh/pkg-descr b/emulators/open-simh/pkg-descr new file mode 100644 index 000000000000..6c43aa0b584e --- /dev/null +++ b/emulators/open-simh/pkg-descr @@ -0,0 +1,12 @@ +Open SIMH is a highly portable, multi-system simulator. + +SIMH is a framework and family of computer simulators, initiated by Bob Supnik +and continued with contributions (large and small) from many others, with the +primary goal of enabling the preservation of knowledge contained in, and +providing the ability to execute/experience, old/historic software via +simulation of the hardware on which it ran. This goal has been successfully +achieved and has for these years created a diverse community of users and +developers. + +See the following link for a list of simulators and documentation: +https://opensimh.org/simulators/ diff --git a/emulators/open-simh/pkg-plist b/emulators/open-simh/pkg-plist new file mode 100644 index 000000000000..c3a2036543a8 --- /dev/null +++ b/emulators/open-simh/pkg-plist @@ -0,0 +1,77 @@ +bin/3b2 +bin/3b2-400 +bin/3b2-700 +bin/altair +bin/altairz80 +bin/b5500 +bin/besm6 +bin/cdc1700 +bin/h316 +bin/hp2100 +bin/hp3000 +bin/i1401 +bin/i1620 +bin/i650 +bin/i701 +bin/i7010 +bin/i704 +bin/i7070 +bin/i7080 +bin/i7090 +bin/i7094 +bin/ibm1130 +bin/id16 +bin/id32 +bin/imlac +bin/infoserver100 +bin/infoserver1000 +bin/infoserver150vxt +bin/intel-mds +bin/lgp +bin/microvax1 +bin/microvax2 +bin/microvax2000 +bin/microvax3100 +bin/microvax3100e +bin/microvax3100m80 +bin/microvax3900 +bin/nd100 +bin/pdp1 +bin/pdp10 +bin/pdp10-ka +bin/pdp10-ki +bin/pdp10-kl +bin/pdp10-ks +bin/pdp11 +bin/pdp15 +bin/pdp4 +bin/pdp6 +bin/pdp7 +bin/pdp8 +bin/pdp9 +bin/rtvax1000 +bin/s3 +bin/scelbi +bin/sds +bin/sel32 +bin/sigma +bin/simh-eclipse +bin/simh-gri +bin/simh-nova +bin/ssem +bin/swtp6800mp-a +bin/swtp6800mp-a2 +bin/tt2500 +bin/tx-0 +bin/uc15 +bin/vax +bin/vax730 +bin/vax750 +bin/vax780 +bin/vax8200 +bin/vax8600 +bin/vaxstation3100m30 +bin/vaxstation3100m38 +bin/vaxstation3100m76 +bin/vaxstation4000m60 +bin/vaxstation4000vlc