mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
f811bf8ec5
While here: - Trim headers - convert some port to the new perl5 world
34 lines
814 B
Makefile
34 lines
814 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
|
|
|
|
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>
|