Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 22:56:31 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362939 - head/games/blockout
Message-ID:  <201407252256.s6PMuVuf021718@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Fri Jul 25 22:56:31 2014
New Revision: 362939
URL: http://svnweb.freebsd.org/changeset/ports/362939
QAT: https://qat.redports.org/buildarchive/r362939/

Log:
  - Add stage support

Modified:
  head/games/blockout/Makefile

Modified: head/games/blockout/Makefile
==============================================================================
--- head/games/blockout/Makefile	Fri Jul 25 22:24:40 2014	(r362938)
+++ head/games/blockout/Makefile	Fri Jul 25 22:56:31 2014	(r362939)
@@ -23,25 +23,22 @@ BUILD_WRKSRC=	${WRKSRC}/BlockOut
 
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 pre-build:
 		cd ${WRKSRC}/ImageLib/src && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS}
 
 do-install:
-		${INSTALL_PROGRAM} ${WRKSRC}/BlockOut/blockout ${PREFIX}/bin
-		${INSTALL_DATA} ${WRKSRC}/ImageLib/src/libimagelib.a ${PREFIX}/lib
-		${MKDIR} ${DATADIR}
-		${MKDIR} ${DATADIR}/sounds
-		${MKDIR} ${DATADIR}/images
+		${INSTALL_PROGRAM} ${WRKSRC}/BlockOut/blockout ${STAGEDIR}${PREFIX}/bin
+		${INSTALL_DATA} ${WRKSRC}/ImageLib/src/libimagelib.a ${STAGEDIR}${PREFIX}/lib
+		@${MKDIR} ${STAGEDIR}${DATADIR}
+		@${MKDIR} ${STAGEDIR}${DATADIR}/sounds
+		@${MKDIR} ${STAGEDIR}${DATADIR}/images
 .		for i in allPieces background background2 background3 font gameover gameovera marble \
 marbleg menuback menucredits menufont menufont2 menupit online onlinea spark sparka sprites spritesa star_crystal_grid
-		    ${INSTALL_DATA} ${WRKSRC}/BlockOut/images/${i}.png ${DATADIR}/images
+		    ${INSTALL_DATA} ${WRKSRC}/BlockOut/images/${i}.png ${STAGEDIR}${DATADIR}/images
 .		endfor
 .		for s in blub empty empty2 hit level level2 line line2 tchh welldone welldone2 wozz
-		    ${INSTALL_DATA} ${WRKSRC}/BlockOut/sounds/${s}.wav ${DATADIR}/sounds
+		    ${INSTALL_DATA} ${WRKSRC}/BlockOut/sounds/${s}.wav ${STAGEDIR}${DATADIR}/sounds
 .		endfor
-		${INSTALL_DATA} ${WRKSRC}/BlockOut/sounds/music.mp3 ${DATADIR}/sounds
-post-install:
-		@${CAT} ${PKGMESSAGE}
+		${INSTALL_DATA} ${WRKSRC}/BlockOut/sounds/music.mp3 ${STAGEDIR}${DATADIR}/sounds
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407252256.s6PMuVuf021718>