freebsd-ports/benchmarks/bonnie++/Makefile
Ganael LAPLANCHE 782412b4a4 Fix build with Gcc/libstdc++
PR:		ports/188678
Submitted by:	Matthew Rezny <matthew@reztek.cz>
Tested by:	marino
2014-05-12 06:50:03 +00:00

37 lines
765 B
Makefile

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