summaryrefslogtreecommitdiff
path: root/games/stuntrally
diff options
context:
space:
mode:
Diffstat (limited to 'games/stuntrally')
-rw-r--r--games/stuntrally/Makefile64
-rw-r--r--games/stuntrally/distinfo5
-rw-r--r--games/stuntrally/files/patch-cmake_DependenciesConfig.cmake24
-rw-r--r--games/stuntrally/files/patch-source_editor_BaseApp__Create.cpp11
-rw-r--r--games/stuntrally/files/patch-source_ogre_BaseApp__Create.cpp32
-rw-r--r--games/stuntrally/files/patch-source_ogre_common_Terrain.cpp17
-rw-r--r--games/stuntrally/files/patch-source_shiny_Platforms_Ogre_OgreMaterialSerializer.cpp11
-rw-r--r--games/stuntrally/pkg-descr20
-rw-r--r--games/stuntrally/pkg-plist8
9 files changed, 0 insertions, 192 deletions
diff --git a/games/stuntrally/Makefile b/games/stuntrally/Makefile
deleted file mode 100644
index 091f15d1f1b6..000000000000
--- a/games/stuntrally/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-PORTNAME= stuntrally
-PORTVERSION= 2.7
-PORTREVISION= 5
-CATEGORIES= games
-
-MAINTAINER= amdmi3@FreeBSD.org
-COMMENT= 3D racing game based on VDrift and OGRE with track editor
-WWW= https://stuntrally.tuxfamily.org/ \
- https://github.com/stuntrally/stuntrally/
-
-LICENSE= GPLv2+
-LICENSE_FILE= ${WRKSRC}/License.txt
-
-BROKEN= fails to build with boost-1.85+
-DEPRECATED= Broken for months and outdated
-EXPIRATION_DATE=2025-04-30
-
-LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
- libOgreMain.so:graphics/ogre3d \
- libBulletDynamics.so:devel/bullet \
- libMyGUIEngine.so:x11-toolkits/mygui \
- libogg.so:audio/libogg \
- libvorbisfile.so:audio/libvorbis \
- libenet.so:net/enet \
- libtinyxml.so:textproc/tinyxml \
- libtinyxml2.so:textproc/tinyxml2
-BUILD_DEPENDS= ${LOCALBASE}/include/MYGUI/MyGUI_OgreTexture.h:x11-toolkits/mygui-ogre
-
-USES= compiler:c++14-lang cmake pkgconfig sdl
-USE_SDL= sdl2
-USE_GITHUB= yes
-GH_TUPLE= stuntrally:tracks:${PORTVERSION}:tracks/data/tracks
-CMAKE_ARGS= -DSHARE_INSTALL="${DATADIR_REL}" \
- -DBULLET_ROOT="${LOCALBASE}"
-CMAKE_ON= SR_FORCE_SYSTEM_DEPENDENCIES
-
-LDFLAGS_i386= -Wl,-znotext
-
-PORTDOCS= *
-PORTDATA= *
-
-OPTIONS_DEFINE= GAME EDITOR TRANSLATOR MASTER_SERVER DOCS
-OPTIONS_DEFAULT=GAME EDITOR TRANSLATOR
-OPTIONS_SUB= yes
-
-GAME_DESC= Build the game binary
-GAME_CMAKE_BOOL= BUILD_GAME
-GAME_USES= openal
-
-EDITOR_DESC= Build the track editor
-EDITOR_CMAKE_BOOL= BUILD_EDITOR
-EDITOR_USES= openal
-
-TRANSLATOR_DESC= Build translation tool
-TRANSLATOR_CMAKE_BOOL= BUILD_TRANSL_TOOL
-
-MASTER_SERVER_CMAKE_BOOL= BUILD_MASTER_SERVER
-MASTER_SERVER_DESC= Build the master server
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Readme.md ${STAGEDIR}${DOCSDIR}/
-
-.include <bsd.port.mk>
diff --git a/games/stuntrally/distinfo b/games/stuntrally/distinfo
deleted file mode 100644
index 31782b9579c0..000000000000
--- a/games/stuntrally/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1668431328
-SHA256 (stuntrally-stuntrally-2.7_GH0.tar.gz) = 462711306ec33e2dad1a729d7dbf0da2a8bfec2c36d582cc4c192c2e6f2de12c
-SIZE (stuntrally-stuntrally-2.7_GH0.tar.gz) = 770702361
-SHA256 (stuntrally-tracks-2.7_GH0.tar.gz) = fe7ba531fbdb3c5ba9b25f0748c2aac465c6aad33e957f722e2316a3129bd472
-SIZE (stuntrally-tracks-2.7_GH0.tar.gz) = 445486760
diff --git a/games/stuntrally/files/patch-cmake_DependenciesConfig.cmake b/games/stuntrally/files/patch-cmake_DependenciesConfig.cmake
deleted file mode 100644
index 62c3725f1e37..000000000000
--- a/games/stuntrally/files/patch-cmake_DependenciesConfig.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
---- cmake/DependenciesConfig.cmake.orig 2022-11-11 19:35:22 UTC
-+++ cmake/DependenciesConfig.cmake
-@@ -79,13 +79,14 @@ add_external_lib(
- FIND_PACKAGE
- )
-
--add_external_lib(
-- tinyxml
-- tinyxml/2.6.2
-- REQUIRED
-- PKG_CONFIG "tinyxml >= 2.6"
-- FIND_PACKAGE
--)
-+find_path(TINYXML_INCLUDE_DIR tinyxml.h)
-+find_library(TINYXML_LIBRARY tinyxml)
-+
-+add_library(tinyxml::tinyxml INTERFACE IMPORTED GLOBAL)
-+target_include_directories(tinyxml::tinyxml INTERFACE ${TINYXML_INCLUDE_DIR})
-+target_link_libraries(tinyxml::tinyxml INTERFACE ${TINYXML_LIBRARY})
-+
-+message(STATUS "Added inteface tinyxml ${TINYXML_INCLUDE_DIR} ${TINYXML_LIBRARY}")
-
- add_external_lib(
- tinyxml2
diff --git a/games/stuntrally/files/patch-source_editor_BaseApp__Create.cpp b/games/stuntrally/files/patch-source_editor_BaseApp__Create.cpp
deleted file mode 100644
index b2b3cf1c5bdb..000000000000
--- a/games/stuntrally/files/patch-source_editor_BaseApp__Create.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- source/editor/BaseApp_Create.cpp.orig 2022-11-11 19:35:22 UTC
-+++ source/editor/BaseApp_Create.cpp
-@@ -240,7 +240,7 @@ bool BaseApp::setup()
- #endif
- }
- #ifdef _DEBUG
-- Ogre::LogManager::getSingleton().setMinLogLevel(LML_TRIVIAL); // all
-+ //Ogre::LogManager::getSingleton().setMinLogLevel(LML_TRIVIAL); // all
- #endif
-
- #ifdef _DEBUG
diff --git a/games/stuntrally/files/patch-source_ogre_BaseApp__Create.cpp b/games/stuntrally/files/patch-source_ogre_BaseApp__Create.cpp
deleted file mode 100644
index 5f17ead24e2b..000000000000
--- a/games/stuntrally/files/patch-source_ogre_BaseApp__Create.cpp
+++ /dev/null
@@ -1,32 +0,0 @@
---- source/ogre/BaseApp_Create.cpp.orig 2022-11-11 19:35:22 UTC
-+++ source/ogre/BaseApp_Create.cpp
-@@ -177,12 +177,16 @@ BaseApp::~BaseApp()
- mPlatform->shutdown(); delete mPlatform; mPlatform = 0; }
-
- // save inputs
-- mInputCtrl->save(PATHMANAGER::UserConfigDir() + "/input.xml");
-- delete mInputCtrl;
-+ if (mInputCtrl) {
-+ mInputCtrl->save(PATHMANAGER::UserConfigDir() + "/input.xml");
-+ delete mInputCtrl;
-+ }
- for (int i=0; i<4; ++i)
- {
-- mInputCtrlPlayer[i]->save(PATHMANAGER::UserConfigDir() + "/input_p" + toStr(i) + ".xml");
-- delete mInputCtrlPlayer[i];
-+ if (mInputCtrlPlayer[i]) {
-+ mInputCtrlPlayer[i]->save(PATHMANAGER::UserConfigDir() + "/input_p" + toStr(i) + ".xml");
-+ delete mInputCtrlPlayer[i];
-+ }
- }
-
- delete mInputWrapper;
-@@ -326,7 +330,7 @@ bool BaseApp::setup()
- #endif
-
- #ifdef _DEBUG
-- LogManager::getSingleton().setMinLogLevel(LML_TRIVIAL); // all
-+ //LogManager::getSingleton().setMinLogLevel(LML_TRIVIAL); // all
- #endif
-
- setupResources();
diff --git a/games/stuntrally/files/patch-source_ogre_common_Terrain.cpp b/games/stuntrally/files/patch-source_ogre_common_Terrain.cpp
deleted file mode 100644
index 4854584effda..000000000000
--- a/games/stuntrally/files/patch-source_ogre_common_Terrain.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- source/ogre/common/Terrain.cpp.orig 2022-11-11 19:35:22 UTC
-+++ source/ogre/common/Terrain.cpp
-@@ -202,8 +202,12 @@ if (bTer)
- // sync load since we want everything in place when we start
- mTerrainGroup->loadAllTerrains(true);
-
-- auto tsm = mTerrainGroup->getTerrainSlots();
-- terrain = tsm[0]->instance;
-+ TerrainGroup::TerrainIterator ti = mTerrainGroup->getTerrainIterator();
-+ while (ti.hasMoreElements())
-+ {
-+ terrain = ti.getNext()->instance;
-+ terrain->setVisibilityFlags(RV_Terrain);
-+ }
-
- mTerrainGroup->freeTemporaryResources();
- }
diff --git a/games/stuntrally/files/patch-source_shiny_Platforms_Ogre_OgreMaterialSerializer.cpp b/games/stuntrally/files/patch-source_shiny_Platforms_Ogre_OgreMaterialSerializer.cpp
deleted file mode 100644
index 2a84476b0a83..000000000000
--- a/games/stuntrally/files/patch-source_shiny_Platforms_Ogre_OgreMaterialSerializer.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- source/shiny/Platforms/Ogre/OgreMaterialSerializer.cpp.orig 2022-11-11 19:35:22 UTC
-+++ source/shiny/Platforms/Ogre/OgreMaterialSerializer.cpp
-@@ -7,7 +7,7 @@
- #include <OgreLogManager.h>
-
- //#if 0 // for Ogre 1.9 only
--#if OGRE_VERSION >= MYGUI_DEFINE_VERSION(1, 12, 0)
-+#if 1
- namespace Ogre
- {
- template <typename T> class MapIterator;
diff --git a/games/stuntrally/pkg-descr b/games/stuntrally/pkg-descr
deleted file mode 100644
index 2a3c70b35c33..000000000000
--- a/games/stuntrally/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-Stunt Rally is a racing game with rally style of driving, mostly
-on gravel.
-
-It features a rich variety of 172 tracks in 34 sceneries also on
-other planets.
-
-Track difficulty ranges from short and easy to very difficult stunt
-tracks including jumps, skewed loops, pipes winding in 3D, obstacles
-or all at once.
-
-There are 20 cars to choose, 1 motorbike, 3 hovering spaceships and
-1 bouncing sphere.
-The latter provide a fast and easier gameplay on flat tracks.
-
-Game modes include:
-Single Race, Tutorials, Championships, Challenges, Multiplayer and
-Split Screen. Also Replays and Ghost drive are present.
-
-The Track Editor allows creating and modifying tracks. It uses a
-3D spline generated road.
diff --git a/games/stuntrally/pkg-plist b/games/stuntrally/pkg-plist
deleted file mode 100644
index 114249b33a8e..000000000000
--- a/games/stuntrally/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-%%EDITOR%%bin/sr-editor
-%%TRANSLATOR%%bin/sr-translator
-%%MASTER_SERVER%%bin/sr-masterserver
-%%GAME%%bin/stuntrally
-%%EDITOR%%share/applications/sr-editor.desktop
-%%GAME%%share/applications/stuntrally.desktop
-%%EDITOR%%share/icons/hicolor/512x512/apps/sr-editor.png
-%%GAME%%share/icons/hicolor/512x512/apps/stuntrally.png