pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



Module Name:	pkgsrc-wip
Committed By:	sxvghd <sxvghd%firemail.cc@localhost>
Pushed By:	sxvghd
Date:		Mon Nov 11 22:54:07 2019 +0100
Changeset:	d4972146677d6300576296a9e7594fd6a5e1c60c

Added Files:
	trigger-rally/DESCR
	trigger-rally/Makefile
	trigger-rally/PLIST
	trigger-rally/distinfo

Log Message:
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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d4972146677d6300576296a9e7594fd6a5e1c60c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 trigger-rally/DESCR    | 17 ++++++++++++++
 trigger-rally/Makefile | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++
 trigger-rally/PLIST    |  6 +++++
 trigger-rally/distinfo |  6 +++++
 4 files changed, 92 insertions(+)

diffs:
diff --git a/trigger-rally/DESCR b/trigger-rally/DESCR
new file mode 100644
index 0000000000..891fe2b727
--- /dev/null
+++ b/trigger-rally/DESCR
@@ -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.
diff --git a/trigger-rally/Makefile b/trigger-rally/Makefile
new file mode 100644
index 0000000000..039376b906
--- /dev/null
+++ b/trigger-rally/Makefile
@@ -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@localhost
+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"
diff --git a/trigger-rally/PLIST b/trigger-rally/PLIST
new file mode 100644
index 0000000000..a5717a97d3
--- /dev/null
+++ b/trigger-rally/PLIST
@@ -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
diff --git a/trigger-rally/distinfo b/trigger-rally/distinfo
new file mode 100644
index 0000000000..69fbf064ba
--- /dev/null
+++ b/trigger-rally/distinfo
@@ -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


Home | Main Index | Thread Index | Old Index