# $FreeBSD: head/devel/py-qt5-dbussupport/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= dbussupport CATEGORIES= devel python MAINTAINER= kde@FreeBSD.org COMMENT= Qt event loop support for dbus-python BUILD_DEPENDS= ${PYDBUS} RUN_DEPENDS= ${PYDBUS} CONFIGURE_ARGS= --enable QtCore PYQT_DIST= yes USES= pkgconfig python pyqt:5 USE_PYQT= sip_build USE_QT5= core buildtools_build qmake_build OPTIONS_DEFINE= DEBUG DEBUG_CONFIGURE_ON= --debug --trace BUILD_WRKSRC= ${WRKSRC}/dbus INSTALL_WRKSRC= ${WRKSRC}/dbus PLIST_FILES= %%PYTHON_SITELIBDIR%%/dbus/mainloop/pyqt5.so .include .if ${PYTHON_MAJOR_VER} == 2 PYDBUS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.8:devel/py-dbus .elif ${PYTHON_MAJOR_VER} == 3 PYDBUS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.8:devel/py3-dbus .endif .include