aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/polygraph31/Makefile
blob: 51a7bffdf914398d98ca6ff6c2bd7552fd72e298 (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
38
39
40
# New ports collection makefile for:    polygraph
# Date created:         3 March 1999
# Whom:                 Dima Sivachenko <dima@chg.ru>
#
# $FreeBSD$
#

PORTNAME=   polygraph31
PORTVERSION=    3.1.5
CATEGORIES= benchmarks www
MASTER_SITES=   http://www.web-polygraph.org/downloads/srcs/
DISTNAME=   ${PORTNAME:S/31//}-${PORTVERSION}-src
EXTRACT_SUFX=   .tgz

MAINTAINER= adrian@freebsd.org
COMMENT=    A benchmarking tool for Web proxies

GNU_CONFIGURE=  YES
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
CONFIGURE_ARGS+=--datadir=${DATADIR}
WRKSRC=     ${WRKDIR}/${PORTNAME:S/31//}-${PORTVERSION}

CONFLICTS=  ltrace-0* polygraph-[0-9]*

OPTIONS=    GNUPLOT "gnuplot if you want full report functionality" ON \
        PERL    "install Perl for polygraph tools"      OFF

.include <bsd.port.pre.mk>

DATADIR:=   ${DATADIR:S/31//}

.if !defined(WITHOUT_GNUPLOT)
RUN_DEPENDS+=   gnuplot:${PORTSDIR}/math/gnuplot
.endif

.if !defined(WITHOUT_PERL)
USE_PERL5_RUN=  yes
.endif

.include <bsd.port.post.mk>