summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-10 21:14:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-10 21:14:42 +0000
commit3ce3ebb1a76d4716e6415d247c195280c0ff40a3 (patch)
tree427b7286ca5d048f82a49a00740e34c86a8f504a /games
parentNow builds on sparc64 (diff)
Trigger is a free rally car racing game. Fun for all the family! You
race a sequence of 6 courses, with increasing levels of difficulty. Trigger is highly customisable, and it's easy to add new levels and vehicles. PR: ports/79404 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Notes
Notes: svn path=/head/; revision=132944
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/trigger/Makefile72
-rw-r--r--games/trigger/distinfo4
-rw-r--r--games/trigger/pkg-descr10
-rw-r--r--games/trigger/pkg-plist99
5 files changed, 186 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 0e96677a49a9..bd47b6251cb2 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -482,6 +482,7 @@
SUBDIR += trackballs
SUBDIR += tractorgen
SUBDIR += traindirector
+ SUBDIR += trigger
SUBDIR += trojka
SUBDIR += trophy
SUBDIR += tsito
diff --git a/games/trigger/Makefile b/games/trigger/Makefile
new file mode 100644
index 000000000000..083f7fb879b8
--- /dev/null
+++ b/games/trigger/Makefile
@@ -0,0 +1,72 @@
+# New ports collection makefile for: trigger
+# Date created: 31 Mar 2005
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= trigger
+PORTVERSION= 0.5.1c
+CATEGORIES= games
+MASTER_SITES= http://0day.icculus.org/mirrors/trigger/
+DISTFILES= trigger-${PORTVERSION}-src${EXTRACT_SUFX} \
+ trigger-${PORTVERSION}-data${EXTRACT_SUFX}
+
+MAINTAINER= jylefort@brutele.be
+COMMENT= A rally car racing game
+
+BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
+LIB_DEPENDS= openal:${PORTSDIR}/audio/openal \
+ physfs:${PORTSDIR}/devel/physfs
+
+USE_X_PREFIX= yes
+USE_SDL= sdl image
+USE_GL= yes
+USE_BZIP2= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+WRKSRC= ${WRKDIR}/trigger-${PORTVERSION}-src
+DATASRC= ${WRKDIR}/trigger-${PORTVERSION}-data
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+USE_GCC= 3.4
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|SDL/||' \
+ ${WRKSRC}/src/trigger/main.cpp \
+ ${WRKSRC}/src/pengine/texture.cpp
+ @${REINPLACE_CMD} -e 's|\$${prefix}/share|${DATADIR}|' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/Jamrules
+
+do-build:
+ @cd ${BUILD_WRKSRC} && ${LOCALBASE}/bin/jam
+
+do-install:
+ ${MKDIR} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/trigger ${PREFIX}/bin
+
+ ${MKDIR} ${DATADIR}
+.for d in events maps plugins sounds textures vehicles
+ ${CP} -R ${DATASRC}/${d} ${DATADIR}
+.endfor
+ ${INSTALL_DATA} ${DATASRC}/trigger.config.defs ${DATADIR}
+
+ -${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/*
+ ${FIND} ${DATADIR}/* -type f -exec ${CHMOD} 444 {} \;
+ ${FIND} ${DATADIR}/* -type d -exec ${CHMOD} 555 {} \;
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in README-stereo.txt README.txt
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/trigger/distinfo b/games/trigger/distinfo
new file mode 100644
index 000000000000..ccac18b1f025
--- /dev/null
+++ b/games/trigger/distinfo
@@ -0,0 +1,4 @@
+MD5 (trigger-0.5.1c-src.tar.bz2) = 8d4747f7af55f867866dfbf34333c962
+SIZE (trigger-0.5.1c-src.tar.bz2) = 259508
+MD5 (trigger-0.5.1c-data.tar.bz2) = ae4f7358c2af98daacb6881bcc159d40
+SIZE (trigger-0.5.1c-data.tar.bz2) = 6165837
diff --git a/games/trigger/pkg-descr b/games/trigger/pkg-descr
new file mode 100644
index 000000000000..9c2d4cf0e8ba
--- /dev/null
+++ b/games/trigger/pkg-descr
@@ -0,0 +1,10 @@
+Trigger is a free rally car racing game. Fun for all the family! You
+race a sequence of 6 courses, with increasing levels of difficulty.
+
+Trigger is highly customisable, and it's easy to add new levels and
+vehicles.
+
+WWW: http://www.positro.net/trigger/
+
+- Jean-Yves Lefort
+jylefort@brutele.be
diff --git a/games/trigger/pkg-plist b/games/trigger/pkg-plist
new file mode 100644
index 000000000000..24870ffa86a4
--- /dev/null
+++ b/games/trigger/pkg-plist
@@ -0,0 +1,99 @@
+bin/trigger
+%%DATADIR%%/events/triggercup/bigjump/colormap.jpg
+%%DATADIR%%/events/triggercup/bigjump/foliagemap.png
+%%DATADIR%%/events/triggercup/bigjump/heightmap.png
+%%DATADIR%%/events/triggercup/bigjump/jump.level
+%%DATADIR%%/events/triggercup/monkeybusiness/colormap.jpg
+%%DATADIR%%/events/triggercup/monkeybusiness/foliagemap.png
+%%DATADIR%%/events/triggercup/monkeybusiness/heightmap.png
+%%DATADIR%%/events/triggercup/monkeybusiness/monkey.level
+%%DATADIR%%/events/triggercup/oldmacdonald/colormap.jpg
+%%DATADIR%%/events/triggercup/oldmacdonald/farm.level
+%%DATADIR%%/events/triggercup/oldmacdonald/foliagemap.png
+%%DATADIR%%/events/triggercup/oldmacdonald/heightmap.png
+%%DATADIR%%/events/triggercup/triggercup.event
+%%DATADIR%%/events/triggercup/warmup/colormap.jpg
+%%DATADIR%%/events/triggercup/warmup/foliagemap.png
+%%DATADIR%%/events/triggercup/warmup/heightmap.png
+%%DATADIR%%/events/triggercup/warmup/warmup.level
+%%DATADIR%%/maps/desertstorm/colormap.jpg
+%%DATADIR%%/maps/desertstorm/foliagemap.png
+%%DATADIR%%/maps/desertstorm/heightmap.png
+%%DATADIR%%/maps/desertstorm/storm.level
+%%DATADIR%%/maps/lunar/colormap.jpg
+%%DATADIR%%/maps/lunar/foliagemap.png
+%%DATADIR%%/maps/lunar/heightmap.png
+%%DATADIR%%/maps/lunar/lunar.level
+%%DATADIR%%/maps/saharatea/level7-c.jpg
+%%DATADIR%%/maps/saharatea/level7-f.png
+%%DATADIR%%/maps/saharatea/level7-h.png
+%%DATADIR%%/maps/saharatea/level7.level
+%%DATADIR%%/plugins/snowlevel.zip
+%%DATADIR%%/sounds/engine1.wav
+%%DATADIR%%/sounds/evo_sound/clank1.wav
+%%DATADIR%%/sounds/evo_sound/clank3.wav
+%%DATADIR%%/sounds/gravel2.wav
+%%DATADIR%%/sounds/wind.wav
+%%DATADIR%%/textures/arrow.png
+%%DATADIR%%/textures/consolefont.png
+%%DATADIR%%/textures/detail.jpg
+%%DATADIR%%/textures/dial_gear.png
+%%DATADIR%%/textures/dial_rev.png
+%%DATADIR%%/textures/dial_speed.png
+%%DATADIR%%/textures/dust.png
+%%DATADIR%%/textures/gunflare.jpg
+%%DATADIR%%/textures/life_helmet.png
+%%DATADIR%%/textures/shadow.png
+%%DATADIR%%/textures/sky/blue.jpg
+%%DATADIR%%/textures/sky/overcast.jpg
+%%DATADIR%%/textures/sky/stars.jpg
+%%DATADIR%%/textures/splash/endgame.jpg
+%%DATADIR%%/textures/splash/splash.jpg
+%%DATADIR%%/textures/veg/cactus1.png
+%%DATADIR%%/textures/veg/grass-sprite.png
+%%DATADIR%%/textures/veg/palmy.png
+%%DATADIR%%/trigger.config.defs
+%%DATADIR%%/vehicles/evo/evo.ase
+%%DATADIR%%/vehicles/evo/evo.vehicle
+%%DATADIR%%/vehicles/evo/evo_complete.fx
+%%DATADIR%%/vehicles/evo/evo_complete.jpg
+%%DATADIR%%/vehicles/evo/evo_wheel.ase
+%%DATADIR%%/vehicles/evo/glass.fx
+%%DATADIR%%/vehicles/evo/glass.png
+%%DATADIR%%/vehicles/focus/focus.ase
+%%DATADIR%%/vehicles/focus/focus.vehicle
+%%DATADIR%%/vehicles/focus/focus_complete.fx
+%%DATADIR%%/vehicles/focus/focus_complete.jpg
+%%DATADIR%%/vehicles/focus/focus_wheel.ase
+%%DATADIR%%/vehicles/seat/seat.ase
+%%DATADIR%%/vehicles/seat/seat.vehicle
+%%DATADIR%%/vehicles/seat/seat.vehicle.contrib
+%%DATADIR%%/vehicles/seat/seat.vehicle.orig
+%%DATADIR%%/vehicles/seat/seat_complete.fx
+%%DATADIR%%/vehicles/seat/seat_complete.jpg
+%%DATADIR%%/vehicles/seat/seat_wheel.ase
+%%PORTDOCS%%%%DOCSDIR%%/README-stereo.txt
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+@dirrm %%DATADIR%%/events/triggercup/bigjump
+@dirrm %%DATADIR%%/events/triggercup/monkeybusiness
+@dirrm %%DATADIR%%/events/triggercup/oldmacdonald
+@dirrm %%DATADIR%%/events/triggercup/warmup
+@dirrm %%DATADIR%%/events/triggercup
+@dirrm %%DATADIR%%/events
+@dirrm %%DATADIR%%/maps/desertstorm
+@dirrm %%DATADIR%%/maps/lunar
+@dirrm %%DATADIR%%/maps/saharatea
+@dirrm %%DATADIR%%/maps
+@dirrm %%DATADIR%%/plugins
+@dirrm %%DATADIR%%/sounds/evo_sound
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%/textures/sky
+@dirrm %%DATADIR%%/textures/splash
+@dirrm %%DATADIR%%/textures/veg
+@dirrm %%DATADIR%%/textures
+@dirrm %%DATADIR%%/vehicles/evo
+@dirrm %%DATADIR%%/vehicles/focus
+@dirrm %%DATADIR%%/vehicles/seat
+@dirrm %%DATADIR%%/vehicles
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%