aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWes Frazier <wes.frazier@avoidbig.tech>2025-10-14 23:27:09 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2026-04-02 03:22:49 +0000
commit4ad6362ec78b66bc1212fd1eb45d793506fcc0c2 (patch)
tree55ce6b4a915429c4934438843f028ede866de478
parentb1e257a26b880a75cad55681701caf4ff39c9c36 (diff)
games/qtads [New port]: Interpreter for TADS games
QTads is a cross-platform, multimedia interpreter for TADS games. It is fully compatible with HTML TADS, aka "Multimedia TADS". Both TADS versions in use today (v2 and v3) are supported. PR: 290244
-rw-r--r--games/Makefile1
-rw-r--r--games/qtads/Makefile36
-rw-r--r--games/qtads/distinfo3
-rw-r--r--games/qtads/pkg-descr10
-rw-r--r--games/qtads/pkg-plist16
5 files changed, 66 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 114d85fe9595..04af1fa9b1d5 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -813,6 +813,7 @@
SUBDIR += qonk
SUBDIR += qqwing
SUBDIR += qstat
+ SUBDIR += qtads
SUBDIR += qtv
SUBDIR += quackle
SUBDIR += quadra
diff --git a/games/qtads/Makefile b/games/qtads/Makefile
new file mode 100644
index 000000000000..568200a4ef21
--- /dev/null
+++ b/games/qtads/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= qtads
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.4.0
+CATEGORIES= games
+
+MAINTAINER= wes.frazier@avoidbig.tech
+COMMENT= Cross-platform, multimedia interpreter for TADS adventure games
+WWW= https://realnc.github.io/qtads/
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
+
+LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth \
+ libmpg123.so:audio/mpg123 \
+ libsndfile.so:audio/libsndfile \
+ libvorbisfile.so:audio/libvorbis
+
+USES= desktop-file-utils gl gmake pkgconfig qmake qt:5 sdl \
+ shared-mime-info
+USE_GITHUB= yes
+GH_ACCOUNT= realnc
+USE_GL= gl
+USE_QT= buildtools core gui network svg widgets
+USE_SDL= sdl2
+
+DATADIR= ${PREFIX}/share/qtads
+
+OPTIONS_DEFINE= ICONS
+OPTIONS_DEFAULT= ICONS
+
+OPTIONS_SUB= yes
+
+ICONS_DESC= Install mimetype icons
+ICONS_CONFLICTS_INSTALL= gargoyle
+
+.include <bsd.port.mk>
diff --git a/games/qtads/distinfo b/games/qtads/distinfo
new file mode 100644
index 000000000000..31af656e0422
--- /dev/null
+++ b/games/qtads/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760358880
+SHA256 (realnc-qtads-v3.4.0_GH0.tar.gz) = 90a548c16b3310bd52950aa2c11e326b86ebe953b801b438725f8288c5effa91
+SIZE (realnc-qtads-v3.4.0_GH0.tar.gz) = 7560965
diff --git a/games/qtads/pkg-descr b/games/qtads/pkg-descr
new file mode 100644
index 000000000000..bdaa39a5d185
--- /dev/null
+++ b/games/qtads/pkg-descr
@@ -0,0 +1,10 @@
+QTads is a so called "interpreter" for games created with the Text
+Adventure Development System, or "Tads" for short, a C-like object
+oriented programming language for authoring Interactive Fiction
+(similar to the Infocom or Legend Entertainment games, like "Zork").
+
+The Tads compiler creates executables for the Tads Virtual Machine (the
+"Tads VM"). QTads is an implementation of this Virtual Machine; it
+runs Tads VM programs.
+
+Both Tads 2 as well as Tads 3 games are supported.
diff --git a/games/qtads/pkg-plist b/games/qtads/pkg-plist
new file mode 100644
index 000000000000..8c393aebddf0
--- /dev/null
+++ b/games/qtads/pkg-plist
@@ -0,0 +1,16 @@
+bin/qtads
+share/applications/nikos.chantziaras.qtads.desktop
+%%ICONS%%share/icons/hicolor/128x128/mimetypes/application-x-t3vm-image.png
+%%ICONS%%share/icons/hicolor/128x128/mimetypes/application-x-tads.png
+%%ICONS%%share/icons/hicolor/16x16/mimetypes/application-x-t3vm-image.png
+%%ICONS%%share/icons/hicolor/16x16/mimetypes/application-x-tads.png
+share/icons/hicolor/256x256/apps/qtads.png
+%%ICONS%%share/icons/hicolor/32x32/mimetypes/application-x-t3vm-image.png
+%%ICONS%%share/icons/hicolor/32x32/mimetypes/application-x-tads.png
+share/icons/hicolor/48x48/apps/qtads.png
+%%ICONS%%share/icons/hicolor/48x48/mimetypes/application-x-t3vm-image.png
+%%ICONS%%share/icons/hicolor/48x48/mimetypes/application-x-tads.png
+share/icons/hicolor/72x72/apps/qtads.png
+share/man/man6/qtads.6.gz
+share/metainfo/nikos.chantziaras.qtads.appdata.xml
+share/mime/packages/qtads.xml