Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2024 17:45:21 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3c178b545476 - main - games/openbve: update OpenBVE to the latest version 1.11.0.2
Message-ID:  <202408231745.47NHjLUG085468@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c178b545476d41ee83bc8ec31089cb941090249

commit 3c178b545476d41ee83bc8ec31089cb941090249
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-08-23 17:44:32 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-08-23 17:44:32 +0000

    games/openbve: update OpenBVE to the latest version 1.11.0.2
    
    Adjust one more *.csproj file to avoid ``The reference assemblies
    for framework ".NETFramework,Version=v4.8" were not found'' error.
    
    Reported by:    portscout
---
 games/openbve/Makefile  |  9 ++++++---
 games/openbve/distinfo  | 10 +++++++---
 games/openbve/pkg-plist |  7 +++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/games/openbve/Makefile b/games/openbve/Makefile
index 1e8b587a3550..366287354e90 100644
--- a/games/openbve/Makefile
+++ b/games/openbve/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	${GH_PROJECT:tl}
-PORTVERSION=	1.10.1.1
+PORTVERSION=	1.11.0.2
 CATEGORIES=	games
 
 MAINTAINER=	danfe@FreeBSD.org
@@ -21,7 +21,9 @@ MAKEFILE=	makefile
 ALL_TARGET=	all-${WITH_DEBUG:?debug:release}
 
 # Generated with `make makenuget'
-NUGET_DEPENDS=	CS-Script.lib=3.30.3 \
+NUGET_DEPENDS=	Antlr4.Runtime=4.6.6 \
+		Bve5_Parsing.OpenBVE=1.1.16 \
+		CS-Script.lib=3.30.3 \
 		DotNetZip=1.16.0 \
 		LibUsbDotNet=2.2.29 \
 		Mono.Cecil=0.11.3 \
@@ -65,7 +67,8 @@ PLIST_SUB+=	RELEASE="" DEBUG="@comment "
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e '/TargetFrameworkVersion/s,4\.7\.2,4.6.1,' \
+	@${REINPLACE_CMD} -e '/TargetFrameworkVersion/s,4[^<]*,4.6.1,' \
+		${WRKSRC}/source/Plugins/Route.Bve5/Route.Bve5.csproj \
 		${WRKSRC}/source/TrainEditor2/TrainEditor2.csproj
 
 do-install:
diff --git a/games/openbve/distinfo b/games/openbve/distinfo
index 8becb085732c..69b864d912e2 100644
--- a/games/openbve/distinfo
+++ b/games/openbve/distinfo
@@ -1,6 +1,10 @@
-TIMESTAMP = 1716057213
-SHA256 (leezer3-OpenBVE-1.10.1.1_GH0.tar.gz) = b99fd3429e595615ef68503d6136943ba00cc954bb4280ef310a43ed977bc0f0
-SIZE (leezer3-OpenBVE-1.10.1.1_GH0.tar.gz) = 9832170
+TIMESTAMP = 1724087101
+SHA256 (leezer3-OpenBVE-1.11.0.2_GH0.tar.gz) = 85c8ab2bf148ccfc40933c44f6d7cb199c2a2e6985798bbd0f37321c99e173d4
+SIZE (leezer3-OpenBVE-1.11.0.2_GH0.tar.gz) = 9932893
+SHA256 (antlr4.runtime.4.6.6.nupkg) = 9f434b9aa4992271835c73c936cfcfbd966726ad18d5a4cc6149a78afb67dc46
+SIZE (antlr4.runtime.4.6.6.nupkg) = 1550087
+SHA256 (bve5_parsing.openbve.1.1.16.nupkg) = e9189d263d925ff009111780151730ad8d784d8d59124c6966865d7b18e61adf
+SIZE (bve5_parsing.openbve.1.1.16.nupkg) = 272071
 SHA256 (cs-script.lib.3.30.3.nupkg) = 783ebcee59e0fb9d0c6fde41097f695feebb829ac467c60501c237e262eca964
 SIZE (cs-script.lib.3.30.3.nupkg) = 182751
 SHA256 (dotnetzip.1.16.0.nupkg) = 465cc790eec3c42bd192bfa0a4cf006ecdf85dba2f9814e65df3bb2ed9c4ef91
diff --git a/games/openbve/pkg-plist b/games/openbve/pkg-plist
index ccecaede582a..e013e785944c 100644
--- a/games/openbve/pkg-plist
+++ b/games/openbve/pkg-plist
@@ -1,9 +1,12 @@
 bin/openbve
 bin/openbve-objectviewer
 bin/openbve-routeviewer
+%%DATADIR%%/Antlr4.Runtime.dll
+%%DATADIR%%/Antlr4.Runtime.xml
 %%DATADIR%%/AssimpParser.dll
 %%DATADIR%%/AssimpParser.dll.config
 %%DATADIR%%/AssimpParser.pdb
+%%DATADIR%%/Bve5_Parsing.dll
 %%DATADIR%%/CSScriptLibrary.dll
 %%DATADIR%%/CSScriptLibrary.xml
 %%DATADIR%%/CarXmlConvertor.exe
@@ -652,6 +655,7 @@ bin/openbve-routeviewer
 %%DATADIR%%/Data/Menu/arrow_up.png
 %%DATADIR%%/Data/Menu/banner.png
 %%DATADIR%%/Data/Menu/gamepad.png
+%%DATADIR%%/Data/Menu/icon_bve5.png
 %%DATADIR%%/Data/Menu/icon_critical.png
 %%DATADIR%%/Data/Menu/icon_disk.png
 %%DATADIR%%/Data/Menu/icon_error.png
@@ -715,6 +719,9 @@ bin/openbve-routeviewer
 %%DATADIR%%/Data/Plugins/OpenBveAts.dll
 %%DATADIR%%/Data/Plugins/OpenBveAts.dll.config
 %%DEBUG%%%%DATADIR%%/Data/Plugins/OpenBveAts.pdb
+%%DATADIR%%/Data/Plugins/Route.Bve5.dll
+%%DATADIR%%/Data/Plugins/Route.Bve5.dll.config
+%%DATADIR%%/Data/Plugins/Route.Bve5.pdb
 %%DATADIR%%/Data/Plugins/Route.CsvRw.dll
 %%DATADIR%%/Data/Plugins/Route.CsvRw.dll.config
 %%DATADIR%%/Data/Plugins/Route.CsvRw.pdb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408231745.47NHjLUG085468>