Created attachment 261487 [details] games/typtea.patch Minimal terminal-based typing speed test with support for dozens of programming languages. WWW: https://github.com/ashish0kumar/typtea I have been used port{clippy,fmt,lint} and poudriere testport on 143amd64. Thanks in advance.
Thanks for a new port submission. I would recommend adding GO_BUILDFLAGS to Makefile so that the build process can correctly embed version into a resulting binary. See .goreleaser.yaml in the source archive to see what ldflags should be used.
Created attachment 261528 [details] games/typtea.patch (In reply to Hiroki Tagato from comment #2) Thanks for that hint but had to find some examples from other ports to see how they do it because the upstream's ldflags didn't just work ootb, i had to modify it. # /wrkdirs/usr/ports/games/typtea/work/stage/usr/local/bin/typtea -v typtea version v0.1.4 GO_BUILDFLAGS+= -ldflags="-s -w -X github.com/ashish0kumar/typtea/cmd.version=${DISTVERSIONFULL}"
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e557bd0b33932b98b3d132f6c38b6f78f158d2fb commit e557bd0b33932b98b3d132f6c38b6f78f158d2fb Author: Yusuf Yaman <nxjoseph@protonmail.com> AuthorDate: 2025-06-22 20:20:21 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2025-06-24 20:03:59 +0000 games/typtea: new port: Minimal terminal-based typing speed test Minimal terminal-based typing speed test with support for dozens of programming languages. Features: - Terminal-based typing with WPM and accuracy tracking - Multi-language support including English and 30+ programming languages - Infinite word generation with smooth 3-line scrolling display - Minimalist TUI built with Bubble Tea and Lipgloss - Embedded language data for easy distribution - Accurate metrics following standard typing test calculations WWW: https://github.com/ashish0kumar/typtea PR: 287725 Reported by: Yusuf Yaman <nxjoseph@protonmail.com> (new maintainer) games/Makefile | 1 + games/typtea/Makefile (new) | 21 +++++++++++++++++++++ games/typtea/distinfo (new) | 5 +++++ games/typtea/pkg-descr (new) | 10 ++++++++++ 4 files changed, 37 insertions(+)
Committed, thanks!
(In reply to Hiroki Tagato from comment #5) Thanks! I've become so happy every time one of my ports has been committed to the tree. :=)