aboutsummaryrefslogtreecommitdiff
path: root/games/rezerwar
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-19 02:33:32 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-19 02:33:32 +0000
commitdffba1a8e5a4fb8927abbce4702148ca455e3330 (patch)
tree2ef8bb3e87e0281a6d155e39f0a6ec4cc48bce41 /games/rezerwar
parent1e6c8d5d1fb39d54e298d9ea163231ded0b1d112 (diff)
downloadports-dffba1a8e5a4fb8927abbce4702148ca455e3330.tar.gz
ports-dffba1a8e5a4fb8927abbce4702148ca455e3330.zip
- Support staging
- Convert USE_GMAKE to USES
Notes
Notes: svn path=/head/; revision=330830
Diffstat (limited to 'games/rezerwar')
-rw-r--r--games/rezerwar/Makefile11
-rw-r--r--games/rezerwar/pkg-plist32
2 files changed, 5 insertions, 38 deletions
diff --git a/games/rezerwar/Makefile b/games/rezerwar/Makefile
index 7b62e6c4342a..0103b6a12629 100644
--- a/games/rezerwar/Makefile
+++ b/games/rezerwar/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://tamentis.com/projects/rezerwar/files/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game involving organizing blocks with pipes
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl mixer
HAS_CONFIGURE= yes
CONFIGURE_ARGS= Unix
@@ -19,15 +19,14 @@ CONFIGURE_ENV= TARGET_BIN=${PREFIX}/bin \
TARGET_DOC=${DOCSDIR} \
TARGET_DATA=${DATADIR}
+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 's|gcc|${CC}|' ${WRKSRC}/configure
-.if ! ${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e '/TARGET_DOC/ d' ${WRKSRC}/mkfiles/Makefile.main
-.endif
.include <bsd.port.mk>
diff --git a/games/rezerwar/pkg-plist b/games/rezerwar/pkg-plist
deleted file mode 100644
index 93dfbb33c09b..000000000000
--- a/games/rezerwar/pkg-plist
+++ /dev/null
@@ -1,32 +0,0 @@
-bin/rezerwar
-%%DATADIR%%/gfx/gameback.bmp
-%%DATADIR%%/gfx/gamemenu.bmp
-%%DATADIR%%/gfx/molemask.bmp
-%%DATADIR%%/gfx/sky.bmp
-%%DATADIR%%/gfx/sprites.bmp
-%%DATADIR%%/gfx/tdc.bmp
-%%DATADIR%%/levels/tuto_01.lvl
-%%DATADIR%%/levels/tuto_02.lvl
-%%DATADIR%%/levels/tuto_03.lvl
-%%DATADIR%%/levels/tuto_04.lvl
-%%DATADIR%%/levels/tuto_05.lvl
-%%DATADIR%%/levels/tuto_06.lvl
-%%DATADIR%%/levels/tuto_07.lvl
-%%DATADIR%%/levels/tuto_08.lvl
-%%DATADIR%%/levels/tuto_09.lvl
-%%DATADIR%%/levels/tuto_end.lvl
-%%DATADIR%%/music/level1.ogg
-%%DATADIR%%/music/menu.ogg
-%%DATADIR%%/sfx/boom.wav
-%%DATADIR%%/sfx/horn.wav
-%%DATADIR%%/sfx/lazer.wav
-%%DATADIR%%/sfx/menunav.wav
-%%DATADIR%%/sfx/menuselect.wav
-%%DATADIR%%/sfx/splash.wav
-%%DATADIR%%/sfx/tack1.wav
-%%DATADIR%%/sfx/tick1.wav
-@dirrm %%DATADIR%%/sfx
-@dirrm %%DATADIR%%/music
-@dirrm %%DATADIR%%/levels
-@dirrm %%DATADIR%%/gfx
-@dirrm %%DATADIR%%