Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 01:44:19 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338739 - head/benchmarks/libmicro
Message-ID:  <201401050144.s051iJS3013636@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan  5 01:44:18 2014
New Revision: 338739
URL: http://svnweb.freebsd.org/changeset/ports/338739

Log:
  Support stage

Modified:
  head/benchmarks/libmicro/Makefile

Modified: head/benchmarks/libmicro/Makefile
==============================================================================
--- head/benchmarks/libmicro/Makefile	Sun Jan  5 01:31:09 2014	(r338738)
+++ head/benchmarks/libmicro/Makefile	Sun Jan  5 01:44:18 2014	(r338739)
@@ -25,26 +25,25 @@ PLIST_SUB=	ARCH="${ARCH}"
 
 PKGLIBDIR=	${PREFIX}/lib/${PORTNAME}
 
-NO_STAGE=	yes
 post-build:
 	@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/libmicro-bench
 	@${ECHO_CMD} '(cd ${PKGLIBDIR} && ./bench $$1)' >> ${WRKDIR}/libmicro-bench.sh
 
 do-install:
 	(cd ${WRKDIR} && ${INSTALL_SCRIPT} libmicro-bench.sh \
-		${PREFIX}/bin/libmicro-bench)
+		${STAGEDIR}${PREFIX}/bin/libmicro-bench)
 	(cd ${WRKSRC} && ${INSTALL_SCRIPT} multiview.sh \
-		${PREFIX}/bin/multiview)
-	@${MKDIR} ${PKGLIBDIR}
+		${STAGEDIR}${PREFIX}/bin/multiview)
+	@${MKDIR} ${STAGEDIR}${PKGLIBDIR}
 	(cd ${WRKSRC} && ${INSTALL_SCRIPT} bench.sh \
-		${PKGLIBDIR}/bench)
-	@${MKDIR} ${PKGLIBDIR}/bin-${ARCH}
+		${STAGEDIR}${PKGLIBDIR}/bench)
+	@${MKDIR} ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH}
 	(cd ${WRKSRC}/bin-${ARCH} \
-		&& ${INSTALL_PROGRAM} exec_bin ${PKGLIBDIR}/bin-${ARCH})
+		&& ${INSTALL_PROGRAM} exec_bin ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH})
 	(cd ${WRKSRC}/bin ; for i in * ; do ${INSTALL_PROGRAM} \
-		${WRKSRC}/bin-${ARCH}/$$i ${PKGLIBDIR}/bin-${ARCH} ; done)
-	@${MKDIR} ${PKGLIBDIR}/bin
-	(cd ${PKGLIBDIR}/bin-${ARCH} ; for i in * ; do ${LN} -s \
+		${WRKSRC}/bin-${ARCH}/$$i ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH} ; done)
+	@${MKDIR} ${STAGEDIR}${PKGLIBDIR}/bin
+	(cd ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH} ; for i in * ; do ${LN} -s \
 		../bin-${ARCH}/$$i ../bin ; done)
 
 .include <bsd.port.mk>



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