Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/pyqt.mk
Show First 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | |||||
PLIST_SUB+= PYTHON_MAJOR_VER="${PYTHON_MAJOR_VER}" | PLIST_SUB+= PYTHON_MAJOR_VER="${PYTHON_MAJOR_VER}" | ||||
SIP_ARGS= --qmake ${QMAKE} \ | SIP_ARGS= --qmake ${QMAKE} \ | ||||
--verbose \ | --verbose \ | ||||
--no-make \ | --no-make \ | ||||
--build-dir build \ | --build-dir build \ | ||||
--protected-is-public \ | --protected-is-public \ | ||||
--api-dir ${PYQT_APIDIR} | --api-dir ${PYQT_APIDIR} | ||||
. if ${PORTNAME} == "pyqt" | . if ${PORTNAME} == "pyqt" | ||||
SIP_ARGS+= --confirm-license | SIP_ARGS+= --confirm-license | ||||
. endif | . endif | ||||
. if ${PORTNAME} == "pyqt" | . if ${PORTNAME} == "pyqt" | ||||
. if !target(post-patch) | . if !target(post-patch) | ||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} -e "s#%%PYQT_DESIGNERDIR%%#${PYQT_DESIGNERDIR}#" ${WRKSRC}/project.py | ${REINPLACE_CMD} -e "s#%%PYQT_DESIGNERDIR%%#${PYQT_DESIGNERDIR}#" ${WRKSRC}/project.py | ||||
${REINPLACE_CMD} -e "s#%%PYQT_QMLDIR%%#${PYQT_QMLDIR}#" ${WRKSRC}/project.py | ${REINPLACE_CMD} -e "s#%%PYQT_QMLDIR%%#${PYQT_QMLDIR}#" ${WRKSRC}/project.py | ||||
. endif # !target(post-patch) | . endif # !target(post-patch) | ||||
. endif | . endif | ||||
. if !target(do-build) | . if !target(do-build) | ||||
do-build: | do-build: | ||||
(cd ${WRKSRC}; ${SIP} ${SIP_ARGS}; ${MAKE} ${_MAKE_JOBS} -C ./build) | (cd ${WRKSRC}; ${SIP} ${SIP_ARGS}; ${MAKE} ${_MAKE_JOBS} -C ./build) | ||||
. endif # !target(do-build) | . endif # !target(do-build) | ||||
. if !target(do-install) | . if !target(do-install) | ||||
Show All 33 Lines |