freebsd-ports/benchmarks/bonnie++/Makefile
2016-10-19 10:20:01 +00:00

31 lines
627 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= bonnie++
PORTVERSION= 1.97.2
CATEGORIES= benchmarks
MASTER_SITES= http://www.coker.com.au/bonnie++/experimental/
MAINTAINER= martymac@FreeBSD.org
COMMENT= Performance Test of Filesystem I/O
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= shebangfix tar:tgz
SHEBANG_FILES= bon_csv2txt.in
PORTDOCS= readme.html
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} \
's|/usr/share/|${PREFIX}/share/|g' ${WRKSRC}/bonnie++.8
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>