svn commit: r377698 - head/graphics/py-pycha
Antoine Brodin
antoine at FreeBSD.org
Thu Jan 22 21:18:32 UTC 2015
Author: antoine
Date: Thu Jan 22 21:18:31 2015
New Revision: 377698
URL: https://svnweb.freebsd.org/changeset/ports/377698
QAT: https://qat.redports.org/buildarchive/r377698/
Log:
Use an option helper
Modified:
head/graphics/py-pycha/Makefile
Modified: head/graphics/py-pycha/Makefile
==============================================================================
--- head/graphics/py-pycha/Makefile Thu Jan 22 21:06:20 2015 (r377697)
+++ head/graphics/py-pycha/Makefile Thu Jan 22 21:18:31 2015 (r377698)
@@ -18,10 +18,6 @@ USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= CAIRO
OPTIONS_DEFAULT= CAIRO
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCAIRO}
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/cairo:${PORTSDIR}/graphics/py-cairo
-.endif
+CAIRO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:${PORTSDIR}/graphics/py-cairo
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list