aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/tsung/Makefile
blob: 4a9e7a17ea9919602a0561f114abbad1bb302b0f (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
# New ports collection makefile for:	tsung
# Date created:	   04 June 2007
# Whom:		   Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=	tsung
PORTVERSION=	1.4.2
CATEGORIES=	benchmarks sysutils
MASTER_SITES=	http://tsung.erlang-projects.org/dist/

MAINTAINER=	linpct@gmail.com
COMMENT=	Multi-protocol distributed load testing tool

LICENSE=	GPLv2

BUILD_DEPENDS=	erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS=	erl:${PORTSDIR}/lang/erlang

USE_PERL5_RUN=	yes
USE_PYTHON_RUN=	yes

GNU_CONFIGURE=	yes
USE_GMAKE=	yes

PLIST_SUB=	PORTVERSION=${PORTVERSION}

MAN1=	tsplot.1 tsung-recorder.1 tsung.1

post-patch-script:
	@${REINPLACE_CMD} -e 's|MAN_DIR   = $$(datadir)/man/man1/|MAN_DIR   = $$(prefix)/man/man1/|' \
		${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} -e 's|CONFDIR   = $$(docdir)/examples|CONFDIR   = $$(prefix)/share/examples/tsung|' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>