aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2012-06-15 17:55:17 +0800
committermartymac <martymac@FreeBSD.org>2012-06-15 17:55:17 +0800
commitcb9693ae6299753b3c7ada8d546db29d1d5ea472 (patch)
tree3bf7f7f1e58c70fc87188e4544bc1778ca2bc52f /benchmarks
parent4a3ab1a91e3842063e12e223da4b24223c16e71d (diff)
downloadfreebsd-ports-gnome-cb9693ae6299753b3c7ada8d546db29d1d5ea472.tar.gz
freebsd-ports-gnome-cb9693ae6299753b3c7ada8d546db29d1d5ea472.tar.zst
freebsd-ports-gnome-cb9693ae6299753b3c7ada8d546db29d1d5ea472.zip
Switch to OptionsNg
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