Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2014 00:04:13 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362945 - head/games/dangerdeep-data
Message-ID:  <201407260004.s6Q04DRj055658@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Jul 26 00:04:12 2014
New Revision: 362945
URL: http://svnweb.freebsd.org/changeset/ports/362945
QAT: https://qat.redports.org/buildarchive/r362945/

Log:
  - Add stage support

Modified:
  head/games/dangerdeep-data/Makefile

Modified: head/games/dangerdeep-data/Makefile
==============================================================================
--- head/games/dangerdeep-data/Makefile	Fri Jul 25 23:25:18 2014	(r362944)
+++ head/games/dangerdeep-data/Makefile	Sat Jul 26 00:04:12 2014	(r362945)
@@ -19,7 +19,6 @@ DATADIR=	share/${PKGNAMEPREFIX:S/-//}
 PLIST=		${WRKDIR}/pkg-plist
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-NO_STAGE=	yes
 pre-install:
 	@${RM} -f ${PLIST}
 	@cd ${WRKSRC} && \
@@ -28,9 +27,9 @@ pre-install:
 	@${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
 
 do-install:
-	@${MKDIR} ${PREFIX}/${DATADIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${DATADIR}
 	cd ${WRKSRC} && \
-		${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${DATADIR}/{}" \; && \
-			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/${DATADIR}/{}" \;
+		${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/${DATADIR}/{}" \; && \
+			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${DATADIR}/{}" \;
 
 .include <bsd.port.mk>



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