Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/kde.mk
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | |||||
DIST_SUBDIR?= KDE/frameworks/${KDE_FRAMEWORKS_VERSION} | DIST_SUBDIR?= KDE/frameworks/${KDE_FRAMEWORKS_VERSION} | ||||
. else | . else | ||||
IGNORE?= unknown CATEGORY value '${_KDE_CATEGORY}' #' | IGNORE?= unknown CATEGORY value '${_KDE_CATEGORY}' #' | ||||
. endif | . endif | ||||
. endif #defined(_KDE_CATEGORY) | . endif #defined(_KDE_CATEGORY) | ||||
# ============================================================================== | # ============================================================================== | ||||
# ==== SETUP CMAKE ENVIRONMENT ================================================= | # === SET UP CMAKE ENVIRONMENT ================================================= | ||||
# Help cmake to find files when testing ports with non-default PREFIX. | # Help cmake to find files when testing ports with non-default PREFIX. | ||||
CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE}" | CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE}" | ||||
. if ${_KDE_VERSION:M*5*} | |||||
# We set KDE_INSTALL_USE_QT_SYS_PATHS to install mkspecs files, plugins and | # We set KDE_INSTALL_USE_QT_SYS_PATHS to install mkspecs files, plugins and | ||||
# imports to the Qt 5 install directory. | # imports to the Qt 5 install directory. | ||||
CMAKE_ARGS+= -DBUILD_TESTING:BOOL=OFF \ | CMAKE_ARGS+= -DBUILD_TESTING:BOOL=OFF \ | ||||
-DCMAKE_MODULE_PATH="${LOCALBASE};${KDE_PREFIX}" \ | -DCMAKE_MODULE_PATH="${LOCALBASE};${KDE_PREFIX}" \ | ||||
-DCMAKE_INSTALL_PREFIX="${KDE_PREFIX}" \ | -DCMAKE_INSTALL_PREFIX="${KDE_PREFIX}" \ | ||||
-DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=TRUE | -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=true | ||||
. endif | |||||
# Set man-page installation prefix. | # Set man-page installation prefix. | ||||
CMAKE_ARGS+= -DKDE_INSTALL_MANDIR:PATH="${KDE_PREFIX}/man" \ | CMAKE_ARGS+= -DKDE_INSTALL_MANDIR:PATH="${KDE_PREFIX}/man" \ | ||||
-DMAN_INSTALL_DIR:PATH="${KDE_PREFIX}/man" | -DMAN_INSTALL_DIR:PATH="${KDE_PREFIX}/man" | ||||
# ============================================================================== | # ============================================================================== | ||||
# === SET-UP PLIST_SUB ========================================================= | # === SET UP PLIST_SUB ========================================================= | ||||
# Prefix and include directory. | # Prefix and include directory. | ||||
PLIST_SUB+= KDE_PREFIX="${KDE_PREFIX}" | PLIST_SUB+= KDE_PREFIX="${KDE_PREFIX}" | ||||
# KDE Applications version. | # KDE Applications version. | ||||
PLIST_SUB+= KDE_APPLICATIONS_VERSION="${KDE_APPLICATIONS_VERSION}" | PLIST_SUB+= KDE_APPLICATIONS_VERSION="${KDE_APPLICATIONS_VERSION}" \ | ||||
. if ${_KDE_VERSION:M*5*} | KDE_FRAMEWORKS_VERSION="${KDE_FRAMEWORKS_VERSION}" \ | ||||
PLIST_SUB+= KDE_PLASMA_VERSION="${KDE_PLASMA_VERSION}" \ | KDE_PLASMA_VERSION="${KDE_PLASMA_VERSION}" | ||||
KDE_FRAMEWORKS_VERSION="${KDE_FRAMEWORKS_VERSION}" | |||||
. endif | |||||
# ============================================================================== | # ============================================================================== | ||||
_USE_KDE_BOTH= akonadi attica libkcddb libkcompactdisc libkdcraw libkdegames \ | _USE_KDE_BOTH= akonadi attica libkcddb libkcompactdisc libkdcraw libkdegames \ | ||||
libkeduvocdocument libkexiv2 libkipi libksane okular \ | libkeduvocdocument libkexiv2 libkipi libksane okular \ | ||||
baloo baloo-widgets kate marble | baloo baloo-widgets kate marble | ||||
# List of components of the KDE Frameworks distribution. | # List of components of the KDE Frameworks distribution. | ||||
# The *_TIER<n> variables are internal, primarily for checking | # The *_TIER<n> variables are internal, primarily for checking | ||||
▲ Show 20 Lines • Show All 681 Lines • Show Last 20 Lines |