freebsd-ports/www/pylot/Makefile
Mathieu Arnold dbbfc7889a GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN

Some ports have a local mirror configured but for security reasons, it
is not considered upstream.

Sponsored by:	Absolight
2016-09-14 15:59:34 +00:00

48 lines
1.1 KiB
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= pylot
PORTVERSION= 1.26
PORTREVISION= 5
CATEGORIES= www
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Tool for testing performance and scalability of web services
BROKEN= Unfetchable (google code has gone away)
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}
USES= python zip
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR} && cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGUI}
USE_WX= 3.0+
WX_COMPS= python:run
.endif
.if ${PORT_OPTIONS:MREPORTGRAPHS}
RUN_DEPENDS+= ${PYNUMPY}
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:math/py-matplotlib
.endif
.include <bsd.port.mk>