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

PORTNAME=   dbench
PORTVERSION=    4.0
PORTREVISION=   2
CATEGORIES= benchmarks
MASTER_SITES=   SAMBA
MASTER_SITE_SUBDIR= ../../ftp/tridge/dbench

MAINTAINER= jlaffaye@FreeBSD.org
COMMENT=    A simulation of the Ziff-Davis netbench benchmark

LIB_DEPENDS=    popt:${PORTSDIR}/devel/popt

LICENSE=    GPLv3

CFLAGS+=    -I${LOCALBASE}/include
USE_AUTOTOOLS=  autoconf
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--datadir=${DATADIR}

MAN1=       dbench.1
MLINKS=     dbench.1 tbench.1 dbench.1 tbench_srv.1

post-patch:
    @${REINPLACE_CMD} -e 's,$$(mandir),$$(mandir)/man1,' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>