svn commit: r340191 - head/benchmarks/fhourstones

Antoine Brodin antoine at FreeBSD.org
Sat Jan 18 15:46:32 UTC 2014


Author: antoine
Date: Sat Jan 18 15:46:32 2014
New Revision: 340191
URL: http://svnweb.freebsd.org/changeset/ports/340191
QAT: https://qat.redports.org/buildarchive/r340191/

Log:
  Stage support

Modified:
  head/benchmarks/fhourstones/Makefile

Modified: head/benchmarks/fhourstones/Makefile
==============================================================================
--- head/benchmarks/fhourstones/Makefile	Sat Jan 18 15:46:24 2014	(r340190)
+++ head/benchmarks/fhourstones/Makefile	Sat Jan 18 15:46:32 2014	(r340191)
@@ -15,15 +15,14 @@ NO_WRKSUBDIR=	yes
 PLIST_FILES=	bin/fhourstones lib/fhourstones/SearchGame lib/fhourstones/inputs
 PLIST_DIRS=	lib/fhourstones
 
-NO_STAGE=	yes
 post-patch:
-		@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
-		@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/fhourstones
+	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/fhourstones
 
 do-install:
-		${MKDIR} ${PREFIX}/lib/fhourstones
-		${INSTALL_SCRIPT} ${WRKDIR}/fhourstones ${PREFIX}/bin
-		${INSTALL_PROGRAM} ${WRKDIR}/SearchGame ${PREFIX}/lib/fhourstones/
-		${INSTALL_DATA} ${WRKDIR}/inputs ${PREFIX}/lib/fhourstones
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/fhourstones
+	${INSTALL_SCRIPT} ${WRKDIR}/fhourstones ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKDIR}/SearchGame ${STAGEDIR}${PREFIX}/lib/fhourstones
+	${INSTALL_DATA} ${WRKDIR}/inputs ${STAGEDIR}${PREFIX}/lib/fhourstones
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list