svn commit: r331992 - head/games/annelid
Danilo Egea Gondolfo
danilo at FreeBSD.org
Tue Oct 29 20:24:04 UTC 2013
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>
More information about the svn-ports-all
mailing list