diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-05 01:53:38 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-05 01:53:38 +0000 |
commit | 854dfceb6c110ca8361ed14ab2157f6358b2028b (patch) | |
tree | 2e16d8b0fe2492b7ca3543f847dd1164325b1768 /benchmarks | |
parent | 6839f858ab9bb3bccd3affc0fbd09a14a227c501 (diff) | |
download | ports-854dfceb6c110ca8361ed14ab2157f6358b2028b.tar.gz ports-854dfceb6c110ca8361ed14ab2157f6358b2028b.zip |
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/flops/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/benchmarks/flops/Makefile b/benchmarks/flops/Makefile index c05355186f6c..3d262b6cf157 100644 --- a/benchmarks/flops/Makefile +++ b/benchmarks/flops/Makefile @@ -11,14 +11,13 @@ EXTRACT_ONLY= # MAINTAINER= ports@FreeBSD.org COMMENT= Floating point benchmark to give your MFLOPS rating +OPTIONS_DEFINE= DOCS + NO_WRKSUBDIR= yes PORTDOCS= flops.doc PLIST_FILES= bin/flops -NO_STAGE= yes -.include <bsd.port.options.mk> - post-extract: @(cd ${DISTDIR} && ${TAR} -cf - ${DISTFILES}) | \ (cd ${WRKSRC} && ${TAR} -xf -) @@ -31,10 +30,8 @@ do-build: (cd ${WRKSRC} && ${CC} ${CFLAGS} -DUNIX -o flops flops.c) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/flops ${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/flops.doc ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/flops ${STAGEDIR}${PREFIX}/bin/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/flops.doc ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |