Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2014 14:39:19 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348073 - head/games/qtv
Message-ID:  <201403131439.s2DEdJqL029086@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 13 14:39:18 2014
New Revision: 348073
URL: http://svnweb.freebsd.org/changeset/ports/348073
QAT: https://qat.redports.org/buildarchive/r348073/

Log:
  Support staging

Modified:
  head/games/qtv/Makefile

Modified: head/games/qtv/Makefile
==============================================================================
--- head/games/qtv/Makefile	Thu Mar 13 14:33:02 2014	(r348072)
+++ head/games/qtv/Makefile	Thu Mar 13 14:39:18 2014	(r348073)
@@ -14,12 +14,13 @@ ALL_TARGET=	${PORTNAME}
 MAKE_ARGS=	CC=${CC}
 WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.bin ${PREFIX}/bin/${PORTNAME}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.bin \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	@${FIND} ${WRKSRC} -type d -name .svn -print0 | ${XARGS} -0 ${RM} -r
 	@${RM} -f "${WRKSRC}/example-configs/PLACE YOUR QTV.BIN HERE"
-	cd ${WRKSRC}/example-configs && ${COPYTREE_SHARE} . ${DATADIR}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} metaqtv ${DATADIR}
+	cd ${WRKSRC}/example-configs && ${COPYTREE_SHARE} . \
+		${STAGEDIR}${DATADIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} metaqtv ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>



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