aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAwe Morris <awe@noctvm.io>2026-04-08 13:55:12 +0000
committerKenneth Raplee <kenrap@FreeBSD.org>2026-04-09 18:23:56 +0000
commitf188994f5b67a03b3afe1448610de8a514737792 (patch)
tree57860007d3fab9a4d4189760846b620a9bf829c1
parentf875594f4b38ec929e1cd9c9f7b19105bde29c1e (diff)
games/suika3: New port: Portable 2D and visual novel engine
PR: 294320 Reviewed by: makc (mentor) Approved by: arrowd (co-mentor)
-rw-r--r--games/Makefile1
-rw-r--r--games/suika3/Makefile56
-rw-r--r--games/suika3/distinfo3
-rw-r--r--games/suika3/pkg-descr6
-rw-r--r--games/suika3/pkg-plist8
5 files changed, 74 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 4e160103b124..9f1f29d7774c 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -944,6 +944,7 @@
SUBDIR += stormbaancoureur
SUBDIR += stratagus
SUBDIR += sudsol
+ SUBDIR += suika3
SUBDIR += sulis
SUBDIR += supertux
SUBDIR += supertux2
diff --git a/games/suika3/Makefile b/games/suika3/Makefile
new file mode 100644
index 000000000000..7165a8b056bf
--- /dev/null
+++ b/games/suika3/Makefile
@@ -0,0 +1,56 @@
+PORTNAME= suika3
+DISTVERSION= 26.04.4
+CATEGORIES= games
+
+MAINTAINER= awe@noctvm.io
+COMMENT= 2D game engine with DSL for visual novels
+WWW= https://suika3.vn \
+ https://github.com/awemorris/suika3
+
+LICENSE= ZLIB
+
+LIB_DEPENDS= libbrotlicommon.so:archivers/brotli \
+ libbrotlidec.so:archivers/brotli \
+ libfreetype.so:print/freetype2 \
+ libgobject-2.0.so:devel/glib20 \
+ libgstreamer-1.0.so:multimedia/gstreamer1 \
+ libgstvideo-1.0.so:multimedia/gstreamer1-plugins \
+ libjpeg.so:graphics/jpeg-turbo \
+ libogg.so:audio/libogg \
+ libpng16.so:graphics/png \
+ libvorbis.so:audio/libvorbis \
+ libwebp.so:graphics/webp
+RUN_DEPENDS= ${LOCALBASE}/share/fonts/noto/NotoSans-Regular.ttf:x11-fonts/noto-sans
+
+USES= cmake gettext-runtime gl gnome gstreamer localbase pkgconfig \
+ xorg
+USE_GITHUB= yes
+GH_ACCOUNT= awemorris
+USE_GL= gl
+USE_GSTREAMER= core faad x264
+USE_XORG= x11 xext xpm
+
+CMAKE_ARGS= -DSUIKA_DIR_DOCS="share/doc/suika3" \
+ -DSUIKA_DIR_GAME="share/examples/suika3"
+CMAKE_ON= SUIKA_ENABLE_AOTCOMP SUIKA_ENABLE_BYTECOMP SUIKA_ENABLE_DIST \
+ SUIKA_ENABLE_GST SUIKA_ENABLE_I18N SUIKA_ENABLE_INSTALL \
+ SUIKA_ENABLE_JIT SUIKA_ENABLE_PACK
+
+PORTDOCS= *
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+# Remove the bundled font and use a packaged system font instead.
+# The bundled font has a separate license (not ZLIB), and FreeBSD Ports
+# should not install bundled fonts when system-packaged ones are available.
+# Create a symlink to NotoSans to satisfy the engine's expected file name
+# without modifying upstream sample data.
+post-install:
+ ${RM} -r ${STAGEDIR}${PREFIX}/share/examples/suika3/game/font
+ ${RM} -r ${STAGEDIR}${PREFIX}/share/examples/suika3/game/bgm2
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/suika3/game/font
+ ${LN} -s ${LOCALBASE}/share/fonts/noto/NotoSans-Regular.ttf \
+ ${STAGEDIR}${PREFIX}/share/examples/suika3/game/font/rounded-l-mplus-1c-bold.ttf
+
+.include <bsd.port.mk>
diff --git a/games/suika3/distinfo b/games/suika3/distinfo
new file mode 100644
index 000000000000..600be5949c16
--- /dev/null
+++ b/games/suika3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1775606186
+SHA256 (awemorris-suika3-26.04.4_GH0.tar.gz) = 746695a00827663475b495033addce2b34daf39f8d1e7f9fb4b06bd821b996bc
+SIZE (awemorris-suika3-26.04.4_GH0.tar.gz) = 62236811
diff --git a/games/suika3/pkg-descr b/games/suika3/pkg-descr
new file mode 100644
index 000000000000..d990377405c8
--- /dev/null
+++ b/games/suika3/pkg-descr
@@ -0,0 +1,6 @@
+Suika3 is a 2D game and visual novel engine.
+It aims to be portable and easy to use for creators, supporting
+various platforms including FreeBSD, Linux, Windows, macOS, etc.
+
+This engine is designed for high performance and low resource
+consumption, making it ideal for both modern and legacy systems.
diff --git a/games/suika3/pkg-plist b/games/suika3/pkg-plist
new file mode 100644
index 000000000000..c3385ebb87b0
--- /dev/null
+++ b/games/suika3/pkg-plist
@@ -0,0 +1,8 @@
+bin/suika3
+bin/suika3-aotc
+bin/suika3-bcc
+bin/suika3-pack
+share/man/man1/suika3-aotc.1.gz
+share/man/man1/suika3-bcc.1.gz
+share/man/man1/suika3-pack.1.gz
+share/man/man1/suika3.1.gz