Godot is a multi-platform 2D and 3D game engine.
Easily deploy your game on IOS, Android, OSX, Linux, Steam or Windows.
This is a runtime only port of godot. For the IDE to create games
use devel/godot-tools.
===> The following configuration options are available for godot-4.7:
MOLD=off: Use mold linker for faster compilation
TEST=off: Build and/or run tests
UDEV=on: Libudev support (Joystick)
WAYLAND=on: Wayland (graphics) support
X11=on: X11 (graphics) support
====> Audio support
ALSA=on: ALSA audio architecture support
PULSEAUDIO=off: PulseAudio sound server support
===> Use 'make config' to modify these settings
port moved here from devel/godot35 on 2026-02-28 REASON: Has expired: Legacy version should have been removed with devel/godot35-tools, consider migrating to devel/godot
port moved here from devel/godot2 on 2023-10-08 REASON: Has expired: Requires legacy OpenSSL 1.1.1 so use devel/godot
devel/godot{,-tools}: Improve port
- Add options wayland, x11 and mold.
- Change icons to hicolor.
- Merge mkdirs in one call.
- Port links with libpcre2-32.so instead of libpcre2-8.so.
- Fix warnings from portclippy.
- Improve alignment.
PR: 288408
Approved by: Shane <FreeBSD@ShaneWare.Biz> (maintainer)
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
devel/godot{,-tools}: move patches to the right port
It was unclear where the patches should go.
Fixes: 3d9903862da8e530ebbc38840e23867c91e4c08f
Reported by: Chédotal Julien <rjdi@wanadoo.fr>
PR: 284869
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/godot: fix build of devel/godot-tools on armv7
Switch to always using libvpx from ports.
PR: 258163
Approved by: FreeBSD@ShaneWare.Biz (maintainer)
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
devel/godot: fix build on riscv64
pcre2 currently doesn't support JIT on riscv64. While it's possible to just
disable that in godot, this will mean someone will need to remember to enable it
when JIT is supported.
PR: 256655
Approved by: FreeBSD@ShaneWare.Biz (maintainer)
devel/godot: actually stop using builtin libpng
platform/x11/detect.py actually forces builtin libpng if builtin freetype or
zlib is used.
Use the system ones.
This also fixes build on powerpc64le, since builtin libpng is not built with
VSX.
PR: 254703
Approved by: FreeBSD@ShaneWare.Biz (maintainer)
devel/godot: fix build on powerpc64
Use system libvpx on architectures which break with included libvpx.
PR: 241762
Approved by: FreeBSD@ShaneWare.Biz (maintainer), linimon (mentor)
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
- Update to 3.0.3
- Fix conflicts for some system libraries due to incorrect include path order
- Pet portlint
- Fix openssl detection
PR: 228764
Submitted by: FreeBSD@ShaneWare.Biz (maintainer)
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
devel/godot: oops, fix whitespace
$ portlint -C
FATAL: Makefile: [35]: use a tab (not space) after a variable name
FATAL: Makefile: [36]: use a tab (not space) after a variable name
FATAL: Makefile: [37]: use a tab (not space) after a variable name
devel/godot: unbreak on some non-x86 targets
In file included from platform/x11/godot_x11.cpp:30:
In file included from platform/x11/os_x11.h:33:
In file included from core/os/input.h:32:
In file included from core/object.h:32:
In file included from core/list.h:32:
In file included from core/os/memory.h:33:
core/safe_refcount.h:330:2: error: This platform cannot use safe refcount,
compile with NO_THREADS or implement it.
#error This platform cannot use safe refcount, compile with NO_THREADS or
implement it.
^
core/safe_refcount.h:338:3: error: unknown type name 'REFCOUNT_T'
REFCOUNT_T count;
^
PR: 214553
Reported by: pkg-fallout, linimon
Submitted by: Shane <FreeBSD@ShaneWare.Biz> (maintainer)
devel/godot: Update to 2.1 and add minimal devel/godot-tools slave port
- Update to 2.1 release
- Add LICENSE_FILE for MIT license
- Add CCBYv3 license for logo
- Add devel/xdg-user-dirs, devel/xdg-utils and x11/xmessage to RUN_DEPENDS
- Add xrandr to USE_XORG
- Replace USE_OPENSSL=yes with USES+=ssl
- Add gl to USE_GL
- Remove GLU dependency - glu.h was included from imported glew.h
but GLU components are not used
- Add DEBUG option and clarify build targets
- Replace TOOLS option with devel/godot-tools port, while devel/godot
port used as runtime
- Allow to build ALSA and PulseAudio drivers independently
(Only the first 15 lines of the commit message are shown above )
- Update to upstream version 1.1
- Add xinerama to USE_XORG
- Use CHOSEN_COMPILER_TYPE instead of COMPILER_TYPE
While on it
- Pet portlint
PR: 200424
Submitted by: FreeBSD@ShaneWare.Biz (maintainer)
- Don't require openssl from ports
- Make SCons preserve environment for e.g. ccache to work properly
PR: 198225
Submitted by: amdmi3
Approved by: FreeBSD@ShaneWare.Biz (maintainer)