svn commit: r360475 - head/games/quake2-psychomod

William Grzybowski wg at FreeBSD.org
Thu Jul 3 22:21:58 UTC 2014


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>


More information about the svn-ports-all mailing list