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 - 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