aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2012-06-15 09:55:17 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2012-06-15 09:55:17 +0000
commit11be97e555ca541e44ad4422fc5323fbf547332e (patch)
tree9d6e1c274d422254bf04761aa56182097844a557 /benchmarks
parentf4b48ac11d937303643851ba2d2e2230a59ff8f0 (diff)
downloadports-11be97e555ca541e44ad4422fc5323fbf547332e.tar.gz
ports-11be97e555ca541e44ad4422fc5323fbf547332e.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bonnie++/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmarks/bonnie++/Makefile b/benchmarks/bonnie++/Makefile
index 92df69247447..0f3b6d8fa0be 100644
--- a/benchmarks/bonnie++/Makefile
+++ b/benchmarks/bonnie++/Makefile
@@ -25,12 +25,14 @@ MAN8= bonnie++.8 getc_putc.8 zcav.8
PORTDOCS= readme.html
+.include <bsd.port.options.mk>
+
pre-patch:
@${REINPLACE_CMD} -e \
's|/usr/share/|${PREFIX}/share/|g' ${WRKSRC}/bonnie++.8
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/readme.html ${DOCSDIR}
.endif