Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2013 12:50:41 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328684 - head/games/torcs
Message-ID:  <201309291250.r8TCofEh070563@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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