Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 20:24:04 +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: r331992 - head/games/annelid
Message-ID:  <201310292024.r9TKO41Z020865@svn.freebsd.org>

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

Log:
  - Add stage support
  - Convert USE_GMAKE to USES

Modified:
  head/games/annelid/Makefile

Modified: head/games/annelid/Makefile
==============================================================================
--- head/games/annelid/Makefile	Tue Oct 29 20:17:04 2013	(r331991)
+++ head/games/annelid/Makefile	Tue Oct 29 20:24:04 2013	(r331992)
@@ -14,8 +14,8 @@ COMMENT=	Remake of the ubiquitous "Snake
 
 RESTRICTED=	No redistribution allowed
 
+USES=	gmake
 USE_ZIP=	yes
-USE_GMAKE=	yes
 USE_SDL=	sdl
 USE_GL=		gl
 NO_WRKSUBDIR=	yes
@@ -30,7 +30,6 @@ DATAFILES=	annelid.dat apple.tga apple.w
 		score.wav segment.tga shrink.wav slow.wav speed.wav title.tga \
 		vortex.wav
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -50,16 +49,11 @@ post-patch:
 .endif
 
 do-install:
-# Script.
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${PREFIX}/bin/${PORTNAME}
-
-# Program.
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec
-
-# Data.
-	${MKDIR} ${DATADIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for f in ${DATAFILES}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
 .endfor
 
 .include <bsd.port.mk>



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