trigger-rally: import trigger-rally-0.6.6.1 as wip/trigger-rally

A 3D rally simulation with a great physics engine for drifting, over 200
maps, different terrain materials like dirt, asphalt, sand, ice etc. and
various weather, light and fog conditions. Most maps are equipped with
spoken co-driver notes and co-driver icons.
This commit is contained in:
sxvghd 2019-11-11 22:54:07 +01:00
parent 977bbe8ff4
commit d497214667
4 changed files with 92 additions and 0 deletions

17
trigger-rally/DESCR Normal file
View File

@ -0,0 +1,17 @@
A 3D rally simulation with a great physics engine for drifting, over 200 maps,
different terrain materials like dirt, asphalt, sand, ice etc. and various
weather, light and fog conditions give this rally simulation the edge over many
other free games. You need to make it through the maps in often tight time
limits and can further improve by beating the recorded high scores. All attached
single races must be finished in time in order to win an event, unlocking
additional events and cars. Most maps are equipped with spoken co-driver notes
and co-driver icons.
Many configuration details for display and audio adjustments can be edited in
the well documented plain text configuration file.
Additional contributed maps and events are ready for download as plugins.
Trigger Rally works well with common low performance laptops from about 2008.
And if something like snow flakes and vegetation sprites demand to much from
your system you can just disable it.

63
trigger-rally/Makefile Normal file
View File

@ -0,0 +1,63 @@
# $NetBSD$
DISTNAME= trigger-rally-0.6.6.1
CATEGORIES= games
MASTER_SITES= https://downloads.sourceforge.net/project/trigger-rally/trigger-0.6.6.1/
MAINTAINER= sxvghd@firemail.cc
HOMEPAGE= https://sourceforge.net/projects/trigger-rally
COMMENT= A 3D rally simulation racing game.
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c++
USE_TOOLS= gmake chmod
BUILD_DIRS= src
BUILD_TARGET= build
MAKE_FILE= GNUmakefile
SUBST_CLASSES+= fix-mk
SUBST_STAGE.fix-mk= pre-configure
SUBST_MESSAGE.fix-mk= Fixing makefile.
SUBST_FILES.fix-mk= src/GNUmakefile
SUBST_SED.fix-mk= -e "s,/games,/share/games/trigger-rally,g"
SUBST_SED.fix-mk+= -e "s,$(prefix)/share,$(prefix),g"
SUBST_SED.fix-mk+= -e "s,/usr/local,${PREFIX},g"
SUBST_SED.fix-mk+= -e "s,-I'./include', -I'./include' -I${PREFIX}/include,g"
SUBST_CLASSES+= fix-errors
SUBST_STAGE.fix-errors= pre-configure
SUBST_MESSAGE.fix-errors= Fixing compile time errors.
SUBST_FILES.fix-errors= src/PEngine/util.cpp
SUBST_FILES.fix-errors+= src/Trigger/main.cpp
SUBST_SED.fix-errors= -e 's,ErrorStr(),Error(),g'
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing game data paths.
SUBST_FILES.fix-paths= src/Trigger/main.cpp
SUBST_FILES.fix-paths+= bin/trigger-rally.config.defs
SUBST_SED.fix-paths= -e 's,/usr/share/games/trigger-rally,${PREFIX}/share/games/trigger-rally,g'
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/games/trigger-rally
${INSTALL_DATA} ${WRKSRC}/bin/trigger-rally ${DESTDIR}${PREFIX}/share/games/trigger-rally/
${INSTALL_DATA} ${WRKSRC}/bin/trigger-rally.config.defs ${DESTDIR}${PREFIX}/share/games/trigger-rally/
${INSTALL_DATA} ${WRKSRC}/data/data.zip ${DESTDIR}${PREFIX}/share/games/trigger-rally/
${INSTALL_DATA} ${WRKSRC}/data/data.md5 ${DESTDIR}${PREFIX}/share/games/trigger-rally/
post-install:
install -m 0755 -l s -o ${BINOWN} -g ${BINGRP} ${DESTDIR}${PREFIX}/share/games/trigger-rally/trigger-rally ${DESTDIR}${PREFIX}/bin/trigger-rally
chmod +x ${DESTDIR}${PREFIX}/bin/trigger-rally
.include "../../devel/SDL2/buildlink3.mk"
.include "../../graphics/SDL2_image/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../devel/physfs/buildlink3.mk"
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../audio/freealut/buildlink3.mk"
.include "../../textproc/tinyxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

6
trigger-rally/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $NetBSD$
bin/trigger-rally
share/games/trigger-rally/data.md5
share/games/trigger-rally/data.zip
share/games/trigger-rally/trigger-rally
share/games/trigger-rally/trigger-rally.config.defs

6
trigger-rally/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (trigger-rally-0.6.6.1.tar.gz) = e4e870daaa7a8a0dc66e7546d545e820ca42c354
RMD160 (trigger-rally-0.6.6.1.tar.gz) = 3ad780fb3413ba0e7b4bcf18245b7bac5b9cf65b
SHA512 (trigger-rally-0.6.6.1.tar.gz) = feed805858ef63907bb10088761f1219b22fe55ead268511ef73b18aa0f18d79e87d4e2cbfb76361b1dec3949b59464af33efe31e81f06ae7e163430f3336669
Size (trigger-rally-0.6.6.1.tar.gz) = 120707584 bytes