Commit a00aecfb authored by Rene Ladan's avatar Rene Ladan
Browse files

devel/godot35: Remove expired port

2026-02-28 devel/godot35: Legacy version should have been removed with devel/godot35-tools, consider migrating to devel/godot
parent 7552ad15
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5154,3 +5154,4 @@ misc/usd|graphics/openusd|2026-02-15|Rename to match upstream naming and moved t
www/py-django-statici18n|www/py-django_statici18n|2026-02-15|Rename to match upstream naming
graphics/imlib2-jxl|graphics/imlib2|2026-02-28|Has expired: jxl support is handled by graphics/imlib2 and it is enabled by default
graphics/imlib2-webp|graphics/imlib2|2026-02-28|Has expired: webp support is handled by graphics/imlib2 and it is enabled by default
devel/godot35|devel/godot|2026-02-28|Has expired: Legacy version should have been removed with devel/godot35-tools, consider migrating to devel/godot
+0 −1
Original line number Diff line number Diff line
@@ -921,7 +921,6 @@
    SUBDIR += gocheese
    SUBDIR += godot
    SUBDIR += godot-tools
    SUBDIR += godot35
    SUBDIR += goffice
    SUBDIR += gogs
    SUBDIR += golangci-lint

devel/godot35/Makefile

deleted100644 → 0
+0 −116
Original line number Diff line number Diff line
PORTNAME=	godot
DISTVERSION=	3.5.3
DISTVERSIONSUFFIX=	-stable
PORTREVISION?=	5
CATEGORIES=	devel games
PKGNAMESUFFIX?=	35

MAINTAINER=	FreeBSD@Shaneware.biz
COMMENT?=	Game runtime engine - LTS v3.5
WWW=		https://godotengine.org/

LICENSE=		MIT CC-BY-3.0
LICENSE_COMB=		multi
LICENSE_FILE_CC-BY-3.0=	${WRKSRC}/LOGO_LICENSE.md
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.txt

DEPRECATED=	Legacy version should have been removed with devel/godot35-tools, consider migrating to devel/godot
EXPIRATION_DATE=	2026-02-28

BUILD_DEPENDS=	yasm:devel/yasm
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
		libpcre2-8.so:devel/pcre2 \
		libpng.so:graphics/png \
		libvpx.so:multimedia/libvpx
RUN_DEPENDS=	xdg-user-dir:devel/xdg-user-dirs \
		xdg-open:devel/xdg-utils \
		xmessage:x11/xmessage

USES=		compiler:c++14-lang cpe gl pkgconfig scons xorg
USE_XORG=	x11 xcursor xext xi xinerama xrandr xrender
USE_GL=		gl glew glu

CPE_VENDOR=	godotengine

USE_GITHUB=	yes
GH_ACCOUNT=	godotengine

MAKE_ARGS+=		platform=x11 builtin_freetype=False \
			builtin_libpng=False builtin_libvpx=False \
			builtin_pcre2=False builtin_zlib=False verbose=True
MAKE_ARGS+=		${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}}
MAKE_ARGS_clang=	use_llvm=True linker=lld
CXXFLAGS_i386=		${CXXFLAGS_i386_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_i386_gcc=	-march=i586

OPTIONS_DEFINE=		EXAMPLES TOOLS UDEV
OPTIONS_DEFAULT=	ALSA UDEV
# Moved to devel/godot-tools
OPTIONS_EXCLUDE?=	EXAMPLES TOOLS
OPTIONS_GROUP=		AUDIO
OPTIONS_GROUP_AUDIO=	ALSA PULSEAUDIO

AUDIO_DESC=		Audio support
ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
ALSA_MAKE_ARGS=		alsa=True
ALSA_MAKE_ARGS_OFF=	alsa=False
# 3.5 head as of 28/2
EXAMPLES_GH_TUPLE=	godotengine:godot-demo-projects:c0180d20d10d:DEMOS
EXAMPLES_PORTEXAMPLES=	*
PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
PULSEAUDIO_MAKE_ARGS=	pulseaudio=True
PULSEAUDIO_MAKE_ARGS_OFF=	pulseaudio=False
TOOLS_DESC=		Include development tools (IDE)
TOOLS_MAKE_ARGS=	target=release_debug tools=True
TOOLS_MAKE_ARGS_OFF=	target=release tools=False
TOOLS_DESKTOP_ENTRIES=	"Godot" "${COMMENT}" "${GODOTFILE}" \
			"${GODOTFILE}" "Development;IDE;" ""
TOOLS_PLIST_FILES=	share/pixmaps/${GODOTFILE}.png \
			share/pixmaps/${GODOTFILE}.svg
UDEV_DESC=		Libudev support (Joystick)
UDEV_BUILD_DEPENDS=	${PREFIX}/include/linux/input.h:devel/evdev-proto
UDEV_LIB_DEPENDS=	libudev.so:devel/libudev-devd
UDEV_MAKE_ARGS=		udev=True
UDEV_MAKE_ARGS_OFF=	udev=False

GODOTFILE=		${PORTNAME}${PKGNAMESUFFIX}
PLIST_FILES=		bin/${GODOTFILE}

.ifmake makesum
# Always include optional distfiles
.MAKEFLAGS:	WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE=
.endif

.include <bsd.port.options.mk>

.if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*}
MAKE_ARGS+=	module_embree_enabled=no \
		module_raycast_enabled=no \
		module_webm_enabled=no
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \
		${WRKSRC}/methods.py
	@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
		${WRKSRC}/platform/x11/os_x11.cpp

# The official godot binary name reflects options used to compile
# We just want a simple name matching the portname
# This gives us bin/godot for runtime and bin/godot-tools for the IDE
do-install:
	@${RM} ${WRKSRC}/bin/*.debugsymbols
	cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} godot.x11* \
		${STAGEDIR}/${PREFIX}/bin/${GODOTFILE}

do-install-EXAMPLES-on:
	(cd ${WRKSRC_DEMOS} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \
		${STAGEDIR}${EXAMPLESDIR})

do-install-TOOLS-on:
	${INSTALL_DATA} ${WRKSRC}/icon.png \
		${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.png
	${INSTALL_DATA} ${WRKSRC}/icon.svg \
		${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.svg

.include <bsd.port.mk>

devel/godot35/distinfo

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
TIMESTAMP = 1698456253
SHA256 (godotengine-godot-3.5.3-stable_GH0.tar.gz) = 643366a288fc529564d8bb42a42093d72071c8186f57ff03cae6d5929f81bd1d
SIZE (godotengine-godot-3.5.3-stable_GH0.tar.gz) = 56501173
SHA256 (godotengine-godot-demo-projects-c0180d20d10d_GH0.tar.gz) = 10f7e66df4c53ef5ebb2dc2e9e683ec014e48485047398cd9bdb6e6536c14f97
SIZE (godotengine-godot-demo-projects-c0180d20d10d_GH0.tar.gz) = 181538914
+0 −20
Original line number Diff line number Diff line
--- platform/x11/detect.py.orig	2021-12-21 22:27:28 UTC
+++ platform/x11/detect.py
@@ -338,7 +338,7 @@ def configure(env):
         else:
             print("Warning: PulseAudio development libraries not found. Disabling the PulseAudio audio driver.")
 
-    if platform.system() == "Linux":
+    if platform.system() in ["Linux","FreeBSD"]:
         env.Append(CPPDEFINES=["JOYDEV_ENABLED"])
         if env["udev"]:
             if os.system("pkg-config --exists libudev") == 0:  # 0 means found
@@ -365,7 +365,7 @@ def configure(env):
     if env["execinfo"]:
         env.Append(LIBS=["execinfo"])
 
-    if not env["tools"]:
+    if not env["tools"] and False: # not building templates, just runtime
         import subprocess
         import re
 
Loading