- Support staging

- Convert USE_GMAKE to USES
This commit is contained in:
Dmitry Marakasov 2013-09-28 00:46:09 +00:00
parent c0d0be9781
commit 4eeb461d16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328539
2 changed files with 6 additions and 153 deletions

View File

@ -11,22 +11,22 @@ EXTRACT_SUFX= -source.tar.gz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Reimplementation of LK Avalon's Robbo for the Atari XE/XL
USE_GMAKE= yes
USES= gmake
USE_SDL= sdl ttf mixer image
MAKE_ENV= PACKAGE_DATA_DIR="${DATADIR}" \
BINDIR="${PREFIX}/bin" \
DOCDIR="${DOCSDIR}"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
NO_STAGE= yes
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/define DEBUG_DUMP_VM_USAGE/ d' ${WRKSRC}/game.c
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/DOCDIR/ d' ${WRKSRC}/Makefile
.endif
@${REINPLACE_CMD} -e '/^install:/,$$ s|$$([A-Z_]*DIR)|${STAGEDIR}&| g' \
${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -1,147 +0,0 @@
bin/gnurobbo
%%DATADIR%%/levels/alex01.dat
%%DATADIR%%/levels/boss.dat
%%DATADIR%%/levels/demo.dat
%%DATADIR%%/levels/designer.dat
%%DATADIR%%/levels/forever.dat
%%DATADIR%%/levels/k-robbo.dat
%%DATADIR%%/levels/millenium_demo.dat
%%DATADIR%%/levels/original.dat
%%DATADIR%%/levels/rob653924.dat
%%DATADIR%%/levels/robbo01.dat
%%DATADIR%%/levels/robbo02.dat
%%DATADIR%%/levels/robbo03.dat
%%DATADIR%%/levels/robbo04.dat
%%DATADIR%%/levels/robbo05.dat
%%DATADIR%%/levels/robbo07.dat
%%DATADIR%%/levels/robbo08.dat
%%DATADIR%%/levels/robbo09.dat
%%DATADIR%%/levels/robbo10.dat
%%DATADIR%%/levels/robbo11.dat
%%DATADIR%%/levels/robbo12.dat
%%DATADIR%%/levels/robbo13.dat
%%DATADIR%%/levels/robbo2001.dat
%%DATADIR%%/levels/robbo2009.dat
%%DATADIR%%/levels/robbo3cs.dat
%%DATADIR%%/levels/robbo97.dat
%%DATADIR%%/levels/robbo98.dat
%%DATADIR%%/levels/robbo_b.dat
%%DATADIR%%/levels/warsaw.dat
%%DATADIR%%/locales/cz_CZ/localerc
%%DATADIR%%/locales/cz_CZ/text
%%DATADIR%%/locales/de_DE/localerc
%%DATADIR%%/locales/de_DE/text
%%DATADIR%%/locales/en_GB/localerc
%%DATADIR%%/locales/en_GB/text
%%DATADIR%%/locales/id_ID/localerc
%%DATADIR%%/locales/id_ID/text
%%DATADIR%%/locales/pl_PL/localerc
%%DATADIR%%/locales/pl_PL/text
%%DATADIR%%/locales/ru_RU/localerc
%%DATADIR%%/locales/ru_RU/text
%%DATADIR%%/locales/sk_SK/localerc
%%DATADIR%%/locales/sk_SK/text
%%DATADIR%%/locales/sv_SE/localerc
%%DATADIR%%/locales/sv_SE/text
%%DATADIR%%/rob/robsprites.bmp
%%DATADIR%%/skins/oily/alpha16.bmp
%%DATADIR%%/skins/oily/alpha32.bmp
%%DATADIR%%/skins/oily/background16.png
%%DATADIR%%/skins/oily/background32.png
%%DATADIR%%/skins/oily/ciphers16.bmp
%%DATADIR%%/skins/oily/ciphers32.bmp
%%DATADIR%%/skins/oily/font12x16.bmp
%%DATADIR%%/skins/oily/font24x32.bmp
%%DATADIR%%/skins/oily/icons16.png
%%DATADIR%%/skins/oily/icons32.png
%%DATADIR%%/skins/oily/k_icons16.png
%%DATADIR%%/skins/oily/k_icons32.png
%%DATADIR%%/skins/oily/robbo.ttf
%%DATADIR%%/skins/oily/skinrc
%%DATADIR%%/skins/oily/wm_icon.bmp
%%DATADIR%%/skins/original/alpha16.bmp
%%DATADIR%%/skins/original/alpha32.bmp
%%DATADIR%%/skins/original/ciphers16.bmp
%%DATADIR%%/skins/original/ciphers32.bmp
%%DATADIR%%/skins/original/font12x16.bmp
%%DATADIR%%/skins/original/font24x32.bmp
%%DATADIR%%/skins/original/icons16.png
%%DATADIR%%/skins/original/icons32.png
%%DATADIR%%/skins/original/k_icons16.png
%%DATADIR%%/skins/original/k_icons32.png
%%DATADIR%%/skins/original/robbo.ttf
%%DATADIR%%/skins/original/skinrc
%%DATADIR%%/skins/original/wm_icon.bmp
%%DATADIR%%/skins/tronic/alpha16.bmp
%%DATADIR%%/skins/tronic/alpha32.bmp
%%DATADIR%%/skins/tronic/background16.png
%%DATADIR%%/skins/tronic/background32.png
%%DATADIR%%/skins/tronic/ciphers16.bmp
%%DATADIR%%/skins/tronic/ciphers32.bmp
%%DATADIR%%/skins/tronic/font12x16.bmp
%%DATADIR%%/skins/tronic/font24x32.bmp
%%DATADIR%%/skins/tronic/icons16.png
%%DATADIR%%/skins/tronic/icons32.png
%%DATADIR%%/skins/tronic/k_icons16.png
%%DATADIR%%/skins/tronic/k_icons32.png
%%DATADIR%%/skins/tronic/robbo.ttf
%%DATADIR%%/skins/tronic/skinrc
%%DATADIR%%/skins/tronic/wm_icon.bmp
%%DATADIR%%/sounds/default/ammo.ogg
%%DATADIR%%/sounds/default/bird.ogg
%%DATADIR%%/sounds/default/bomb.ogg
%%DATADIR%%/sounds/default/box.ogg
%%DATADIR%%/sounds/default/capsule.ogg
%%DATADIR%%/sounds/default/door_default.ogg
%%DATADIR%%/sounds/default/end_default.ogg
%%DATADIR%%/sounds/default/gun_default.ogg
%%DATADIR%%/sounds/default/key.ogg
%%DATADIR%%/sounds/default/kill.ogg
%%DATADIR%%/sounds/default/magnet.ogg
%%DATADIR%%/sounds/default/screw.ogg
%%DATADIR%%/sounds/default/shoot_default.ogg
%%DATADIR%%/sounds/default/teleport.ogg
%%DATADIR%%/sounds/default/walk_default.ogg
%%DATADIR%%/sounds/free/ammo2.ogg
%%DATADIR%%/sounds/free/bomb2.ogg
%%DATADIR%%/sounds/free/box2.ogg
%%DATADIR%%/sounds/free/capsule2.ogg
%%DATADIR%%/sounds/free/door2.ogg
%%DATADIR%%/sounds/free/exit2.ogg
%%DATADIR%%/sounds/free/key2.ogg
%%DATADIR%%/sounds/free/kill2.ogg
%%DATADIR%%/sounds/free/magnet.ogg
%%DATADIR%%/sounds/free/screw2.ogg
%%DATADIR%%/sounds/free/shoot2.ogg
%%DATADIR%%/sounds/free/shoot3.ogg
%%DATADIR%%/sounds/free/teleport2.ogg
%%DATADIR%%/sounds/free/walk2.ogg
%%DATADIR%%/sounds/oily/door.ogg
%%DATADIR%%/sounds/oily/end.ogg
%%DATADIR%%/sounds/oily/gun.ogg
%%DATADIR%%/sounds/oily/shoot.ogg
%%DATADIR%%/sounds/oily/walk.ogg
%%DATADIR%%/sounds/skins/default.dat
%%DATADIR%%/sounds/skins/free.dat
%%DATADIR%%/sounds/skins/oily.dat
@dirrm %%DATADIR%%/sounds/skins
@dirrm %%DATADIR%%/sounds/oily
@dirrm %%DATADIR%%/sounds/free
@dirrm %%DATADIR%%/sounds/default
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/skins/tronic
@dirrm %%DATADIR%%/skins/original
@dirrm %%DATADIR%%/skins/oily
@dirrm %%DATADIR%%/skins
@dirrm %%DATADIR%%/rob
@dirrm %%DATADIR%%/locales/sv_SE
@dirrm %%DATADIR%%/locales/sk_SK
@dirrm %%DATADIR%%/locales/ru_RU
@dirrm %%DATADIR%%/locales/pl_PL
@dirrm %%DATADIR%%/locales/id_ID
@dirrm %%DATADIR%%/locales/en_GB
@dirrm %%DATADIR%%/locales/de_DE
@dirrm %%DATADIR%%/locales/cz_CZ
@dirrm %%DATADIR%%/locales
@dirrm %%DATADIR%%/levels
@dirrm %%DATADIR%%