Changeset View
Changeset View
Standalone View
Standalone View
head/devel/py-qt5-core/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= core | PORTNAME= core | ||||
PORTREVISION= 3 | PORTREVISION= 4 | ||||
CATEGORIES= devel python | CATEGORIES= devel python | ||||
MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
COMMENT= Python bindings for the Qt5 toolkit, QtCore module | COMMENT= Python bindings for the Qt5 toolkit, QtCore module | ||||
PYQT_MODULE= QtCore | PYQT_MODULE= QtCore | ||||
CONFIGURE_ARGS= ${PYQT5_MODULES_ALL:N${PYQT_MODULE}:C/.*/--disable=&/} \ | CONFIGURE_ARGS= ${PYQT5_MODULES_ALL:N${PYQT_MODULE}:C/.*/--disable=&/} \ | ||||
--enable=${PYQT_MODULE} | --enable=${PYQT_MODULE} | ||||
Show All 27 Lines | .if ${PYTHON_MAJOR_VER} == "2" | ||||
${RM} -r ${WRKSRC}/pyuic/uic/port_v3 | ${RM} -r ${WRKSRC}/pyuic/uic/port_v3 | ||||
.elif ${PYTHON_MAJOR_VER} == "3" | .elif ${PYTHON_MAJOR_VER} == "3" | ||||
${RM} -r ${WRKSRC}/pyuic/uic/port_v2 | ${RM} -r ${WRKSRC}/pyuic/uic/port_v2 | ||||
.endif | .endif | ||||
post-install: | post-install: | ||||
${INSTALL_DATA} ${FILESDIR}/Qt.py ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5 | ${INSTALL_DATA} ${FILESDIR}/Qt.py ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5 | ||||
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ | ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ | ||||
-f -d ${PYTHONPREFIX_SITELIBDIR} \ | -f -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 \ | ||||
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5 | ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5 | ||||
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ | ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ | ||||
-f -d ${PYTHONPREFIX_SITELIBDIR} \ | -f -d ${PYTHONPREFIX_SITELIBDIR}/PyQt5 \ | ||||
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5 | ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt5 | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |