diff options
author | makc <makc@FreeBSD.org> | 2015-02-27 22:49:23 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2015-02-27 22:49:23 +0800 |
commit | e94460811306ddeebb9d1ba2ada8e61fcfccb530 (patch) | |
tree | c74b4e5a8764b146c778be8c6f9adfa9475bd12c /games/trigger | |
parent | 9d4d23a9f1ac52b5a5e0d199da5184497aa13292 (diff) | |
download | freebsd-ports-gnome-e94460811306ddeebb9d1ba2ada8e61fcfccb530.tar.gz freebsd-ports-gnome-e94460811306ddeebb9d1ba2ada8e61fcfccb530.tar.zst freebsd-ports-gnome-e94460811306ddeebb9d1ba2ada8e61fcfccb530.zip |
Rename games/trigger to games/trigger-rally (follow upstream naming) and
create separate port for game data.
games/trigger-rally:
- Pass required bits via arguments instead of patching configure script
- Clean up Makefile
- Stop using plist in favour one line PLIST_FILES
games/trigger-data:
- Mark port as architecture neutral
Diffstat (limited to 'games/trigger')
-rw-r--r-- | games/trigger/Makefile | 66 | ||||
-rw-r--r-- | games/trigger/distinfo | 4 | ||||
-rw-r--r-- | games/trigger/pkg-descr | 7 | ||||
-rw-r--r-- | games/trigger/pkg-plist | 108 |
4 files changed, 0 insertions, 185 deletions
diff --git a/games/trigger/Makefile b/games/trigger/Makefile deleted file mode 100644 index 824b5b672d8d..000000000000 --- a/games/trigger/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -# Created by: Jean-Yves Lefort <jylefort@brutele.be> -# $FreeBSD$ - -PORTNAME= trigger -PORTVERSION= 0.6.0 -PORTREVISION= 3 -CATEGORIES= games -MASTER_SITES= SF/${PORTNAME}-rally/${PORTNAME}-rally/${PORTNAME}-${PORTVERSION} -DISTFILES= trigger-rally-${PORTVERSION}-src${EXTRACT_SUFX} \ - trigger-rally-${DATAVERSION}-data${EXTRACT_SUFX} - -MAINTAINER= makc@FreeBSD.org -COMMENT= Rally car racing game - -BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam -LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs - -USES= openal:al,alut tar:bzip2 -USE_SDL= sdl image -USE_GL= glu -GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} - -WRKSRC= ${WRKDIR}/trigger-rally-${PORTVERSION}-src -DATASRC= ${WRKDIR}/trigger-rally-${DATAVERSION}-data - -DATAVERSION= 0.6.0 - -DESKTOP_ENTRIES="Trigger" "${COMMENT}" "" \ - "trigger" "" false - -PORTDOCS= README-stereo.txt README.txt - -OPTIONS_DEFINE= DOCS - -.include <bsd.port.options.mk> - -post-patch: - @${REINPLACE_CMD} -e 's|SDL/||' \ - ${WRKSRC}/src/trigger/main.cpp \ - ${WRKSRC}/src/pengine/texture.cpp - @${REINPLACE_CMD} -e 's|\$${prefix}/share|${DATADIR}|; \ - s|-lopenal|& -lalut|g' \ - ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/Jamrules - -do-build: - @cd ${BUILD_WRKSRC} && ${LOCALBASE}/bin/jam - -do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/trigger ${STAGEDIR}${PREFIX}/bin - - ${MKDIR} ${STAGEDIR}${DATADIR} -.for d in events fonts maps plugins sounds textures vehicles - cd ${DATASRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR} -.endfor - ${INSTALL_DATA} ${DATASRC}/trigger.config.defs ${STAGEDIR}${DATADIR} - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif - -.include <bsd.port.mk> diff --git a/games/trigger/distinfo b/games/trigger/distinfo deleted file mode 100644 index 9d160df64b2d..000000000000 --- a/games/trigger/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (trigger-rally-0.6.0-src.tar.bz2) = dc818f359fff71a8ba5e147886f233cca6478e5b007ef0a38a2974cca855a662 -SIZE (trigger-rally-0.6.0-src.tar.bz2) = 333977 -SHA256 (trigger-rally-0.6.0-data.tar.bz2) = 9ec81472051c890eb2c69e3036299059c7ae82fe445fd4c210c25764f6733598 -SIZE (trigger-rally-0.6.0-data.tar.bz2) = 21204146 diff --git a/games/trigger/pkg-descr b/games/trigger/pkg-descr deleted file mode 100644 index d1526b283ce1..000000000000 --- a/games/trigger/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -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://trigger-rally.sourceforge.net diff --git a/games/trigger/pkg-plist b/games/trigger/pkg-plist deleted file mode 100644 index b6a0e10737ed..000000000000 --- a/games/trigger/pkg-plist +++ /dev/null @@ -1,108 +0,0 @@ -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/desertstorm/colormap.jpg -%%DATADIR%%/events/triggercup/desertstorm/foliagemap.png -%%DATADIR%%/events/triggercup/desertstorm/heightmap.png -%%DATADIR%%/events/triggercup/desertstorm/storm.level -%%DATADIR%%/events/triggercup/lunar/colormap.jpg -%%DATADIR%%/events/triggercup/lunar/foliagemap.png -%%DATADIR%%/events/triggercup/lunar/heightmap.png -%%DATADIR%%/events/triggercup/lunar/lunar.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%%/fonts/crillee.pfb -%%DATADIR%%/maps/greengrounds/colormap.jpg -%%DATADIR%%/maps/greengrounds/foliagemap.png -%%DATADIR%%/maps/greengrounds/greengrounds.level -%%DATADIR%%/maps/greengrounds/heightmap.png -%%DATADIR%%/maps/mountainpass/colormap.jpg -%%DATADIR%%/maps/mountainpass/foliagemap.png -%%DATADIR%%/maps/mountainpass/heightmap.png -%%DATADIR%%/maps/mountainpass/mountainpass.level -%%DATADIR%%/maps/roundhouse/roundhouse-c.jpg -%%DATADIR%%/maps/roundhouse/roundhouse-f.jpg -%%DATADIR%%/maps/roundhouse/roundhouse-h.jpg -%%DATADIR%%/maps/roundhouse/roundhouse.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/banana_island.zip -%%DATADIR%%/plugins/cross_mountain.zip -%%DATADIR%%/plugins/crosspulp.zip -%%DATADIR%%/plugins/delta.zip -%%DATADIR%%/plugins/desert_rush.zip -%%DATADIR%%/plugins/ghats.zip -%%DATADIR%%/plugins/helicoil.zip -%%DATADIR%%/plugins/icypeak.zip -%%DATADIR%%/plugins/illa.zip -%%DATADIR%%/plugins/monza.zip -%%DATADIR%%/plugins/muntaya.zip -%%DATADIR%%/plugins/rscup.zip -%%DATADIR%%/plugins/santa.zip -%%DATADIR%%/plugins/serpentine.zip -%%DATADIR%%/plugins/snowlevel.zip -%%DATADIR%%/plugins/snowyhills.zip -%%DATADIR%%/plugins/tobago.zip -%%DATADIR%%/plugins/westernchallenge.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/cursor.png -%%DATADIR%%/textures/detail.jpg -%%DATADIR%%/textures/dial_gear.png -%%DATADIR%%/textures/dial_rev.png -%%DATADIR%%/textures/dial_speed_hybrid_kph.png -%%DATADIR%%/textures/dial_speed_hybrid_mph.png -%%DATADIR%%/textures/dial_speed_kph.png -%%DATADIR%%/textures/dial_speed_mph.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 |