aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 01:44:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 01:44:18 +0000
commite1afd9d2480afe580f6af57555fb4086a087fef7 (patch)
treef1def7c582d9e5de51aff54727007ac0b960084a /benchmarks
parentc2fd956bf1a020c769154fefa37fa1bb867df08f (diff)
downloadports-e1afd9d2480afe580f6af57555fb4086a087fef7.tar.gz
ports-e1afd9d2480afe580f6af57555fb4086a087fef7.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/libmicro/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/benchmarks/libmicro/Makefile b/benchmarks/libmicro/Makefile
index cf8dd4457a64..a5fa7100a3e1 100644
--- a/benchmarks/libmicro/Makefile
+++ b/benchmarks/libmicro/Makefile
@@ -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>