git: 77eeb80289ad - main - emulators/quasi88: Update 0.6.4 => 0.7.3, take maintainership
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Jan 2026 07:22:51 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=77eeb80289adc4bed19ff0c244025c652ff724fa
commit 77eeb80289adc4bed19ff0c244025c652ff724fa
Author: Mitchell Clay <mclay@astate.edu>
AuthorDate: 2026-01-08 07:20:51 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-01-08 07:20:51 +0000
emulators/quasi88: Update 0.6.4 => 0.7.3, take maintainership
Changelog:
https://www.eonet.ne.jp/~showtime/quasi88/history.html
PR: 292233
---
emulators/quasi88/Makefile | 58 ++++------------------
emulators/quasi88/distinfo | 5 +-
emulators/quasi88/files/patch-src_fmgen_psg.cpp | 15 ------
.../files/patch-src_snddrv_quasi88_2608fmgen.cpp | 11 ----
emulators/quasi88/pkg-descr | 5 +-
emulators/quasi88/pkg-plist | 12 +++++
6 files changed, 30 insertions(+), 76 deletions(-)
diff --git a/emulators/quasi88/Makefile b/emulators/quasi88/Makefile
index ba4f61783ca1..da372299c029 100644
--- a/emulators/quasi88/Makefile
+++ b/emulators/quasi88/Makefile
@@ -1,67 +1,31 @@
PORTNAME= quasi88
-PORTVERSION= 0.6.4
+DISTVERSION= 0.7.3
CATEGORIES= emulators
MASTER_SITES= http://www.eonet.ne.jp/~showtime/quasi88/release/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mclay@astate.edu
COMMENT= PC-8801 emulator for X
WWW= https://www.eonet.ne.jp/~showtime/quasi88/
-USES= gmake tar:tgz xorg
+LICENSE= BSD3CLAUSE
+
+USES= gmake sdl xorg zip
+USE_SDL= sdl2
USE_XORG= x11 xext
-MAKE_ENV= DATADIR="${DATADIR}" _CC="${CC}" _CFLAGS="${CFLAGS}" \
- _CXX="${CXX}" LD="${CXX}" PROGRAM="${PORTNAME}"
-MAKE_ARGS= ARCH="freebsd"
DESKTOP_ENTRIES="Quasi88" "" "" "quasi88" "" ""
-PORTDOCS= FAQ.TXT FORMAT.TXT GET-IMAGE.TXT HISTORY.TXT MANUAL.TXT \
- QUASI88.TXT
-PORTEXAMPLES= keyconf.rc quasi88.rc
-PLIST_FILES= bin/quasi88
-
-MAKE_JOBS_UNSAFE= yes
-
-OPTIONS_DEFINE= DOCS EXAMPLES SDL
-OPTIONS_DEFAULT= SDL
-
-SDL_USES= sdl
-SDL_USE= sdl=sdl
-SDL_MAKE_ENV= SDL_VERSION=1 X11_JOYSTICK="joy_sdl"
-SDL_MAKE_ENV_OFF= X11_VERSION=1 X11_JOYSTICK="joy_bsd_usb"
-
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == amd64 || ${ARCH} == i386
-MAKE_ENV+= X11_LSB_FIRST=1
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|^X11_VERSION|# X11_VERSION|g ; \
- s|~/quasi88|$${DATADIR}|g ; \
- s|^X11_LSB|# X11_LSB|g ; \
- s|^X11_JOY|# X11_JOY|g ; \
- s|^SDL_|# SDL_|g ; \
- s|gcc|$${_CC}|g ; \
- s|-O2|$${_CFLAGS}|g ; \
- s|/usr/X11R6|$${LOCALBASE}|g ; \
- s|g++|$${_CXX}|g ; \
- s|^CXXLIBS|# CXXLIBS|g ; \
- s|^LD|# LD|g ; \
- s|^PROGRAM|# PROGRAM|g' ${WRKSRC}/Makefile
+OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/quasi88 ${STAGEDIR}${PREFIX}/bin
-post-install-DOCS-on:
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC}/document && ${INSTALL_DATA} ${PORTDOCS} \
- ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
-post-install-EXAMPLES-on:
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} \
- ${STAGEDIR}${EXAMPLESDIR})
+ ${INSTALL_DATA} ${WRKSRC}/*.rc ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/emulators/quasi88/distinfo b/emulators/quasi88/distinfo
index 8b04c12fc8e0..da65949ce24b 100644
--- a/emulators/quasi88/distinfo
+++ b/emulators/quasi88/distinfo
@@ -1,2 +1,3 @@
-SHA256 (quasi88-0.6.4.tgz) = 2c4329f9f77e02a1e1f23c941be07fbe6e4a32353b5d012531f53b06996881ff
-SIZE (quasi88-0.6.4.tgz) = 1107470
+TIMESTAMP = 1767587199
+SHA256 (quasi88-0.7.3.zip) = ea8b7095917a841a5f38ce817654ee823ae1e7b0ad7c8629348d584b29667350
+SIZE (quasi88-0.7.3.zip) = 1515395
diff --git a/emulators/quasi88/files/patch-src_fmgen_psg.cpp b/emulators/quasi88/files/patch-src_fmgen_psg.cpp
deleted file mode 100644
index d036baf19a9c..000000000000
--- a/emulators/quasi88/files/patch-src_fmgen_psg.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-src/fmgen/psg.cpp:121:37: error: constant expression evaluates to -1 which cannot be narrowed to type 'uint8' (aka 'unsigned char') [-Wc++11-narrowing]
- static uint8 table3[4] = { 0, 1, -1, 0 };
- ^~
-
---- src/fmgen/psg.cpp.orig 2003-09-05 15:06:43 UTC
-+++ src/fmgen/psg.cpp
-@@ -118,7 +118,7 @@ void PSG::MakeEnvelopTable()
- 2,2, 2,0, 2,1, 2,3, 1,1, 1,3, 1,2, 1,0,
- };
- static uint8 table2[4] = { 0, 0, 31, 31 };
-- static uint8 table3[4] = { 0, 1, -1, 0 };
-+ static uint8 table3[4] = { 0, 1, 255, 0 };
-
- uint* ptr = enveloptable[0];
-
diff --git a/emulators/quasi88/files/patch-src_snddrv_quasi88_2608fmgen.cpp b/emulators/quasi88/files/patch-src_snddrv_quasi88_2608fmgen.cpp
deleted file mode 100644
index 8be3a8f57499..000000000000
--- a/emulators/quasi88/files/patch-src_snddrv_quasi88_2608fmgen.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/snddrv/quasi88/2608fmgen.cpp.orig 2011-05-26 15:42:50 UTC
-+++ src/snddrv/quasi88/2608fmgen.cpp
-@@ -92,7 +92,7 @@ static void *fmgen2608_start(int sndindex, int clock,
-
- if (info->opna->Init(clock,
- Machine->sample_rate ? Machine->sample_rate :44100,
-- NULL)) {
-+ false)) {
- if (sound2_adpcm) {
- uint8* adpcmbuf = info->opna->GetADPCMBuffer();
- if (adpcmbuf) {
diff --git a/emulators/quasi88/pkg-descr b/emulators/quasi88/pkg-descr
index f9dc1d23c3d7..838d45b01d8e 100644
--- a/emulators/quasi88/pkg-descr
+++ b/emulators/quasi88/pkg-descr
@@ -1 +1,4 @@
-PC-8801 emulator for X.
+A high-performance emulator for the NEC PC-8801 series, one of Japan's most
+iconic 8-bit computer lines. It is designed to be lightweight and portable,
+allowing users to run vintage software, games, and applications originally
+developed for the PC-8801 architecture.
diff --git a/emulators/quasi88/pkg-plist b/emulators/quasi88/pkg-plist
new file mode 100644
index 000000000000..aa7b75fa2ca9
--- /dev/null
+++ b/emulators/quasi88/pkg-plist
@@ -0,0 +1,12 @@
+bin/quasi88
+%%PORTDOCS%%%%DOCSDIR%%/build-unix.txt
+%%PORTDOCS%%%%DOCSDIR%%/build-win.txt
+%%PORTDOCS%%%%DOCSDIR%%/faq.txt
+%%PORTDOCS%%%%DOCSDIR%%/format.txt
+%%PORTDOCS%%%%DOCSDIR%%/get-image.txt
+%%PORTDOCS%%%%DOCSDIR%%/history.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual.txt
+%%PORTDOCS%%%%DOCSDIR%%/quasi88.txt
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keyconf.rc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/quasi88.rc
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/touchkey.rc