1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/benchmarks/tsung/Makefile
Adam Weinberger 44eaadcb75 Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used
to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by
ruby@, PORTDOCS is applied to pretty much everything whether it's
documentation or example.
2014-07-15 23:11:12 +00:00

34 lines
824 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}
OPTIONS_DEFINE= DOCS EXAMPLES
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>