summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/fio/Makefile25
-rw-r--r--sysutils/fio/distinfo4
-rw-r--r--sysutils/fio/pkg-descr2
-rw-r--r--sysutils/fio/pkg-plist12
4 files changed, 26 insertions, 17 deletions
diff --git a/sysutils/fio/Makefile b/sysutils/fio/Makefile
index 9df8b0a3a560..7b62939bbea1 100644
--- a/sysutils/fio/Makefile
+++ b/sysutils/fio/Makefile
@@ -2,18 +2,18 @@
# Date created: Jan.15, 2009
# Whom: luigi@FreeBSD.org
#
-# Maintainers: Luigi Rizzo <luigi@FreeBSD.org>
+# Maintainers: Bruce Cran <brucec@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fio
-PORTVERSION= 1.44.3
+PORTVERSION= 1.50.2
CATEGORIES= sysutils benchmarks
MASTER_SITES= http://brick.kernel.dk/snaps/
-MAINTAINER= luigi@FreeBSD.org
-COMMENT= The program fio - flexible IO tester
+MAINTAINER= brucec@FreeBSD.org
+COMMENT= FIO - flexible IO tester
USE_BZIP2= yes
USE_GMAKE= yes
@@ -24,24 +24,21 @@ LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS= GNUPLOT "Support for plotting graphs" off
MAN1= fio.1 fio_generate_plots.1
-PLIST_FILES= bin/fio bin/fio_generate_plots
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fio ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/fio_generate_plots ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/fio.1 ${PREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/fio_generate_plots.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/fio.1 ${MAN1PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/fio_generate_plots.1 ${MAN1PREFIX}/man/man1
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+.endif
.include <bsd.port.pre.mk>
.if defined(WITH_GNUPLOT)
-RUN_DEPENDS+= ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
-.endif
-
-.if ${OSVERSION} < 700000
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64-6
-.endif
+BUILD_DEPENDS+= ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
.endif
.include <bsd.port.post.mk>
diff --git a/sysutils/fio/distinfo b/sysutils/fio/distinfo
index 7e8597eab519..5aede22eca44 100644
--- a/sysutils/fio/distinfo
+++ b/sysutils/fio/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fio-1.44.3.tar.bz2) = 740f9e91de9e0c5c96cb791b4426bc3d7fd2fc600aa503209c04089f02d62ae1
-SIZE (fio-1.44.3.tar.bz2) = 161797
+SHA256 (fio-1.50.2.tar.bz2) = ce0c3543047289090c490183aaf8a9cab8fab8d28a95c6914cb5f5128bd704c8
+SIZE (fio-1.50.2.tar.bz2) = 341877
diff --git a/sysutils/fio/pkg-descr b/sysutils/fio/pkg-descr
index 198a2a9856f5..98f4950ff59f 100644
--- a/sysutils/fio/pkg-descr
+++ b/sysutils/fio/pkg-descr
@@ -3,4 +3,4 @@ processes doing a particular type of I/O action as specified by
the user. Fio can be driven by a 'job file' describing the I/O
load one wants to simulate.
-WWW: http://git.kernel.dk/
+WWW: http://git.kernel.dk/?p=fio.git
diff --git a/sysutils/fio/pkg-plist b/sysutils/fio/pkg-plist
new file mode 100644
index 000000000000..2c699e3e1123
--- /dev/null
+++ b/sysutils/fio/pkg-plist
@@ -0,0 +1,12 @@
+bin/fio
+bin/fio_generate_plots
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/1mbs_clients
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aio-read
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/disk-zone-profile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fsx
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iometer-file-access-server
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/netio
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssd-test
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/surface-scan
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tiobench-example
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%