# New ports collection makefile for:	dbench
# Date created:		18 Febrary 2002
# Whom:			Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
#
# $FreeBSD: ports/benchmarks/dbench/Makefile,v 1.5 2003/02/21 11:00:31 knu Exp $
#

PORTNAME=	dbench
PORTVERSION=	1.3
CATEGORIES=	benchmarks
MASTER_SITES=	ftp://dnuc.polyn.kiae.su/pub/dbench/

MAINTAINER=	nyxo@dnuc.polyn.kiae.su
COMMENT=	A simulation of the Ziff-Davis netbench benchmark

WRKSRC=		${WRKDIR}/dbench
USE_REINPLACE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's/^CFLAGS.+//g' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dbench ${PREFIX}/bin/dbench
	${INSTALL_PROGRAM} ${WRKSRC}/tbench ${PREFIX}/bin/tbench
	${INSTALL_PROGRAM} ${WRKSRC}/tbench_srv ${PREFIX}/bin/tbench_srv

.include <bsd.port.mk>
