svn commit: r360472 - head/games/quake2-extras

William Grzybowski wg at FreeBSD.org
Thu Jul 3 22:12:48 UTC 2014


Author: wg
Date: Thu Jul  3 22:12:47 2014
New Revision: 360472
URL: http://svnweb.freebsd.org/changeset/ports/360472
QAT: https://qat.redports.org/buildarchive/r360472/

Log:
  games/quake2-extras: support stage

Modified:
  head/games/quake2-extras/Makefile

Modified: head/games/quake2-extras/Makefile
==============================================================================
--- head/games/quake2-extras/Makefile	Thu Jul  3 22:11:07 2014	(r360471)
+++ head/games/quake2-extras/Makefile	Thu Jul  3 22:12:47 2014	(r360472)
@@ -32,7 +32,6 @@ RETEX_PAKS=	10 11 12 13 14 16 17 19
 RETEX_FULL=	all_q2_textures_07_17_2006zip
 SKINS=		models.zip
 
-NO_STAGE=	yes
 .include "${.CURDIR}/../quake2-data/Makefile.include"
 .include <bsd.port.options.mk>
 
@@ -82,16 +81,17 @@ do-build:
 .endif
 
 do-install:
+	@${MKDIR} ${STAGEDIR}${Q2DIR}/baseq2
 .if ${PORT_OPTIONS:MRETEXTURE} && empty(PORT_OPTIONS:MRETEXTURE_FULL)
 .  for i in ${RETEX_PAKS}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/pak${i}.pak ${Q2DIR}/baseq2
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/pak${i}.pak ${STAGEDIR}${Q2DIR}/baseq2
 .  endfor
 .endif
 .if ${PORT_OPTIONS:MRETEXTURE_FULL}
-	${INSTALL_DATA} ${WRKSRC}/pak10.pak ${Q2DIR}/baseq2
+	${INSTALL_DATA} ${WRKSRC}/pak10.pak ${STAGEDIR}${Q2DIR}/baseq2
 .endif
 .if ${PORT_OPTIONS:MSKINS}
-	${INSTALL_DATA} ${WRKSRC}/pak20.pak ${Q2DIR}/baseq2
+	${INSTALL_DATA} ${WRKSRC}/pak20.pak ${STAGEDIR}${Q2DIR}/baseq2
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list