aboutsummaryrefslogtreecommitdiffstats
path: root/games/trigger
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-04-11 05:14:42 +0800
committerpav <pav@FreeBSD.org>2005-04-11 05:14:42 +0800
commit536c60a743afea2dc2d5c1c418cf2e55ff13ff36 (patch)
treeab65ed7c0619e62bed7058352318a5fcd383a93f /games/trigger
parentec6ed26fd9d1da6be7aa6e5c3641ee7bf0a81ac9 (diff)
downloadfreebsd-ports-gnome-536c60a743afea2dc2d5c1c418cf2e55ff13ff36.tar.gz
freebsd-ports-gnome-536c60a743afea2dc2d5c1c418cf2e55ff13ff36.tar.zst
freebsd-ports-gnome-536c60a743afea2dc2d5c1c418cf2e55ff13ff36.zip
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>
Diffstat (limited to 'games/trigger')
-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
4 files changed, 185 insertions, 0 deletions
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%%