On FreeBSD 12.1 Release and tracking latest packages, godot 3.2 aborts on start with an error:
Error: Couldn't load project data at path ".". Is the .pck file missing?
If you've renamed the executable, the associated .pck file should also be renamed to match the executable's name (without the extension).
There are two ports devel/godot and devel/godot-tools
devel/godot is a runtime only, it requires project files to work. When started it will run the game project in the current directory.
To start creating a game, install devel/godot-tools which is built with the IDE and you start it with the command godot-tools. The godot-tools port also installs a desktop file, so it should appear in the desktop start menu under development.
Apart from the IDE being part of the binary, the tools version contains debugging info while the runtime is built optimised. This allows game ports to depend on the runtime without the IDE overhead.
I wonder if I should add a pkg message to the godot port to explain this.
Thanks for the clarification. Naming is different from the other platforms, where godot is the IDE. Documentation is also not very clear:
"pkg info godot" gives
Comment : Game integrated development environment
Godot is a multi-platform 2D and 3D game engine. It also provides a feature rich
Maybe it should be explained that it only includes the runtime and that the IDE is in godot-tools.
"pkg search godot" is clear though:
godot-3.2 Game runtime engine
godot-tools-3.2 Game integrated development environment
A pkg message informing that it's only the runtime and pointing to the godot-tools as the IDE would also be nice.
As I was about to submit an update to 3.2.1, I have made this adjustment in the same update. See bug #245444
Fixed in bug #245444