Date: Thu, 3 Jul 2014 22:35:58 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360478 - head/games/quake2-source Message-ID: <201407032235.s63MZwZ0026673@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Thu Jul 3 22:35:57 2014 New Revision: 360478 URL: http://svnweb.freebsd.org/changeset/ports/360478 QAT: https://qat.redports.org/buildarchive/r360478/ Log: games/quake2-source: support stage Modified: head/games/quake2-source/Makefile Modified: head/games/quake2-source/Makefile ============================================================================== --- head/games/quake2-source/Makefile Thu Jul 3 22:33:15 2014 (r360477) +++ head/games/quake2-source/Makefile Thu Jul 3 22:35:57 2014 (r360478) @@ -23,36 +23,25 @@ CTF_DESC= Capture The Flag mod source ROGUE_DESC= Ground Zero (Rogue) mission pack source XATRIX_DESC= Reckoning (Xatrix) mission pack source +OPTIONS_SUB= yes + LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME} DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME} -NO_STAGE= yes .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MCTF} -PLIST_SUB+= CTF="" -.else -PLIST_SUB+= CTF="@comment " -.endif - .if ${PORT_OPTIONS:MROGUE} DISTFILES+= roguesrc320.shar.Z:id EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_rogue_g__local.h \ ${FILESDIR}/extra-patch-src_rogue_q__shared.c ROGUE_OFF= 454 -PLIST_SUB+= ROGUE="" -.else -PLIST_SUB+= ROGUE="@comment " .endif .if ${PORT_OPTIONS:MXATRIX} DISTFILES+= xatrixsrc320.shar.Z:id EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_xatrix_q__shared.c XATRIX_OFF= 441 -PLIST_SUB+= XATRIX="" -.else -PLIST_SUB+= XATRIX="@comment " .endif post-extract: @@ -72,13 +61,13 @@ pre-install: ${XARGS} -0 ${RM} do-install: - ${MKDIR} ${DATADIR} - ${CP} -R ${WRKSRC}/src/game ${DATADIR} - ${INSTALL_DATA} ${FILESDIR}/Makefile.game ${DATADIR}/game/Makefile + @${MKDIR} ${STAGEDIR}${DATADIR} + ${CP} -R ${WRKSRC}/src/game ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${FILESDIR}/Makefile.game ${STAGEDIR}${DATADIR}/game/Makefile .for f in ctf rogue xatrix . if ${PORT_OPTIONS:M${f:tu}} - ${CP} -R ${WRKSRC}/src/${f} ${DATADIR} - ${INSTALL_DATA} ${FILESDIR}/Makefile.${f} ${DATADIR}/${f}/Makefile + ${CP} -R ${WRKSRC}/src/${f} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${FILESDIR}/Makefile.${f} ${STAGEDIR}${DATADIR}/${f}/Makefile . endif .endfor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407032235.s63MZwZ0026673>