freebsd-ports/devel/py-qt4-dbussupport/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

36 lines
755 B
Makefile

# $FreeBSD$
PORTNAME= dbussupport
PORTREVISION= 1
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:4
USE_PYQT= sip_build
USE_QT4= corelib qmake_build moc_build
OPTIONS_DEFINE= DEBUG
DEBUG_CONFIGURE_ON= --debug --trace
BUILD_WRKSRC= ${WRKSRC}/dbus
INSTALL_WRKSRC= ${WRKSRC}/dbus
PLIST_FILES= %%PYTHON_SITELIBDIR%%/dbus/mainloop/qt.so
.include <bsd.port.pre.mk>
.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 <bsd.port.post.mk>