Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 22:21: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: r360475 - head/games/quake2-psychomod
Message-ID:  <201407032221.s63MLwHu021236@svn.freebsd.org>

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

Log:
  games/quake2-psychomod: support stage

Modified:
  head/games/quake2-psychomod/Makefile

Modified: head/games/quake2-psychomod/Makefile
==============================================================================
--- head/games/quake2-psychomod/Makefile	Thu Jul  3 22:20:28 2014	(r360474)
+++ head/games/quake2-psychomod/Makefile	Thu Jul  3 22:21:57 2014	(r360475)
@@ -18,23 +18,18 @@ ALL_TARGET=	release
 
 DOCSDIR=	${PREFIX}/share/doc/${LATEST_LINK}
 
-NO_STAGE=	yes
 .include "${.CURDIR}/../quake2-data/Makefile.include"
 
-.include <bsd.port.pre.mk>
-
 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/psychomod/game.so \
-		${Q2DIR}/${PORTNAME}
-	cd ${WRKSRC} && ${INSTALL_DATA} *.cfg pak0.pak ${Q2DIR}/${PORTNAME}
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
-.endif
+		${STAGEDIR}${Q2DIR}/${PORTNAME}
+	cd ${WRKSRC} && ${INSTALL_DATA} *.cfg pak0.pak ${STAGEDIR}${Q2DIR}/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.txt ${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?201407032221.s63MLwHu021236>