aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/stream
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 08:44:53 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 08:44:53 +0800
commit8231e7046ce43d801649d469150a65e28a40dafc (patch)
treee39995d80aa59cb0a03a9398a71974dd6e9ffbc0 /benchmarks/stream
parenta30c39d041d108122f4340b464452eea15fdf749 (diff)
downloadfreebsd-ports-gnome-8231e7046ce43d801649d469150a65e28a40dafc.tar.gz
freebsd-ports-gnome-8231e7046ce43d801649d469150a65e28a40dafc.tar.zst
freebsd-ports-gnome-8231e7046ce43d801649d469150a65e28a40dafc.zip
Support stage
Diffstat (limited to 'benchmarks/stream')
-rw-r--r--benchmarks/stream/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/benchmarks/stream/Makefile b/benchmarks/stream/Makefile
index adef65e46e25..206100fd6a39 100644
--- a/benchmarks/stream/Makefile
+++ b/benchmarks/stream/Makefile
@@ -22,17 +22,12 @@ EXTRACT_AFTER_ARGS= ${WRKDIR}
PORTDOCS= stream.c
PLIST_FILES= bin/stream_bench
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o stream_bench stream.c -lm)
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} stream_bench ${PREFIX}/bin)
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
-.endif
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} stream_bench ${STAGEDIR}${PREFIX}/bin)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>