svn commit: r395140 - head/graphics/tiled
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Aug 23 22:47:33 UTC 2015
Author: amdmi3
Date: Sun Aug 23 22:47:32 2015
New Revision: 395140
URL: https://svnweb.freebsd.org/changeset/ports/395140
Log:
- Switch to options helpers
Modified:
head/graphics/tiled/Makefile
Modified: head/graphics/tiled/Makefile
==============================================================================
--- head/graphics/tiled/Makefile Sun Aug 23 22:29:45 2015 (r395139)
+++ head/graphics/tiled/Makefile Sun Aug 23 22:47:32 2015 (r395140)
@@ -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_DESC= Enable python plugin
+PYTHON_USES= pkgconfig python:2.7
+PYTHON_QMAKE_OFF= DISABLE_PYTHON_PLUGIN=yes
post-patch:
@${REINPLACE_CMD} -e 's|lrelease|&-qt4|' \
More information about the svn-ports-head
mailing list