svn commit: r328684 - head/games/torcs

Rene Ladan rene at FreeBSD.org
Sun Sep 29 12:50:41 UTC 2013


Author: rene
Date: Sun Sep 29 12:50:40 2013
New Revision: 328684
URL: http://svnweb.freebsd.org/changeset/ports/328684

Log:
  Add stage support.

Modified:
  head/games/torcs/Makefile

Modified: head/games/torcs/Makefile
==============================================================================
--- head/games/torcs/Makefile	Sun Sep 29 12:45:21 2013	(r328683)
+++ head/games/torcs/Makefile	Sun Sep 29 12:50:40 2013	(r328684)
@@ -54,7 +54,6 @@ DESKTOP_ENTRIES=	"TORCS" \
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 EMPTYDIR=	champ dtmrace endrace ncrace practice quickrace
@@ -67,15 +66,15 @@ post-patch:
 .endfor
 
 pre-install:
-	@${MKDIR} ${PREFIX}/share/games
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/games
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/faq/|} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/faq/|} ${STAGEDIR}${DOCSDIR}
 .endif
 .for ed in ${EMPTYDIR}
-	${TOUCH} ${INSTDIR}/results/${ed}/.keep_me
+	${TOUCH} ${STAGEDIR}${INSTDIR}/results/${ed}/.keep_me
 .endfor
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list