blob: 68cf951740dcf07e1a2449eff62b55fbbc973d41 (
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
38
39
40
41
42
43
44
45
46
47
|
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= pylot
PORTVERSION= 1.26
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Tool for testing performance and scalability of web services
OPTIONS_DEFINE= GUI REPORTGRAPHS
OPTIONS_DEFAULT= REPORTGRAPHS
GUI_DESC= Enable GUI mode
REPORTGRAPHS_DESC= Enable report graphs
PROJECTHOST= pylt
DATADIR= ${PREFIX}/share/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
NO_BUILD= yes
SUB_FILES= ${PORTNAME}
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
USE_PYTHON= 2.5+
USE_ZIP= yes
do-install:
@${MKDIR} ${DATADIR} && cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGUI}
USE_WX= 2.4+
WX_COMPS= python:run
.endif
.if ${PORT_OPTIONS:MREPORTGRAPHS}
RUN_DEPENDS+= ${PYNUMPY}
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:${PORTSDIR}/math/py-matplotlib
.endif
.include <bsd.port.mk>
|