Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/pyqt.mk
Show First 20 Lines • Show All 234 Lines • ▼ Show 20 Lines | |||||
.endif # !target(do-configure) | .endif # !target(do-configure) | ||||
.endif # defined(PYQT_DIST) | .endif # defined(PYQT_DIST) | ||||
# Set build and run depends -- we need to prefix them internally with "py-" | # Set build and run depends -- we need to prefix them internally with "py-" | ||||
# else we conflict with the ones defined in bsd.qt.mk with the same name | # else we conflict with the ones defined in bsd.qt.mk with the same name | ||||
_USE_PYQT_ALL+= ${_USE_PYQT${_PYQT_VERSION}_ONLY} | _USE_PYQT_ALL+= ${_USE_PYQT${_PYQT_VERSION}_ONLY} | ||||
.for comp in ${_USE_PYQT_ALL:O:u} | .for comp in ${_USE_PYQT_ALL:O:u} | ||||
_USE_PYQT_ALL_SUFFIXED+= py-${comp} py-${comp}_build py-${comp}_run | _USE_PYQT_ALL_SUFFIXED+= py-${comp} py-${comp}_build py-${comp}_run | ||||
py-${comp}_BUILD_DEPENDS?= ${py-${comp}_PATH}:${py-${comp}_PORT} | py-${comp}_BUILD_DEPENDS?= ${py-${comp}_PATH}:${py-${comp}_PORT}${FLAVOR:C/(.+)/@\1/} | ||||
py-${comp}_RUN_DEPENDS?= ${py-${comp}_PATH}:${py-${comp}_PORT} | py-${comp}_RUN_DEPENDS?= ${py-${comp}_PATH}:${py-${comp}_PORT}${FLAVOR:C/(.+)/@\1/} | ||||
py-${comp}_build_BUILD_DEPENDS?= ${py-${comp}_BUILD_DEPENDS} | py-${comp}_build_BUILD_DEPENDS?= ${py-${comp}_BUILD_DEPENDS} | ||||
py-${comp}_run_RUN_DEPENDS?= ${py-${comp}_RUN_DEPENDS} | py-${comp}_run_RUN_DEPENDS?= ${py-${comp}_RUN_DEPENDS} | ||||
.endfor | .endfor | ||||
_USE_PYQT= ${USE_PYQT:O:u} | _USE_PYQT= ${USE_PYQT:O:u} | ||||
.for comp in ${_USE_PYQT} | .for comp in ${_USE_PYQT} | ||||
. if ${_USE_PYQT_ALL_SUFFIXED:Mpy-${comp}} | . if ${_USE_PYQT_ALL_SUFFIXED:Mpy-${comp}} | ||||
BUILD_DEPENDS+= ${py-${comp}_BUILD_DEPENDS} | BUILD_DEPENDS+= ${py-${comp}_BUILD_DEPENDS} | ||||
RUN_DEPENDS+= ${py-${comp}_RUN_DEPENDS} | RUN_DEPENDS+= ${py-${comp}_RUN_DEPENDS} | ||||
. else | . else | ||||
IGNORE?= cannot be installed: unknown USE_PYQT component ${comp} #' | IGNORE?= cannot be installed: unknown USE_PYQT component ${comp} #' | ||||
. endif | . endif | ||||
.endfor | .endfor | ||||
.endif # defined(_INCLUDE_USES_PYQT_MK) | .endif # defined(_INCLUDE_USES_PYQT_MK) |