summaryrefslogtreecommitdiff
path: root/benchmarks/xdd/Makefile
blob: 7912418c880304618d4c6599b9efb3f278e1bef4 (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
31
32
33
34
35
36
37
# New ports collection makefile for:	sysutils/xdd
# Date created:				29.05.2006
# Whom:					Gerhard Gonter <g.gonter@ieee.org>
#
# $FreeBSD$
#

PORTNAME=	xdd
PORTVERSION=	64
CATEGORIES=	sysutils
MASTER_SITES=	http://www.ioperformance.com/xddversions/
DISTNAME=	xdd64.121805

MAINTAINER=	g.gonter@ieee.org
COMMENT=	Tool for measuring and characterizing disk subsystem I/O

WRKSRC=		${WRKDIR}/${PORTNAME}${PORTVERSION}
PLIST_FILES=	bin/xdd bin/timeserver bin/gettime

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=	Doesn't build on 4.x
.endif

post-extract:
	${CP} ${FILESDIR}/freebsd.makefile ${WRKSRC}

do-build:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f freebsd.makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/xdd.freebsd ${PREFIX}/bin/xdd
	${INSTALL_PROGRAM} ${WRKSRC}/bin/timeserver.freebsd ${PREFIX}/bin/timeserver
	${INSTALL_PROGRAM} ${WRKSRC}/bin/gettime.freebsd ${PREFIX}/bin/gettime

.include <bsd.port.post.mk>