aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/bonnie/Makefile
blob: e5ea79febd3cb9776844beaaa692fd543c4d1505 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: se
# $FreeBSD$

PORTNAME=   bonnie
PORTVERSION=    2.0.6
PORTREVISION=   1
CATEGORIES= benchmarks
MASTER_SITES=   http://www.acnc.com/benchmarks/ \
        http://www.textuality.com/bonnie/
DISTNAME=   bonnie

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Performance Test of Filesystem I/O

NO_WRKSUBDIR=   yes
MAKE_ARGS+= -e CFLAGS="${CFLAGS}"
ALL_TARGET= bsd
PLIST_FILES=    bin/bonnie man/man1/bonnie.1.gz

OPTIONS_DEFINE= STATIC

STATIC_CFLAGS+= -static

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/Bonnie ${STAGEDIR}${PREFIX}/bin/bonnie
    ${INSTALL_MAN} ${FILESDIR}/bonnie.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>