From bfda3c3a67156821de93461fe8a294fa5d13096b Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 5 Jan 2014 00:44:53 +0000 Subject: [PATCH] Support stage --- benchmarks/stream/Makefile | 11 +++-------- 1 file 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 - 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