1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/benchmarks/bonnie/Makefile
Emanuel Haupt 2fab0630c9 - Support staging
- Add STATIC option
  (inspired by commented out CFLAGS+=-static)
2014-02-08 21:15:28 +00:00

31 lines
652 B
Makefile

# 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
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Bonnie ${STAGEDIR}${PREFIX}/bin/bonnie
${INSTALL_MAN} ${FILESDIR}/bonnie.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>