Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 22:15:05 +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: r360473 - head/games/quake2-matrix
Message-ID:  <201407032215.s63MF5Im017106@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Thu Jul  3 22:15:05 2014
New Revision: 360473
URL: http://svnweb.freebsd.org/changeset/ports/360473
QAT: https://qat.redports.org/buildarchive/r360473/

Log:
  games/quake2-matrix: support stage

Modified:
  head/games/quake2-matrix/Makefile

Modified: head/games/quake2-matrix/Makefile
==============================================================================
--- head/games/quake2-matrix/Makefile	Thu Jul  3 22:12:47 2014	(r360472)
+++ head/games/quake2-matrix/Makefile	Thu Jul  3 22:15:05 2014	(r360473)
@@ -18,23 +18,20 @@ ALL_TARGET=	release
 
 DOCSDIR=	${PREFIX}/share/doc/${LATEST_LINK}
 
-NO_STAGE=	yes
-.include "${.CURDIR}/../quake2-data/Makefile.include"
+OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../quake2-data/Makefile.include"
 
 post-patch:
 	@${REINPLACE_CMD} -e 's/__linux__/__unix__/' \
 		${BUILD_WRKSRC}/q_shared.[ch]
 
 do-install:
-	${MKDIR} ${Q2DIR}/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME}
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/matrix/game.so \
-		${Q2DIR}/${PORTNAME}
-	cd ${WRKSRC} && ${INSTALL_DATA} *.cfg *.ini *.pak ${Q2DIR}/${PORTNAME}
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
-.endif
+		${STAGEDIR}${Q2DIR}/${PORTNAME}
+	cd ${WRKSRC} && ${INSTALL_DATA} *.cfg *.ini *.pak ${STAGEDIR}${Q2DIR}/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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