From 94646b07fd8e05b325915670f69621df0f17ec46 Mon Sep 17 00:00:00 2001 From: "Perry E. Metzger" Date: Fri, 29 May 2026 15:52:30 -0400 Subject: [PATCH] zimh: new port for the ZIMH emulators system --- emulators/zimh/Portfile | 54 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 emulators/zimh/Portfile diff --git a/emulators/zimh/Portfile b/emulators/zimh/Portfile new file mode 100644 index 00000000000..d3075ba66f2 --- /dev/null +++ b/emulators/zimh/Portfile @@ -0,0 +1,54 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 + +PortSystem 1.0 +PortGroup cmake 1.1 +PortGroup github 1.0 + +github.setup pmetzger zimh 1f0fa5b3e76022c707d18c3db4951696d8643811 +github.tarball_from archive +version 20260529-[string range ${github.version} 0 7] +revision 0 + +checksums rmd160 75f164f8552d039ff02bd89bf480a8e0d0dd79f1 \ + sha256 395cc279a12c67b991a91c9b6ad4fbc97efbee7d75e7228856511c41d3a31e52 \ + size 32715062 + +categories emulators +license X11 +maintainers {pmetzger @pmetzger} openmaintainer + +description Historical computer simulator forked from SIMH + +long_description ZIMH, which stands for \"ZIMH Implements Machine History\", \ + is a software emulator for historically important \ + computer systems and peripherals. It is a hard fork of \ + SIMH with a substantially different development track. + +homepage https://github.com/pmetzger/zimh + +depends_build-append \ + port:bison \ + path:bin/pkg-config:pkgconfig + +depends_lib-append port:freetype \ + port:libedit \ + port:libpcap \ + port:libpng \ + port:libslirp \ + port:libsdl2 \ + port:libsdl2_ttf \ + port:ncurses \ + port:pcre2 \ + port:vde2-devel \ + port:zlib + +compiler.c_standard 2017 + +configure.args-append \ + -DENABLE_DEP_BUILD=Off \ + -DWITH_UNIT_TESTS=Off + +test.run yes +test.cmd ctest + +livecheck.type none