aboutsummaryrefslogtreecommitdiff
path: root/www/pylot
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 11:53:34 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-22 11:53:34 +0000
commit606c17b9c8ceebf3bba34704094912556f260836 (patch)
tree5f0dbe9212a3377e7182c77ac610d48050fcb2b0 /www/pylot
parent919430dbf0343ab4fb4c8362bb4b711509b3981b (diff)
downloadports-606c17b9c8ceebf3bba34704094912556f260836.tar.gz
ports-606c17b9c8ceebf3bba34704094912556f260836.zip
Convert a bunch of www ports to new options framework
Notes
Notes: svn path=/head/; revision=314915
Diffstat (limited to 'www/pylot')
-rw-r--r--www/pylot/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/www/pylot/Makefile b/www/pylot/Makefile
index 71be809b40f5..68cf951740dc 100644
--- a/www/pylot/Makefile
+++ b/www/pylot/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: pylot
-# Date created: 2009-06-01
-# Whom: Nicola Vitale <nivit@FreeBSD.org>
-#
+# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= pylot
PORTVERSION= 1.26
@@ -15,8 +11,10 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Tool for testing performance and scalability of web services
-OPTIONS= GUI "Enable GUI mode" off \
- REPORTGRAPHS "Enable report graphs" on
+OPTIONS_DEFINE= GUI REPORTGRAPHS
+OPTIONS_DEFAULT= REPORTGRAPHS
+GUI_DESC= Enable GUI mode
+REPORTGRAPHS_DESC= Enable report graphs
PROJECTHOST= pylt
@@ -34,16 +32,16 @@ do-install:
@${MKDIR} ${DATADIR} && cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_GUI)
+.if ${PORT_OPTIONS:MGUI}
USE_WX= 2.4+
WX_COMPS= python:run
.endif
-.if defined(WITH_REPORTGRAPHS)
+.if ${PORT_OPTIONS:MREPORTGRAPHS}
RUN_DEPENDS+= ${PYNUMPY}
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/matplotlib/__init__.py:${PORTSDIR}/math/py-matplotlib
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>