1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/pylot/Makefile
Rene Ladan 50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00

49 lines
1.0 KiB
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= pylot
PORTVERSION= 1.26
PORTREVISION= 3
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= yes
USE_ZIP= yes
NO_STAGE= 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>