aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/nbench
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-01-03 23:34:13 +0800
committeradamw <adamw@FreeBSD.org>2014-01-03 23:34:13 +0800
commite2e4cbd9b35b6c806cda00430c69d44a90276b8b (patch)
treebda726dcf401a0a3088ac3e3520896cd590c1cec /benchmarks/nbench
parent855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99 (diff)
downloadfreebsd-ports-gnome-e2e4cbd9b35b6c806cda00430c69d44a90276b8b.tar.gz
freebsd-ports-gnome-e2e4cbd9b35b6c806cda00430c69d44a90276b8b.tar.zst
freebsd-ports-gnome-e2e4cbd9b35b6c806cda00430c69d44a90276b8b.zip
Convert benchmarks to PORT_OPTIONS:MDOCS
Diffstat (limited to 'benchmarks/nbench')
-rw-r--r--benchmarks/nbench/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/benchmarks/nbench/Makefile b/benchmarks/nbench/Makefile
index 34b2c4d415f8..53536964fd86 100644
--- a/benchmarks/nbench/Makefile
+++ b/benchmarks/nbench/Makefile
@@ -13,16 +13,13 @@ COMMENT= BYTE Magazine's native benchmarks
ALL_TARGET= # empty
MAKE_JOBS_UNSAFE= yes
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/NNET.DAT ${DATADIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/NNET.DAT ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in README README.submit RESULTS bdoc.txt
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>