blob: 01cd0028a77471c7f57bafd9d9f5c5fd1c2f9bd3 (
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
|
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= tsung
PORTVERSION= 1.5.0
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
USE_PYTHON_RUN= yes
GNU_CONFIGURE= yes
USES= gmake perl5
PLIST_SUB= PORTVERSION=${PORTVERSION}
MAN1= tsplot.1 tsung-recorder.1 tsung.1
NO_STAGE= yes
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>
|