ports/misc/py-qt5-demo/Makefile
Tobias C. Berner cc8a667aa2 pyqt: Change install directories for Python flavor support
* PyQt could not be installed for multiple Python versions at
  the same time, as there were conflicting files.

  This patch creates Python-version versioned directories for
  all these, and further installs binaries with a version number.

* Note, there might be some hickups for software that depends on
  on of the .so's provided by PyQt5, which might not be found
  anymore autmotically, and maybe need some LD-flaggery.

* Update PyQt5 to 5.10.1

* Mark www/py-qt5-webengine broken. It is unforuntately no longer
  compatible with the old qt5-webengine-5.9.4 we ship.

PR:		232745
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D8714
2018-11-22 20:18:37 +00:00

38 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= demo
PORTVERSION= ${PYQT5_VERSION}
CATEGORIES= misc devel python
MASTER_SITES= ${MASTER_SITES_PYQT5}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt5-
DISTNAME= ${PYQT_DISTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Python bindings for the Qt5 toolkit, Qt demo and examples
DISTINFO_FILE= ${PYQT_DISTINFO_FILE}
NO_BUILD= yes
PORTSCOUT= limit:^${PYQT5_VERSION}
USES= python pyqt:5
USE_PYQT= core_run dbus_run designer_run \
designerplugin_run gui_run multimedia_run \
multimediawidgets_run network_run opengl_run qscintilla2_run \
sql_run svg_run test_run webkit_run xml_run \
xmlpatterns_run sip_run qscintilla2_run \
printsupport_run serialport_run webkitwidgets_run widgets_run
USE_PYTHON= concurrent flavors py3kplist
NO_ARCH= yes
do-install:
${MKDIR} ${STAGEDIR}${PYQT_EXAMPLEDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${PYQT_EXAMPLEDIR}
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-f -d ${PYTHONPREFIX_SITELIBDIR} \
${STAGEDIR}${PYQT_EXAMPLEDIR}
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-f -d ${PYTHONPREFIX_SITELIBDIR} \
${STAGEDIR}${PYQT_EXAMPLEDIR}
.include <bsd.port.mk>