diff options
Diffstat (limited to 'benchmarks/fio/Makefile')
-rw-r--r-- | benchmarks/fio/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/benchmarks/fio/Makefile b/benchmarks/fio/Makefile new file mode 100644 index 00000000000..8db345323c0 --- /dev/null +++ b/benchmarks/fio/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 2017/02/04 12:50:23 ryoon Exp $ + +DISTNAME= fio-2.17 +CATEGORIES= benchmarks +MASTER_SITES= http://brick.kernel.dk/snaps/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://git.kernel.dk/?p=fio.git;a=summary +COMMENT= Flexible IO Tester +LICENSE= gnu-gpl-v2 + +HAS_CONFIGURE= yes +USE_TOOLS+= bash gmake lex yacc + +DOCDIR= ${PREFIX}/share/doc/fio +EGDIR= ${PREFIX}/share/examples/fio + +CONFIGURE_ARGS+= --prefix=${PREFIX} + +REPLACE_BASH+= tools/genfio +REPLACE_PYTHON+= tools/fio_latency2csv.py +REPLACE_PYTHON+= tools/fiologparser.py +REPLACE_PYTHON+= tools/hist/fiologparser_hist.py +REPLACE_PYTHON+= tools/plot/fio2gnuplot + +INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/HOWTO ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.fio ${DESTDIR}${EGDIR} + +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" |