This port's Makefile includes the USES macro dos2unix, but doesn't set any of the variables DOS2UNIX_FILES, DOS2UNIX_GLOB, or DOS2UNIX_REGEX to limit the files to be converted. This results in a corrupt phlipple.png icon file. The solution is to add the line "DOS2UNIX_GLOB= *.c *.fnt *.h" to the Makefile.
The change sounds valid. I'm moving right now, so I don't have access to FreeBSD machine atm, so if some other committer is willing to fix this, please do. Otherwise I hope to be able to do it in a few weeks.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=372ab1a7ce7756a7eadbda36cee80c91299019fa commit 372ab1a7ce7756a7eadbda36cee80c91299019fa Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2023-12-27 09:10:33 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2023-12-27 09:10:33 +0000 games/phlipple: unbreak after c9e43954f5a1 Limit dos2unix, as global conversion breaks resource files. Update WWW. PR: 275781 Reported by: Nathan Approved by: amdmi3@ (in advance) games/phlipple/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Fixed, thanks for report!