git: 44cf2767c464 - main - games/openbve: update OpenBVE to version 1.12.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Mar 2026 07:33:54 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=44cf2767c464101f49c4deaf8708166196a05088
commit 44cf2767c464101f49c4deaf8708166196a05088
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-03-05 07:32:26 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-03-05 07:32:26 +0000
games/openbve: update OpenBVE to version 1.12.1.0
Install more complete set of auxiliary programs and let make(1)
induce the program to wrapper script mapping rather than doing
this manually. While here, mention one comment's origin.
Reported by: portscout
---
games/openbve/Makefile | 16 +++++++++-------
games/openbve/distinfo | 6 +++---
games/openbve/pkg-plist | 5 +++++
3 files changed, 17 insertions(+), 10 deletions(-)
diff --git a/games/openbve/Makefile b/games/openbve/Makefile
index a42a3a9e5bbe..93cecc7cd491 100644
--- a/games/openbve/Makefile
+++ b/games/openbve/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ${GH_PROJECT:tl}
-PORTVERSION= 1.12.0.1
+PORTVERSION= 1.12.1.0
CATEGORIES= games
MAINTAINER= danfe@FreeBSD.org
@@ -72,15 +72,17 @@ post-patch:
@${REINPLACE_CMD} -e '/System\.ValueTuple\.dll/s,net4.,net46,' \
${WRKSRC}/source/TrainEditor2/TrainEditor2.csproj
+_AUX_PROGS= CarXmlConvertor ObjectBender ObjectViewer RouteViewer \
+ TrainEditor TrainEditor2
+
do-install:
-# This is Windows only, so can be removed
+# According to Debian package, this is Windows-only, so can be removed
${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\
- "$$@"\n' > ${STAGEDIR}${PREFIX}/bin/${script}
- ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${script}
+.for prog wrpr in OpenBve ${PORTNAME} ${_AUX_PROGS:C,.*,& ${PORTNAME}-&,}
+ ${PRINTF} '#!/bin/sh\n\nexec mono ${DATADIR}/${prog}.exe\
+ "$$@"\n' > ${STAGEDIR}${PREFIX}/bin/${wrpr:tl}
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${wrpr:tl}
.endfor
${INSTALL_MAN} ${WRKSRC}/debian/*.6 \
${STAGEDIR}${PREFIX}/share/man/man6
diff --git a/games/openbve/distinfo b/games/openbve/distinfo
index 05f537c8f085..579742b0d3ca 100644
--- a/games/openbve/distinfo
+++ b/games/openbve/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1769421437
-SHA256 (leezer3-OpenBVE-1.12.0.1_GH0.tar.gz) = 97af92251da92851192a19ac4348fdc832075c85c8a3a39a28966b21b7a2a260
-SIZE (leezer3-OpenBVE-1.12.0.1_GH0.tar.gz) = 11935329
+TIMESTAMP = 1772023014
+SHA256 (leezer3-OpenBVE-1.12.1.0_GH0.tar.gz) = 934bb02268b9201d888b87c9328f39f693bd59eee330efbc89a792d0261d1f5f
+SIZE (leezer3-OpenBVE-1.12.1.0_GH0.tar.gz) = 11938133
SHA256 (antlr4.runtime.4.6.6.nupkg) = 9f434b9aa4992271835c73c936cfcfbd966726ad18d5a4cc6149a78afb67dc46
SIZE (antlr4.runtime.4.6.6.nupkg) = 1550087
SHA256 (bve5_parsing.openbve.1.1.17.nupkg) = 0b60c2d5568dda3ef3dc76578bc53d69565c4bfa3ea6e21b914811927ced2319
diff --git a/games/openbve/pkg-plist b/games/openbve/pkg-plist
index 1c04c25599d3..c81fa1b3584f 100644
--- a/games/openbve/pkg-plist
+++ b/games/openbve/pkg-plist
@@ -1,6 +1,10 @@
bin/openbve
+bin/openbve-carxmlconvertor
+bin/openbve-objectbender
bin/openbve-objectviewer
bin/openbve-routeviewer
+bin/openbve-traineditor
+bin/openbve-traineditor2
%%DATADIR%%/Antlr4.Runtime.dll
%%DATADIR%%/Antlr4.Runtime.xml
%%DATADIR%%/AssimpParser.dll
@@ -61,6 +65,7 @@ bin/openbve-routeviewer
%%DATADIR%%/Data/Compatibility/RoutePatches/Indonesia.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Italy.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Japan.xml
+%%DATADIR%%/Data/Compatibility/RoutePatches/Korea.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Misc.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Poland.xml
%%DATADIR%%/Data/Compatibility/RoutePatches/Spain.xml