Changeset View
Changeset View
Standalone View
Standalone View
head/devel/py-qt4-core/Makefile
# Created by: Danny Pansters <danny@ricin.com> | # Created by: Danny Pansters <danny@ricin.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= core | PORTNAME= core | ||||
PORTREVISION= 4 | PORTREVISION= 5 | ||||
PORTEPOCH= 1 | PORTEPOCH= 1 | ||||
CATEGORIES= devel python | CATEGORIES= devel python | ||||
MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
COMMENT= Python bindings for the Qt4 toolkit, QtCore module | COMMENT= Python bindings for the Qt4 toolkit, QtCore module | ||||
CONFIGURE_ARGS= --enable QtCore | CONFIGURE_ARGS= --enable QtCore | ||||
PYQT_DIST= yes | PYQT_DIST= yes | ||||
Show All 24 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}/PyQt4 | ${INSTALL_DATA} ${FILESDIR}/Qt.py ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt4 | ||||
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ | ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ | ||||
-f -d ${PYTHONPREFIX_SITELIBDIR} \ | -f -d ${PYTHONPREFIX_SITELIBDIR}/PyQt4 \ | ||||
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt4 | ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt4 | ||||
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ | ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ | ||||
-f -d ${PYTHONPREFIX_SITELIBDIR} \ | -f -d ${PYTHONPREFIX_SITELIBDIR}/PyQt4 \ | ||||
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt4 | ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt4 | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |