aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/toycars/Makefile22
-rw-r--r--games/toycars/pkg-plist70
2 files changed, 11 insertions, 81 deletions
diff --git a/games/toycars/Makefile b/games/toycars/Makefile
index 9fa30fb96d70..f6083795ee12 100644
--- a/games/toycars/Makefile
+++ b/games/toycars/Makefile
@@ -10,30 +10,30 @@ MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Physics-based 2D racing game
-LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk
+LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk
+USES= gmake
USE_SDL= image sdl
USE_GL= gl glu
-USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-PORTDOCS= README
+PLIST_FILES= bin/toycars \
+ bin/toycars_track_editor \
+ bin/toycars_vehicle_editor
+PORTDOCS= *
+PORTDATA= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
post-extract:
@${RM} ${WRKSRC}/data/.*Store
-.if ${PORT_OPTIONS:MDOCS}
post-install:
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/toycars/pkg-plist b/games/toycars/pkg-plist
deleted file mode 100644
index 91e3caeb4c0a..000000000000
--- a/games/toycars/pkg-plist
+++ /dev/null
@@ -1,70 +0,0 @@
-bin/toycars
-bin/toycars_track_editor
-bin/toycars_vehicle_editor
-%%DATADIR%%/data/cars/carslist.xml
-%%DATADIR%%/data/cars/concept_sedan/concept_sedan.png
-%%DATADIR%%/data/cars/concept_sedan/concept_sedan.xml
-%%DATADIR%%/data/cars/concept_sedan/concept_sedan_wheel.png
-%%DATADIR%%/data/cars/dodge-viper/dodge-viper-sprite.png
-%%DATADIR%%/data/cars/dodge-viper/dodge-viper.xml
-%%DATADIR%%/data/cars/dodge-viper/wheel.png
-%%DATADIR%%/data/cars/ferrari-f1/ferrari-f1-sprite.png
-%%DATADIR%%/data/cars/ferrari-f1/ferrari-f1.xml
-%%DATADIR%%/data/cars/ferrari-f1/ferrari-wheel-sprite.png
-%%DATADIR%%/data/fonts/cricket1.glf
-%%DATADIR%%/data/images/KPH.png
-%%DATADIR%%/data/images/RPM.png
-%%DATADIR%%/data/images/bombsprite.png
-%%DATADIR%%/data/images/lights/green.png
-%%DATADIR%%/data/images/lights/yellow1.png
-%%DATADIR%%/data/images/lights/yellow2.png
-%%DATADIR%%/data/images/loading.png
-%%DATADIR%%/data/images/needle.png
-%%DATADIR%%/data/images/signs.png
-%%DATADIR%%/data/images/title.png
-%%DATADIR%%/data/music/Motor_Car_Song.ogg
-%%DATADIR%%/data/sounds/Explosion.ogg
-%%DATADIR%%/data/sounds/bang_6.wav
-%%DATADIR%%/data/sounds/dust_slide.wav
-%%DATADIR%%/data/sounds/engine.wav
-%%DATADIR%%/data/sounds/mud.wav
-%%DATADIR%%/data/sounds/organ-c6.aif
-%%DATADIR%%/data/sounds/organ-c7.aif
-%%DATADIR%%/data/tilesets/default/default.xml
-%%DATADIR%%/data/tilesets/default/tiles.png
-%%DATADIR%%/data/tracks/Arizona/Arizona.map
-%%DATADIR%%/data/tracks/Arizona/Arizona.xml
-%%DATADIR%%/data/tracks/Brasilia/Brasilia.map
-%%DATADIR%%/data/tracks/Brasilia/Brasilia.xml
-%%DATADIR%%/data/tracks/Corner/Corner.xml
-%%DATADIR%%/data/tracks/Corner/corner.map
-%%DATADIR%%/data/tracks/Edmonton/Edmonton.map
-%%DATADIR%%/data/tracks/Edmonton/Edmonton.xml
-%%DATADIR%%/data/tracks/Hairpin/Hairpin.map
-%%DATADIR%%/data/tracks/Hairpin/Hairpin.xml
-%%DATADIR%%/data/tracks/Oval/Oval.map
-%%DATADIR%%/data/tracks/Oval/Oval.xml
-%%DATADIR%%/data/tracks/Snake/Snake.map
-%%DATADIR%%/data/tracks/Snake/Snake.xml
-%%DATADIR%%/data/tracks/tracklist.xml
-@dirrm %%DATADIR%%/data/tracks/Snake
-@dirrm %%DATADIR%%/data/tracks/Oval
-@dirrm %%DATADIR%%/data/tracks/Hairpin
-@dirrm %%DATADIR%%/data/tracks/Edmonton
-@dirrm %%DATADIR%%/data/tracks/Corner
-@dirrm %%DATADIR%%/data/tracks/Brasilia
-@dirrm %%DATADIR%%/data/tracks/Arizona
-@dirrm %%DATADIR%%/data/tracks
-@dirrm %%DATADIR%%/data/tilesets/default
-@dirrm %%DATADIR%%/data/tilesets
-@dirrm %%DATADIR%%/data/sounds
-@dirrm %%DATADIR%%/data/music
-@dirrm %%DATADIR%%/data/images/lights
-@dirrm %%DATADIR%%/data/images
-@dirrm %%DATADIR%%/data/fonts
-@dirrm %%DATADIR%%/data/cars/ferrari-f1
-@dirrm %%DATADIR%%/data/cars/dodge-viper
-@dirrm %%DATADIR%%/data/cars/concept_sedan
-@dirrm %%DATADIR%%/data/cars
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%