aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/polygraph31
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/polygraph31')
-rw-r--r--benchmarks/polygraph31/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/benchmarks/polygraph31/Makefile b/benchmarks/polygraph31/Makefile
index d4058b605bbe..71f2a4fb4fbc 100644
--- a/benchmarks/polygraph31/Makefile
+++ b/benchmarks/polygraph31/Makefile
@@ -5,12 +5,12 @@
# $FreeBSD$
#
-PORTNAME= polygraph
+PORTNAME= polygraph31
PORTVERSION= 3.0.6
CATEGORIES= benchmarks www
MASTER_SITES= http://www.web-polygraph.org/downloads/srcs/ \
http://people.bsdgroup.de/~as/freebsd/distfiles/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+DISTNAME= ${PORTNAME:S/31//}-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= as@bsdgroup.de
@@ -19,15 +19,17 @@ COMMENT= A benchmarking tool for Web proxies
GNU_CONFIGURE= YES
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
CONFIGURE_ARGS+=--datadir=${DATADIR}
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME:S/31//}-${PORTVERSION}
-CONFLICTS= ltrace-0*
+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