- Switch to options helpers

This commit is contained in:
Dmitry Marakasov
2015-08-23 22:47:32 +00:00
parent f08ecd983b
commit bde79446ec

View File

@@ -21,15 +21,10 @@ PORTDOCS= *
OPTIONS_DEFINE= PYTHON DOCS
OPTIONS_DEFAULT=PYTHON
OPTIONS_SUB= yes
PYTHON_DESC= Enable python plugin
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON}
USES+= pkgconfig python:2.7
.else
QMAKE_ARGS+= DISABLE_PYTHON_PLUGIN=yes
.endif
PYTHON_USES= pkgconfig python:2.7
PYTHON_QMAKE_OFF= DISABLE_PYTHON_PLUGIN=yes
post-patch:
@${REINPLACE_CMD} -e 's|lrelease|&-qt4|' \