git: 74b0a17841af - main - devel/godot-tools: update to 4.0

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 08 Mar 2023 07:39:27 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=74b0a17841af03acb3718b6e4fbfac30efec9251

commit 74b0a17841af03acb3718b6e4fbfac30efec9251
Author:     Shane <FreeBSD@ShaneWare.Biz>
AuthorDate: 2023-03-06 08:16:29 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-03-08 07:34:39 +0000

    devel/godot-tools: update to 4.0
    
    PR:             269955
    Reported by:    FreeBSD@ShaneWare.Biz (maintainer)
---
 devel/godot-tools/Makefile    |  3 ++-
 devel/godot-tools/pkg-message | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/devel/godot-tools/Makefile b/devel/godot-tools/Makefile
index 6ef87a928be2..43e64dd72d98 100644
--- a/devel/godot-tools/Makefile
+++ b/devel/godot-tools/Makefile
@@ -1,10 +1,11 @@
-PORTREVISION=	5
 PKGNAMESUFFIX=	-tools
 
 COMMENT=	Game integrated development environment
 
 OPTIONS_EXCLUDE=	#
 OPTIONS_SLAVE=	TOOLS
+# we don't want the pkg-message from the master port
+PKGMESSAGE=	${.CURDIR}/pkg-message
 
 MASTERDIR=	${.CURDIR}/../godot
 
diff --git a/devel/godot-tools/pkg-message b/devel/godot-tools/pkg-message
new file mode 100644
index 000000000000..fc14c0bf6c05
--- /dev/null
+++ b/devel/godot-tools/pkg-message
@@ -0,0 +1,32 @@
+[
+{ type: install
+  message: <<EOM
+  
+NOTE: Godot v4.0 is a major change from previous versions.
+To keep developing with Godot 3.5 see devel/godot35-tools
+
+To upgrade existing projects from godot 3.x, 
+first try godot-tools --validate-conversion-3to4
+then updgrade your projects with godot-tools --convert-3to4
+
+For further details on upgrading to Godot 4.0 see
+https://docs.godotengine.org/en/latest/tutorials/migrating/upgrading_to_godot_4.html
+
+EOM
+}
+{ type: upgrade
+  message: <<EOM
+
+NOTE: Godot v4.0 is a major change from previous versions.
+To keep developing with Godot 3.5 see devel/godot35-tools
+
+To upgrade existing projects from godot 3.x, 
+first try godot-tools --validate-conversion-3to4
+then updgrade your projects with godot-tools --convert-3to4
+
+For further details on upgrading to Godot 4.0 see
+https://docs.godotengine.org/en/latest/tutorials/migrating/upgrading_to_godot_4.html
+
+EOM
+}
+]