summaryrefslogtreecommitdiff
path: root/comms/py-qt5-sensors/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/py-qt5-sensors/Makefile')
-rw-r--r--comms/py-qt5-sensors/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/comms/py-qt5-sensors/Makefile b/comms/py-qt5-sensors/Makefile
new file mode 100644
index 000000000000..098faae045a2
--- /dev/null
+++ b/comms/py-qt5-sensors/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME= sensors
+CATEGORIES= comms devel python
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Python bindings for the Qt5 toolkit, QtSensors module
+
+BUILD_DEPENDS= ${PY_ENUM34}
+RUN_DEPENDS= ${PY_ENUM34}
+
+CONFIGURE_ARGS= --enable QtSensors
+PYQT_DIST= yes
+
+USES= gl python pyqt:5 qt:5
+USE_GL= gl
+USE_PYQT= sip_build core_run
+USE_PYTHON= concurrent flavors py3kplist
+USE_QT= core gui sensors qmake_build
+
+OPTIONS_DEFINE= API DEBUG
+OPTIONS_DEFAULT=API
+OPTIONS_SUB= yes
+
+API_DESC= Install QtSensors API for QScintilla2
+API_CONFIGURE_ON= --qsci-api --qsci-api-destdir=${PYQT_APIDIR}
+API_CONFIGURE_OFF= --no-qsci-api
+API_LIB_DEPENDS= libqscintilla2_qt5.so:devel/qscintilla2-qt5
+DEBUG_CONFIGURE_ON= --debug --trace
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5/QtSensors.so
+
+.include <bsd.port.mk>