diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-05 08:44:53 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-05 08:44:53 +0800 |
commit | 8231e7046ce43d801649d469150a65e28a40dafc (patch) | |
tree | e39995d80aa59cb0a03a9398a71974dd6e9ffbc0 /benchmarks/stream | |
parent | a30c39d041d108122f4340b464452eea15fdf749 (diff) | |
download | freebsd-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/Makefile | 11 |
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> |