aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-22 16:03:00 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-22 16:03:00 +0800
commit17132f54e7446b9da0d8188c9ee2731f02d91c25 (patch)
treecd8df99c79049e74129da882cd8d52e76911f33f /games
parentdb8390ea3f4e3794f966b2c32ed565ff9324bff1 (diff)
downloadfreebsd-ports-gnome-17132f54e7446b9da0d8188c9ee2731f02d91c25.tar.gz
freebsd-ports-gnome-17132f54e7446b9da0d8188c9ee2731f02d91c25.tar.zst
freebsd-ports-gnome-17132f54e7446b9da0d8188c9ee2731f02d91c25.zip
- Support staging
- Convert USE_GMAKE to USES
Diffstat (limited to 'games')
-rw-r--r--games/bumprace/Makefile18
-rw-r--r--games/bumprace/pkg-plist149
2 files changed, 8 insertions, 159 deletions
diff --git a/games/bumprace/Makefile b/games/bumprace/Makefile
index 911c94f0946b..d56f5b333748 100644
--- a/games/bumprace/Makefile
+++ b/games/bumprace/Makefile
@@ -12,26 +12,24 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simple arcade racing game
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl mixer image
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-PORTDOCS= FAQ README
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= *
+PORTDATA= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e '/LIBS/ s|-lSDL_[a-z]*|& $${SDL_LIBS}|' ${WRKSRC}/configure
-.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}/FAQ ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/bumprace/pkg-plist b/games/bumprace/pkg-plist
deleted file mode 100644
index bafdd3e7b91d..000000000000
--- a/games/bumprace/pkg-plist
+++ /dev/null
@@ -1,149 +0,0 @@
-bin/bumprace
-%%DATADIR%%/gfx/1player.jpg
-%%DATADIR%%/gfx/2playercomp.jpg
-%%DATADIR%%/gfx/2playerteam.jpg
-%%DATADIR%%/gfx/back2.jpg
-%%DATADIR%%/gfx/cannon1.jpg
-%%DATADIR%%/gfx/cannon10.jpg
-%%DATADIR%%/gfx/cannon11.jpg
-%%DATADIR%%/gfx/cannon12.jpg
-%%DATADIR%%/gfx/cannon13.jpg
-%%DATADIR%%/gfx/cannon14.jpg
-%%DATADIR%%/gfx/cannon15.jpg
-%%DATADIR%%/gfx/cannon16.jpg
-%%DATADIR%%/gfx/cannon17.jpg
-%%DATADIR%%/gfx/cannon18.jpg
-%%DATADIR%%/gfx/cannon19.jpg
-%%DATADIR%%/gfx/cannon2.jpg
-%%DATADIR%%/gfx/cannon20.jpg
-%%DATADIR%%/gfx/cannon21.jpg
-%%DATADIR%%/gfx/cannon3.jpg
-%%DATADIR%%/gfx/cannon4.jpg
-%%DATADIR%%/gfx/cannon5.jpg
-%%DATADIR%%/gfx/cannon6.jpg
-%%DATADIR%%/gfx/cannon7.jpg
-%%DATADIR%%/gfx/cannon8.jpg
-%%DATADIR%%/gfx/cannon9.jpg
-%%DATADIR%%/gfx/completed.png
-%%DATADIR%%/gfx/crashed.png
-%%DATADIR%%/gfx/explosion1.gif
-%%DATADIR%%/gfx/font.png
-%%DATADIR%%/gfx/fore1.png
-%%DATADIR%%/gfx/fore11.gif
-%%DATADIR%%/gfx/fore12.gif
-%%DATADIR%%/gfx/fore13.gif
-%%DATADIR%%/gfx/fore14.gif
-%%DATADIR%%/gfx/fore15.gif
-%%DATADIR%%/gfx/fore16.gif
-%%DATADIR%%/gfx/fore2.png
-%%DATADIR%%/gfx/fore3.png
-%%DATADIR%%/gfx/fore4.png
-%%DATADIR%%/gfx/fore5.png
-%%DATADIR%%/gfx/fore6.png
-%%DATADIR%%/gfx/fore7.png
-%%DATADIR%%/gfx/fore8.png
-%%DATADIR%%/gfx/highscore.png
-%%DATADIR%%/gfx/laser1.png
-%%DATADIR%%/gfx/laser2.png
-%%DATADIR%%/gfx/laser3.png
-%%DATADIR%%/gfx/laser4.png
-%%DATADIR%%/gfx/laser5.png
-%%DATADIR%%/gfx/laser6.png
-%%DATADIR%%/gfx/laser7.png
-%%DATADIR%%/gfx/laser8.png
-%%DATADIR%%/gfx/laser9.png
-%%DATADIR%%/gfx/quit.jpg
-%%DATADIR%%/gfx/racer_big.gif
-%%DATADIR%%/gfx/racerb_big.gif
-%%DATADIR%%/gfx/racerc1.gif
-%%DATADIR%%/gfx/racerc10.gif
-%%DATADIR%%/gfx/racerc11.gif
-%%DATADIR%%/gfx/racerc12.gif
-%%DATADIR%%/gfx/racerc13.gif
-%%DATADIR%%/gfx/racerc14.gif
-%%DATADIR%%/gfx/racerc15.gif
-%%DATADIR%%/gfx/racerc16.gif
-%%DATADIR%%/gfx/racerc17.gif
-%%DATADIR%%/gfx/racerc18.gif
-%%DATADIR%%/gfx/racerc2.gif
-%%DATADIR%%/gfx/racerc3.gif
-%%DATADIR%%/gfx/racerc4.gif
-%%DATADIR%%/gfx/racerc5.gif
-%%DATADIR%%/gfx/racerc6.gif
-%%DATADIR%%/gfx/racerc7.gif
-%%DATADIR%%/gfx/racerc8.gif
-%%DATADIR%%/gfx/racerc9.gif
-%%DATADIR%%/gfx/racerd1.gif
-%%DATADIR%%/gfx/racerd10.gif
-%%DATADIR%%/gfx/racerd11.gif
-%%DATADIR%%/gfx/racerd12.gif
-%%DATADIR%%/gfx/racerd13.gif
-%%DATADIR%%/gfx/racerd14.gif
-%%DATADIR%%/gfx/racerd15.gif
-%%DATADIR%%/gfx/racerd16.gif
-%%DATADIR%%/gfx/racerd17.gif
-%%DATADIR%%/gfx/racerd18.gif
-%%DATADIR%%/gfx/racerd2.gif
-%%DATADIR%%/gfx/racerd3.gif
-%%DATADIR%%/gfx/racerd4.gif
-%%DATADIR%%/gfx/racerd5.gif
-%%DATADIR%%/gfx/racerd6.gif
-%%DATADIR%%/gfx/racerd7.gif
-%%DATADIR%%/gfx/racerd8.gif
-%%DATADIR%%/gfx/racerd9.gif
-%%DATADIR%%/gfx/racerd_big.gif
-%%DATADIR%%/gfx/racere1.gif
-%%DATADIR%%/gfx/racere10.gif
-%%DATADIR%%/gfx/racere11.gif
-%%DATADIR%%/gfx/racere12.gif
-%%DATADIR%%/gfx/racere13.gif
-%%DATADIR%%/gfx/racere14.gif
-%%DATADIR%%/gfx/racere15.gif
-%%DATADIR%%/gfx/racere16.gif
-%%DATADIR%%/gfx/racere17.gif
-%%DATADIR%%/gfx/racere18.gif
-%%DATADIR%%/gfx/racere2.gif
-%%DATADIR%%/gfx/racere3.gif
-%%DATADIR%%/gfx/racere4.gif
-%%DATADIR%%/gfx/racere5.gif
-%%DATADIR%%/gfx/racere6.gif
-%%DATADIR%%/gfx/racere7.gif
-%%DATADIR%%/gfx/racere8.gif
-%%DATADIR%%/gfx/racere9.gif
-%%DATADIR%%/gfx/racere_big.gif
-%%DATADIR%%/gfx/racerf1.gif
-%%DATADIR%%/gfx/racerf10.gif
-%%DATADIR%%/gfx/racerf11.gif
-%%DATADIR%%/gfx/racerf12.gif
-%%DATADIR%%/gfx/racerf13.gif
-%%DATADIR%%/gfx/racerf14.gif
-%%DATADIR%%/gfx/racerf15.gif
-%%DATADIR%%/gfx/racerf16.gif
-%%DATADIR%%/gfx/racerf17.gif
-%%DATADIR%%/gfx/racerf18.gif
-%%DATADIR%%/gfx/racerf2.gif
-%%DATADIR%%/gfx/racerf3.gif
-%%DATADIR%%/gfx/racerf4.gif
-%%DATADIR%%/gfx/racerf5.gif
-%%DATADIR%%/gfx/racerf6.gif
-%%DATADIR%%/gfx/racerf7.gif
-%%DATADIR%%/gfx/racerf8.gif
-%%DATADIR%%/gfx/racerf9.gif
-%%DATADIR%%/gfx/racerf_big.gif
-%%DATADIR%%/gfx/select.gif
-%%DATADIR%%/gfx/selectp1.jpg
-%%DATADIR%%/gfx/selectp2.jpg
-%%DATADIR%%/gfx/star1.gif
-%%DATADIR%%/gfx/star2.gif
-%%DATADIR%%/gfx/star3.gif
-%%DATADIR%%/gfx/star4.gif
-%%DATADIR%%/gfx/star5.gif
-%%DATADIR%%/gfx/timeout.png
-%%DATADIR%%/gfx/title.gif
-%%DATADIR%%/sound/explode.wav
-%%DATADIR%%/sound/lizard.mod
-%%DATADIR%%/sound/whoosh.wav
-%%DATADIR%%/sound/winlevel.wav
-@dirrm %%DATADIR%%/sound
-@dirrm %%DATADIR%%/gfx
-@dirrm %%DATADIR%%