freebsd-ports/benchmarks/tsung/Makefile
2014-04-04 13:01:08 +00:00

31 lines
793 B
Makefile

# 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 shebangfix
SHEBANG_FILES= src/*.pl.in src/tsung-plotter/tsung/tsung.py
PLIST_SUB= PORTVERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|MAN_DIR = $$(datadir)/man/man1/|MAN_DIR = $$(prefix)/man/man1/| ; \
s|CONFDIR = $$(docdir)/examples|CONFDIR = $$(prefix)/share/examples/tsung|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>