svn commit: r331987 - head/games/alienblaster

Danilo Egea Gondolfo danilo at FreeBSD.org
Tue Oct 29 19:52:25 UTC 2013


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>


More information about the svn-ports-head mailing list