Convert to OptionsNG.

This commit is contained in:
Jimmy Olgeni 2012-06-27 14:07:04 +00:00
parent 7e320f782c
commit 4e5d617d2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300096

View file

@ -25,18 +25,20 @@ USE_PYDISTUTILS=yes
MAN1= ipcluster.1 ipcontroller.1 ipengine.1 iplogger.1 \
ipython.1 irunner.1 pycolor.1
OPTIONS= X11 "Build with X11 support" on \
HTML_NOTEBOOK "HTML notebook support" off
OPTIONS_DEFINE= X11 HTML_NOTEBOOK
OPTIONS_DEFAULT=X11
HTML_NOTEBOOK_DESC= HTML notebook support
.include <bsd.port.options.mk>
.if !defined(WITHOUT_X11)
.if ${PORT_OPTIONS:MX11}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \
${PYTHON_PKGNAMEPREFIX}qt4-svg>=0:${PORTSDIR}/graphics/py-qt4-svg \
${PYTHON_PKGNAMEPREFIX}pygments>=0:${PORTSDIR}/textproc/py-pygments
.endif
.if !defined(WITHOUT_HTML_NOTEBOOK)
.if ${PORT_OPTIONS:MHTML_NOTEBOOK}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=2.1:${PORTSDIR}/www/py-tornado
.endif