aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2023-10-17 16:27:38 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2023-10-17 16:27:38 +0000
commit25c9e48dd3ee0245d1623f04884531122b78747f (patch)
tree2c69d22ec13615ea48b8e06d4bc07263c29f5ba6 /games
parent5bfd4d995463a70789ce31717099df74dbf122b1 (diff)
downloadports-25c9e48dd3ee0245d1623f04884531122b78747f.tar.gz
ports-25c9e48dd3ee0245d1623f04884531122b78747f.zip
games/openbve: update OpenBVE to version 1.9.2.3
Also, unbreak packaging when building debug version. Reported by: portscout
Diffstat (limited to 'games')
-rw-r--r--games/openbve/Makefile12
-rw-r--r--games/openbve/distinfo6
-rw-r--r--games/openbve/pkg-plist21
3 files changed, 32 insertions, 7 deletions
diff --git a/games/openbve/Makefile b/games/openbve/Makefile
index b7cb4e549b86..9da6ccb2a679 100644
--- a/games/openbve/Makefile
+++ b/games/openbve/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ${GH_PROJECT:tl}
-PORTVERSION= 1.9.2.2
+PORTVERSION= 1.9.2.3
CATEGORIES= games
MAINTAINER= danfe@FreeBSD.org
@@ -57,14 +57,20 @@ OPTIONS_DEFINE= DOCS
BROKEN= fails to build with Mono version ${MONO_DEFAULT}: error MSB4184: The expression ""Program.cs".GetPathsOfAllDirectoriesAbove()" cannot be evaluated. Method 'System.String.GetPathsOfAllDirectoriesAbove' not found.
.endif
+.if defined(WITH_DEBUG)
+PLIST_SUB+= DEBUG="" RELEASE="@comment "
+.else
+PLIST_SUB+= RELEASE="" DEBUG="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/TargetFrameworkVersion/s,4\.7\.2,4.6.1,' \
${WRKSRC}/source/TrainEditor2/TrainEditor2.csproj
do-install:
# This is Windows only, so can be removed
- ${RM} ${WRKSRC}/bin_release/AtsPluginProxy.*
- ${CP} -a ${WRKSRC}/bin_release ${STAGEDIR}${DATADIR}
+ ${RM} ${WRKSRC}/bin_[dr]*/AtsPluginProxy.*
+ ${CP} -a ${WRKSRC}/bin_[dr]* ${STAGEDIR}${DATADIR}
.for script program in openbve OpenBve openbve-objectviewer ObjectViewer \
openbve-routeviewer RouteViewer
${PRINTF} '#!/bin/sh\n\nexec mono ${DATADIR}/${program}.exe\
diff --git a/games/openbve/distinfo b/games/openbve/distinfo
index fc54159fc07f..215af3f99a54 100644
--- a/games/openbve/distinfo
+++ b/games/openbve/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1694768061
-SHA256 (leezer3-OpenBVE-1.9.2.2_GH0.tar.gz) = 3159cc4e5c44c9f82837d51592a2eee3fa1ad7d6249924ef31a3ceab42ac538e
-SIZE (leezer3-OpenBVE-1.9.2.2_GH0.tar.gz) = 9719069
+TIMESTAMP = 1697045225
+SHA256 (leezer3-OpenBVE-1.9.2.3_GH0.tar.gz) = eb24aa0341572f0573ea12e62c4dd83d3578deeaa8d26384d4a01d8896dab7b7
+SIZE (leezer3-OpenBVE-1.9.2.3_GH0.tar.gz) = 9742557
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 d1bca74b0193..230c771441fa 100644
--- a/games/openbve/pkg-plist
+++ b/games/openbve/pkg-plist
@@ -58,6 +58,7 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/Compatibility/RoutePatches/Italy.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Japan.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Misc.xml
+%%DATADIR%%/Data/Compatibility/RoutePatches/Poland.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Spain.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/UnitedKingdom.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/database.xml
@@ -530,6 +531,7 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/Flags/RO.png
%%DATADIR%%/Data/Flags/RU.png
%%DATADIR%%/Data/Flags/SG.png
+%%DATADIR%%/Data/Flags/SK.png
%%DATADIR%%/Data/Flags/TW.png
%%DATADIR%%/Data/Flags/UA.png
%%DATADIR%%/Data/Flags/US.png
@@ -538,8 +540,10 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/Formats/CSScriptLibrary.xml
%%DATADIR%%/Data/Formats/Formats.Msts.dll
%%DATADIR%%/Data/Formats/Formats.Msts.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Formats/Formats.Msts.pdb
%%DATADIR%%/Data/Formats/OpenBveApi.dll
%%DATADIR%%/Data/Formats/OpenBveApi.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Formats/OpenBveApi.pdb
%%DATADIR%%/Data/Formats/OpenBveApi.xml
%%DATADIR%%/Data/Formats/SharpCompress.dll
%%DATADIR%%/Data/Formats/System.Buffers.dll
@@ -636,6 +640,7 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/Languages/pt-PT.xlf
%%DATADIR%%/Data/Languages/ro-RO.xlf
%%DATADIR%%/Data/Languages/ru-RU.xlf
+%%DATADIR%%/Data/Languages/sk-SK.xlf
%%DATADIR%%/Data/Languages/uk-UA.xlf
%%DATADIR%%/Data/Languages/zh-CN.xlf
%%DATADIR%%/Data/Languages/zh-HK.xlf
@@ -706,6 +711,7 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/Plugins/Object.Wavefront.pdb
%%DATADIR%%/Data/Plugins/OpenBveAts.dll
%%DATADIR%%/Data/Plugins/OpenBveAts.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Plugins/OpenBveAts.pdb
%%DATADIR%%/Data/Plugins/Route.CsvRw.dll
%%DATADIR%%/Data/Plugins/Route.CsvRw.dll.config
%%DATADIR%%/Data/Plugins/Route.CsvRw.pdb
@@ -714,21 +720,28 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/Plugins/Route.Mechanik.pdb
%%DATADIR%%/Data/Plugins/Sound.Flac.dll
%%DATADIR%%/Data/Plugins/Sound.Flac.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Plugins/Sound.Flac.pdb
%%DATADIR%%/Data/Plugins/Sound.MP3.dll
%%DATADIR%%/Data/Plugins/Sound.MP3.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Plugins/Sound.MP3.pdb
%%DATADIR%%/Data/Plugins/Sound.RiffWave.dll
%%DATADIR%%/Data/Plugins/Sound.RiffWave.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Plugins/Sound.RiffWave.pdb
%%DATADIR%%/Data/Plugins/Sound.Vorbis.dll
%%DATADIR%%/Data/Plugins/Sound.Vorbis.dll.config
%%DATADIR%%/Data/Plugins/Sound.Vorbis.pdb
%%DATADIR%%/Data/Plugins/Texture.Ace.dll
%%DATADIR%%/Data/Plugins/Texture.Ace.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Plugins/Texture.Ace.pdb
%%DATADIR%%/Data/Plugins/Texture.BmpGifJpegPngTiff.dll
%%DATADIR%%/Data/Plugins/Texture.BmpGifJpegPngTiff.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Plugins/Texture.BmpGifJpegPngTiff.pdb
%%DATADIR%%/Data/Plugins/Texture.Dds.dll
%%DATADIR%%/Data/Plugins/Texture.Dds.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Plugins/Texture.Dds.pdb
%%DATADIR%%/Data/Plugins/Texture.Tga.dll
%%DATADIR%%/Data/Plugins/Texture.Tga.dll.config
+%%DEBUG%%%%DATADIR%%/Data/Plugins/Texture.Tga.pdb
%%DATADIR%%/Data/Plugins/Train.OpenBve.dll
%%DATADIR%%/Data/Plugins/Train.OpenBve.dll.config
%%DATADIR%%/Data/Plugins/Train.OpenBve.pdb
@@ -790,6 +803,7 @@ bin/openbve-routeviewer
%%DATADIR%%/DotNetZip.xml
%%DATADIR%%/Formats.Msts.dll
%%DATADIR%%/Formats.Msts.dll.config
+%%DEBUG%%%%DATADIR%%/Formats.Msts.pdb
%%DATADIR%%/LibRender2.dll
%%DATADIR%%/LibRender2.dll.config
%%DATADIR%%/LibRender2.pdb
@@ -805,16 +819,19 @@ bin/openbve-routeviewer
%%DATADIR%%/NVorbis.xml
%%DATADIR%%/ObjectBender.exe
%%DATADIR%%/ObjectBender.exe.config
+%%DEBUG%%%%DATADIR%%/ObjectBender.pdb
%%DATADIR%%/ObjectViewer.exe
%%DATADIR%%/ObjectViewer.exe.config
+%%DEBUG%%%%DATADIR%%/ObjectViewer.pdb
%%DATADIR%%/OpenBve-32.exe
%%DATADIR%%/OpenBve-32.exe.config
-%%DATADIR%%/OpenBve.XML
+%%RELEASE%%%%DATADIR%%/OpenBve.XML
%%DATADIR%%/OpenBve.exe
%%DATADIR%%/OpenBve.exe.config
%%DATADIR%%/OpenBve.pdb
%%DATADIR%%/OpenBveApi.dll
%%DATADIR%%/OpenBveApi.dll.config
+%%DEBUG%%%%DATADIR%%/OpenBveApi.pdb
%%DATADIR%%/OpenBveApi.xml
%%DATADIR%%/OpenTK.GLControl.dll
%%DATADIR%%/OpenTK.GLControl.pdb
@@ -837,6 +854,7 @@ bin/openbve-routeviewer
%%DATADIR%%/RouteViewer-32.exe.config
%%DATADIR%%/RouteViewer.exe
%%DATADIR%%/RouteViewer.exe.config
+%%DEBUG%%%%DATADIR%%/RouteViewer.pdb
%%DATADIR%%/SharpCompress.dll
%%DATADIR%%/SoundManager.dll
%%DATADIR%%/SoundManager.dll.config
@@ -954,6 +972,7 @@ bin/openbve-routeviewer
%%DATADIR%%/TolkDotNet.dll
%%DATADIR%%/TrainEditor.exe
%%DATADIR%%/TrainEditor.exe.config
+%%DEBUG%%%%DATADIR%%/TrainEditor.pdb
%%DATADIR%%/TrainEditor2.exe
%%DATADIR%%/TrainEditor2.exe.config
%%DATADIR%%/TrainEditor2.pdb