aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/blogbench/Makefile
blob: e9104b988f6027878d2d24628a54eb92e83f7e8a (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
29
30
# Created by: janos.mohacsi@bsd.hu

PORTNAME=	blogbench
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	benchmarks
MASTER_SITES=	http://download.pureftpd.org/pub/blogbench/ \
		ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/blogbench/

MAINTAINER=	jmohacsi@bsd.hu
COMMENT=	Performance Test of Filesystem I/O

USES=		tar:bzip2

GNU_CONFIGURE=	yes

PLIST_FILES=	bin/blogbench man/man8/blogbench.8.gz
PORTDOCS=	README

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -Ee 's|[[:<:]]rand\(|arc4random(|g' \
		"${WRKSRC}"/src/*.[ch]

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>