aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/dbench/Makefile
blob: f1b06562e629e3602375e45a4551c74a79a2618d (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
# Created by: 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=    libpopt.so:${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

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

.include <bsd.port.mk>