Bug 286919 - [NEW PORT] games/xtxf: Terminal screensaver
Summary: [NEW PORT] games/xtxf: Terminal screensaver
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/charlesrocket/xtxf...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-19 01:36 UTC by charlesrocket
Modified: 2025-05-25 15:01 UTC (History)
0 users

See Also:


Attachments
port v0.11.0 (2.09 KB, patch)
2025-05-19 01:36 UTC, charlesrocket
no flags Details | Diff
port v0.11.0 (2.07 KB, patch)
2025-05-19 09:52 UTC, charlesrocket
no flags Details | Diff
port v0.11.0 (2.06 KB, patch)
2025-05-19 09:57 UTC, charlesrocket
no flags Details | Diff
add port v0.11.0 (2.07 KB, patch)
2025-05-20 14:55 UTC, charlesrocket
no flags Details | Diff
add port v0.11.1 (2.11 KB, patch)
2025-05-25 15:01 UTC, charlesrocket
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description charlesrocket 2025-05-19 01:36:44 UTC
Created attachment 260528 [details]
port v0.11.0

Demo https://defcon.social/@charlesrocket/113915474617572176
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2025-05-19 07:21:44 UTC
${WITH_DEBUG:D:U-Doptimize=ReleaseFast} can probably be written as ${WITH_DEBUG:U-Doptimize=ReleaseFast}.

Then, I don't quite get why you set NO_INSTALL and define a post-install target, you could simply have a do-install target.

You don't need to wrap all your scripts in (), for example, this is enough:

do-test:
	@cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS}
Comment 2 charlesrocket 2025-05-19 09:49:34 UTC
(In reply to Mathieu Arnold from comment #1)
Thanks! I was getting a makefile error, but switching to the do-install target resolved it.
Comment 3 charlesrocket 2025-05-19 09:52:21 UTC
Created attachment 260539 [details]
port v0.11.0

Fix installation/style
Comment 4 charlesrocket 2025-05-19 09:57:04 UTC
Created attachment 260540 [details]
port v0.11.0

Fix debug flag
Comment 5 charlesrocket 2025-05-20 14:55:20 UTC
Created attachment 260581 [details]
add port v0.11.0

Switched to `BUILD_ARGS`
All checks are green
Comment 6 charlesrocket 2025-05-25 15:01:53 UTC
Created attachment 260706 [details]
add port v0.11.1

* Bump zig to v0.14
* Strip the binary