Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2015 22:47:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395140 - head/graphics/tiled
Message-ID:  <201508232247.t7NMlX1Q060405@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508232247.t7NMlX1Q060405>