aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/dbench/Makefile
blob: f70dc13c8bd63d3404b85e3a558e6ebec053a3b2 (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
# New ports collection makefile for:    dbench
# Date created:     18 Febrary 2002
# Whom:         Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
#
# $FreeBSD$
#

PORTNAME=   dbench
PORTVERSION=    1.3
CATEGORIES= benchmarks
MASTER_SITES=   ftp://samba.org/pub/tridge/dbench/

MAINTAINER= nyxo@dnuc.polyn.kiae.su

WRKSRC=     ${WRKDIR}/dbench

post-patch:
    @${PERL} -pi -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>