Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 19:52:25 +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: r331987 - head/games/alienblaster
Message-ID:  <201310291952.r9TJqPBK010011@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Oct 29 19:52:24 2013
New Revision: 331987
URL: http://svnweb.freebsd.org/changeset/ports/331987

Log:
  - Add stage support
  - Convert USE_GMAKE to USES

Modified:
  head/games/alienblaster/Makefile

Modified: head/games/alienblaster/Makefile
==============================================================================
--- head/games/alienblaster/Makefile	Tue Oct 29 19:51:35 2013	(r331986)
+++ head/games/alienblaster/Makefile	Tue Oct 29 19:52:24 2013	(r331987)
@@ -13,13 +13,12 @@ COMMENT=	Alien Blaster
 
 LICENSE=	GPLv2
 
-USE_GMAKE=	yes
+USES=	gmake
 USE_SDL=	mixer sdl
 REINPLACE_ARGS=	-i ''
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-NO_STAGE=	yes
 post-patch:
 # Fix make command
 	@${REINPLACE_CMD} -e 's|make|${GMAKE}|g' ${WRKSRC}/${MAKEFILE}
@@ -42,12 +41,12 @@ post-patch:
 
 do-install:
 # Executable
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 # Data
-	${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for d in cfg images sound
-	${CP} -R ${WRKSRC}/${d} ${DATADIR}
+	${CP} -R ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}
 .endfor
 
 .include <bsd.port.mk>



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