From 69adf37ad24bcbeda1c2420283230122cfd752fc Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Fri, 20 Dec 2013 17:13:02 +0000 Subject: - Support staging - Prevent DOS2UNIX from corrupting binary files --- games/biniax2/Makefile | 13 +++++++------ games/biniax2/pkg-plist | 44 -------------------------------------------- 2 files changed, 7 insertions(+), 50 deletions(-) delete mode 100644 games/biniax2/pkg-plist (limited to 'games/biniax2') diff --git a/games/biniax2/Makefile b/games/biniax2/Makefile index ca142dd537ed..9dabdbcb7c93 100644 --- a/games/biniax2/Makefile +++ b/games/biniax2/Makefile @@ -3,7 +3,7 @@ PORTNAME= biniax2 PORTVERSION= 1.30 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= http://mordred.dir.bg/biniax/ \ http://mirror.amdmi3.ru/distfiles/ @@ -13,10 +13,12 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Original logic game with arcade and tactics modes USE_SDL= sdl mixer image -USE_DOS2UNIX= yes +USE_DOS2UNIX= biniax.c NO_WRKSUBDIR= yes -NO_STAGE= yes +PLIST_FILES= bin/${PORTNAME} +PORTDATA= * + post-patch: @${RM} -f ${WRKSRC}/data/Thumbs.db @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' \ @@ -29,8 +31,7 @@ do-build: -lSDL_image -lSDL_mixer -o ${PORTNAME} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${MKDIR} ${DATADIR} - cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ .include diff --git a/games/biniax2/pkg-plist b/games/biniax2/pkg-plist deleted file mode 100644 index dbc158ab840d..000000000000 --- a/games/biniax2/pkg-plist +++ /dev/null @@ -1,44 +0,0 @@ -bin/biniax2 -%%DATADIR%%/graphics/background0.png -%%DATADIR%%/graphics/background1.png -%%DATADIR%%/graphics/background2.png -%%DATADIR%%/graphics/cursor0.png -%%DATADIR%%/graphics/cursor1.png -%%DATADIR%%/graphics/element0.png -%%DATADIR%%/graphics/element1.png -%%DATADIR%%/graphics/element2.png -%%DATADIR%%/graphics/element3.png -%%DATADIR%%/graphics/elementB.png -%%DATADIR%%/graphics/font.png -%%DATADIR%%/graphics/help.png -%%DATADIR%%/graphics/keyboard.png -%%DATADIR%%/graphics/logo.png -%%DATADIR%%/graphics/marker0.png -%%DATADIR%%/graphics/marker1.png -%%DATADIR%%/graphics/movecount.png -%%DATADIR%%/graphics/particle0.png -%%DATADIR%%/graphics/particle1.png -%%DATADIR%%/graphics/particle2.png -%%DATADIR%%/graphics/roadmap.png -%%DATADIR%%/graphics/splash.png -%%DATADIR%%/graphics/sweep.png -%%DATADIR%%/graphics/window.png -%%DATADIR%%/music/biniax_common00.it -%%DATADIR%%/music/biniax_common01.it -%%DATADIR%%/music/biniax_common02.it -%%DATADIR%%/music/biniax_common03.it -%%DATADIR%%/music/biniax_common04.it -%%DATADIR%%/music/biniax_common05.it -%%DATADIR%%/music/biniax_common06.it -%%DATADIR%%/music/biniax_common07.it -%%DATADIR%%/sound/sfx1.wav -%%DATADIR%%/sound/sfx2.wav -%%DATADIR%%/sound/sfx3.wav -%%DATADIR%%/sound/sfx4.wav -%%DATADIR%%/sound/sfx5.wav -%%DATADIR%%/text/help.txt -@dirrm %%DATADIR%%/text -@dirrm %%DATADIR%%/sound -@dirrm %%DATADIR%%/music -@dirrm %%DATADIR%%/graphics -@dirrm %%DATADIR%% -- cgit