aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-11-30 21:26:13 +0000
committerRene Ladan <rene@FreeBSD.org>2026-11-30 21:26:13 +0000
commit230649498aa135e672ce77564f0ef16ad4d4e7f6 (patch)
tree2df2e8860db425cfecc6b26eb002daf87ec73b3d
parentb420698692e5e729ac0b13d03cbf4356f10dd68c (diff)
games/traingame: Remove expired port
2026-11-30 games/traingame: Abandoned upstream, does not build with CMake 4
-rw-r--r--MOVED1
-rw-r--r--games/Makefile1
-rw-r--r--games/traingame/Makefile77
-rw-r--r--games/traingame/distinfo2
-rw-r--r--games/traingame/files/patch-boost-1.6929
-rw-r--r--games/traingame/files/pkg-message.in20
-rw-r--r--games/traingame/files/traingame.in4
-rw-r--r--games/traingame/pkg-descr6
-rw-r--r--games/traingame/pkg-plist117
9 files changed, 1 insertions, 256 deletions
diff --git a/MOVED b/MOVED
index 6e8b1fefccc1..efae25fbce13 100644
--- a/MOVED
+++ b/MOVED
@@ -5897,3 +5897,4 @@ devel/luabind||2026-11-30|Has expired: Abandoned upstream, does not build with C
devel/libdbusmenu-qt||2026-11-30|Has expired: Not needed for Qt6 apps, does not build with CMake 4
devel/libevdevplus||2026-11-30|Has expired: Abandoned upstream, does not build with CMake 4
dns/hesiod||2026-11-30|Has expired: This version has multiple vulnerabilities
+games/traingame||2026-11-30|Has expired: Abandoned upstream, does not build with CMake 4
diff --git a/games/Makefile b/games/Makefile
index a780bac7ddab..92e1c41696c3 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -977,7 +977,6 @@
SUBDIR += toycars
SUBDIR += trackballs
SUBDIR += tractorgen
- SUBDIR += traingame
SUBDIR += tremulous
SUBDIR += trenchbroom
SUBDIR += trigger-rally
diff --git a/games/traingame/Makefile b/games/traingame/Makefile
deleted file mode 100644
index 86b1d4198ae9..000000000000
--- a/games/traingame/Makefile
+++ /dev/null
@@ -1,77 +0,0 @@
-PORTNAME= traingame
-PORTVERSION= 0.3
-PORTREVISION= 38
-CATEGORIES= games
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Game about Trains
-WWW= https://www.doof.me.uk/train-game/
-
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/COPYING.txt
-
-DEPRECATED= Abandoned upstream, does not build with CMake 4
-EXPIRATION_DATE=2026-11-30
-
-LIB_DEPENDS= libfreetype.so:print/freetype2 \
- libxerces-c.so:textproc/xerces-c3 \
- libboost_filesystem.so:devel/boost-libs
-
-USE_GITHUB= yes
-GH_ACCOUNT= nickg
-GH_TAGNAME= cb6513e
-
-USES= cmake:insource compiler:c++11-lib dos2unix gl gnome pkgconfig \
- sdl
-DOS2UNIX_GLOB= *.mtl *.obj
-USE_CXXSTD= c++11
-USE_SDL= sdl image
-USE_GL= glew
-
-LDFLAGS+= -L${LOCALBASE}/lib
-CFLAGS+= -Wno-return-type
-
-PORTDOCS= model_notes.txt models.gnuplot
-OPTIONS_DEFINE= DOCS
-
-ICON_SIZES= 22x22 32x32 48x48 64x64 72x72 96x96 128x128 192x192
-
-SUB_FILES= ${PORTNAME} pkg-message
-
-post-patch:
- @${REINPLACE_CMD} -e 's|[io]fstream|std::&|g' \
- ${WRKSRC}/src/*.cpp ${WRKSRC}/include/*.hpp
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-map.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-map
-
-.for d in buildings engines fonts images layouts maps schemas trees waggons
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
-.endfor
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/TrainGame ${STAGEDIR}${DATADIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
-
-.for s in ${ICON_SIZES}
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
- ${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_${s}.png \
- ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
-.endfor
- ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
- ${STAGEDIR}${PREFIX}/share/pixmaps/
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-
-post-install:
- @${ECHO_CMD}
- @${ECHO_CMD} ===============================================================================
- @${ECHO_CMD}
- @${ECHO_CMD} "These Maps you can use:"
- @${ECHO_CMD}
- @${LS} ${STAGEDIR}${DATADIR}/maps
- @${ECHO_CMD}
- @${ECHO_CMD} ===============================================================================
-
-.include <bsd.port.mk>
diff --git a/games/traingame/distinfo b/games/traingame/distinfo
deleted file mode 100644
index 099fe1d3a240..000000000000
--- a/games/traingame/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (nickg-traingame-0.3-cb6513e_GH0.tar.gz) = 04e8e7c47cee99056dc38556c8d25c4ea410133f351d5049fdad805f7c0cdd13
-SIZE (nickg-traingame-0.3-cb6513e_GH0.tar.gz) = 1151100
diff --git a/games/traingame/files/patch-boost-1.69 b/games/traingame/files/patch-boost-1.69
deleted file mode 100644
index 3d95ba8a7c05..000000000000
--- a/games/traingame/files/patch-boost-1.69
+++ /dev/null
@@ -1,29 +0,0 @@
-CMake Error at /usr/local/share/cmake/Modules/FindBoost.cmake:2049 (message):
- Unable to find the requested Boost libraries.
-
- Boost version: 1.69.0
-
- Boost include path: /usr/local/include
-
- Could not find the following Boost libraries:
-
- boost_signals
-
- Some (but not all) of the required Boost libraries were found. You may
- need to install these additional Boost libraries. Alternatively, set
- BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
- to the location of Boost.
-Call Stack (most recent call first):
- CMakeLists.txt:40 (find_package)
-
---- CMakeLists.txt.orig 2015-01-10 17:48:08 UTC
-+++ CMakeLists.txt
-@@ -38,7 +38,7 @@ find_package (SDL_image REQUIRED)
- find_package (OpenGL REQUIRED)
- find_package (GLEW REQUIRED)
- find_package (Boost 1.37 REQUIRED
-- COMPONENTS filesystem signals program_options system)
-+ COMPONENTS filesystem program_options system)
- find_package (Freetype REQUIRED)
-
- if (NOT WIN32)
diff --git a/games/traingame/files/pkg-message.in b/games/traingame/files/pkg-message.in
deleted file mode 100644
index a3c7378529e9..000000000000
--- a/games/traingame/files/pkg-message.in
+++ /dev/null
@@ -1,20 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Train Game has been installed.
-
-Now you can play the game by running:
-
- %%PREFIX%%/bin/traingame-map
-
-or manually with
-
- %%PREFIX%%/bin/traingame play <map_name_here>
-
-
-To use the editor, run:
-
- %%PREFIX%%/bin/traingame edit <map_name_here>
-EOM
-}
-]
diff --git a/games/traingame/files/traingame.in b/games/traingame/files/traingame.in
deleted file mode 100644
index 2c2ba4440b5a..000000000000
--- a/games/traingame/files/traingame.in
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-cd "%%DATADIR%%"
-exec ./traingame "${@}"
diff --git a/games/traingame/pkg-descr b/games/traingame/pkg-descr
deleted file mode 100644
index 92051df58787..000000000000
--- a/games/traingame/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Train Game is a game about trains! Woo! You control a train which you drive
-around a 3D world picking up cargo, trundle it about, and deliver it for PROFIT;
-whilst avoiding disasters like falling off the rails, hitting other trains,
-bad weather, or privatisation.
-Imagine Elite but with trains instead of space craft.
-Cant believe no ones thought of it before.
diff --git a/games/traingame/pkg-plist b/games/traingame/pkg-plist
deleted file mode 100644
index e2ee6a9dcf3e..000000000000
--- a/games/traingame/pkg-plist
+++ /dev/null
@@ -1,117 +0,0 @@
-bin/traingame
-bin/traingame-map
-share/applications/traingame.desktop
-share/icons/hicolor/22x22/apps/traingame.png
-share/icons/hicolor/32x32/apps/traingame.png
-share/icons/hicolor/48x48/apps/traingame.png
-share/icons/hicolor/64x64/apps/traingame.png
-share/icons/hicolor/72x72/apps/traingame.png
-share/icons/hicolor/96x96/apps/traingame.png
-share/icons/hicolor/128x128/apps/traingame.png
-share/icons/hicolor/192x192/apps/traingame.png
-share/pixmaps/traingame.png
-%%DATADIR%%/buildings/coal_mine/coal_mine.mtl
-%%DATADIR%%/buildings/coal_mine/coal_mine.obj
-%%DATADIR%%/buildings/coal_mine/coal_mine.wings
-%%DATADIR%%/buildings/coal_mine/coal_mine.xml
-%%DATADIR%%/buildings/house2/house2.mtl
-%%DATADIR%%/buildings/house2/house2.obj
-%%DATADIR%%/buildings/house2/house2.wings
-%%DATADIR%%/buildings/house2/house2.xml
-%%DATADIR%%/buildings/platform_end/platform_end.mtl
-%%DATADIR%%/buildings/platform_end/platform_end.obj
-%%DATADIR%%/buildings/platform_end/platform_end.wings
-%%DATADIR%%/buildings/platform_end/platform_end.xml
-%%DATADIR%%/buildings/platform_middle/platform_middle.mtl
-%%DATADIR%%/buildings/platform_middle/platform_middle.obj
-%%DATADIR%%/buildings/platform_middle/platform_middle.wings
-%%DATADIR%%/buildings/platform_middle/platform_middle.xml
-%%DATADIR%%/buildings/power_plant/power_plant.mtl
-%%DATADIR%%/buildings/power_plant/power_plant.obj
-%%DATADIR%%/buildings/power_plant/power_plant.wings
-%%DATADIR%%/buildings/power_plant/power_plant.xml
-%%DATADIR%%/buildings/white_house/cube2_auv.png
-%%DATADIR%%/buildings/white_house/house.mtl
-%%DATADIR%%/buildings/white_house/house.obj
-%%DATADIR%%/buildings/white_house/house.wings
-%%DATADIR%%/buildings/white_house/white_house.xml
-%%DATADIR%%/engines/base.wings
-%%DATADIR%%/engines/red/red.xml
-%%DATADIR%%/engines/red/train.mtl
-%%DATADIR%%/engines/red/train.obj
-%%DATADIR%%/engines/red/train.wings
-%%DATADIR%%/engines/saddle/saddle.mtl
-%%DATADIR%%/engines/saddle/saddle.obj
-%%DATADIR%%/engines/saddle/saddle.wings
-%%DATADIR%%/engines/saddle/saddle.xml
-%%DATADIR%%/engines/tank/tank.mtl
-%%DATADIR%%/engines/tank/tank.obj
-%%DATADIR%%/engines/tank/tank.wings
-%%DATADIR%%/engines/tank/tank.xml
-%%DATADIR%%/fonts/DejaVuSans.ttf
-%%DATADIR%%/fonts/DejaVuSansMono.ttf
-%%DATADIR%%/fonts/Vera.ttf
-%%DATADIR%%/images/buildings_icon.png
-%%DATADIR%%/images/button_active.png
-%%DATADIR%%/images/button_base.png
-%%DATADIR%%/images/delete_icon.png
-%%DATADIR%%/images/icons/next.png
-%%DATADIR%%/images/icons/prev.png
-%%DATADIR%%/images/icons/rotate.png
-%%DATADIR%%/images/icons/save.png
-%%DATADIR%%/images/icons/smooth.png
-%%DATADIR%%/images/icons/tree.png
-%%DATADIR%%/images/level_icon.png
-%%DATADIR%%/images/lower_icon.png
-%%DATADIR%%/images/raise_icon.png
-%%DATADIR%%/images/smoke_particle.png
-%%DATADIR%%/images/start_icon.png
-%%DATADIR%%/images/start_icon2.png
-%%DATADIR%%/images/station_icon.png
-%%DATADIR%%/images/track_icon.png
-%%DATADIR%%/layouts/demo.xml
-%%DATADIR%%/layouts/editor.xml
-%%DATADIR%%/layouts/game.xml
-%%DATADIR%%/maps/coal_mine/coal_mine.bin
-%%DATADIR%%/maps/coal_mine/coal_mine.xml
-%%DATADIR%%/maps/demo/demo.bin
-%%DATADIR%%/maps/demo/demo.xml
-%%DATADIR%%/maps/figure8/figure8.bin
-%%DATADIR%%/maps/figure8/figure8.xml
-%%DATADIR%%/maps/gen_track/gen_track.bin
-%%DATADIR%%/maps/gen_track/gen_track.xml
-%%DATADIR%%/maps/goods_demo/goods_demo.bin
-%%DATADIR%%/maps/goods_demo/goods_demo.xml
-%%DATADIR%%/maps/long_map/long_map.bin
-%%DATADIR%%/maps/long_map/long_map.xml
-%%DATADIR%%/maps/points/points.bin
-%%DATADIR%%/maps/points/points.xml
-%%DATADIR%%/maps/power_plant/power_plant.bin
-%%DATADIR%%/maps/power_plant/power_plant.xml
-%%DATADIR%%/maps/sbends/sbends.bin
-%%DATADIR%%/maps/sbends/sbends.xml
-%%DATADIR%%/maps/uphill/uphill.bin
-%%DATADIR%%/maps/uphill/uphill.xml
-%%DATADIR%%/maps/villages/villages.bin
-%%DATADIR%%/maps/villages/villages.xml
-%%DATADIR%%/schemas/building.xsd
-%%DATADIR%%/schemas/config.xsd
-%%DATADIR%%/schemas/engine.xsd
-%%DATADIR%%/schemas/layout.xsd
-%%DATADIR%%/schemas/map.xsd
-%%DATADIR%%/schemas/tree.xsd
-%%DATADIR%%/schemas/waggon.xsd
-%%DATADIR%%/traingame
-%%DATADIR%%/trees/apple/apple.mtl
-%%DATADIR%%/trees/apple/apple.obj
-%%DATADIR%%/trees/apple/apple.wings
-%%DATADIR%%/trees/apple/apple.xml
-%%DATADIR%%/trees/pine/pine.mtl
-%%DATADIR%%/trees/pine/pine.obj
-%%DATADIR%%/trees/pine/pine.wings
-%%DATADIR%%/trees/pine/pine.xml
-%%DATADIR%%/waggons/coal_truck/coal_truck.mtl
-%%DATADIR%%/waggons/coal_truck/coal_truck.obj
-%%DATADIR%%/waggons/coal_truck/coal_truck.wings
-%%DATADIR%%/waggons/coal_truck/coal_truck.xml
-%%DATADIR%%/waggons/waggon_base.wings