Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.kde4.mk
Context not available. | |||||
# | # | ||||
# KDE4 related ports can use this as follows: | # KDE4 related ports can use this as follows: | ||||
# | # | ||||
# USE_KDE4= kdelibs kdeprefix | # USE_KDE4= kdelibs | ||||
# USE_QT4= corelib # Set Qt 4 components here. | # USE_QT4= corelib # Set Qt 4 components here. | ||||
# | # | ||||
# .include <bsd.port.mk> | # .include <bsd.port.mk> | ||||
Context not available. | |||||
# kactivities - KDE activities library | # kactivities - KDE activities library | ||||
# kate - KDE text editor framework | # kate - KDE text editor framework | ||||
# kdelibs - KDE Developer Platform | # kdelibs - KDE Developer Platform | ||||
# kdeprefix - If set, port will be installed into ${KDE4_PREFIX} instead of | |||||
# ${LOCALBASE} | |||||
# kfilemetadata - KDE library for extracting file metadata | # kfilemetadata - KDE library for extracting file metadata | ||||
# korundum - KDE Ruby bindings | # korundum - KDE Ruby bindings | ||||
# libkcddb - KDE CDDB library | # libkcddb - KDE CDDB library | ||||
Context not available. | |||||
CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE};${KDE4_PREFIX}" \ | CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE};${KDE4_PREFIX}" \ | ||||
-DKDE4_BUILD_TESTS:BOOL=OFF | -DKDE4_BUILD_TESTS:BOOL=OFF | ||||
# ${PREFIX} and ${NO_MTREE} have to be defined in the pre-makefile section. | |||||
.if defined(USE_KDE4) && ${USE_KDE4:Mkdeprefix} != "" | |||||
. if ${.MAKEFLAGS:MPREFIX=*} == "" | |||||
PREFIX= ${KDE4_PREFIX} | |||||
. if ${KDE4_PREFIX} != ${LOCALBASE} | |||||
NO_MTREE= yes | |||||
. endif | |||||
. endif | |||||
.endif | |||||
PLIST_SUB+= KDE4_PREFIX="${KDE4_PREFIX}" \ | PLIST_SUB+= KDE4_PREFIX="${KDE4_PREFIX}" \ | ||||
KDE4_VERSION="${KDE4_VERSION}" \ | KDE4_VERSION="${KDE4_VERSION}" \ | ||||
KDE4_GENERIC_LIB_VERSION=${KDE4_VERSION} \ | KDE4_GENERIC_LIB_VERSION=${KDE4_VERSION} \ | ||||
Context not available. | |||||
# These components are not part of the Software Compilation. | # These components are not part of the Software Compilation. | ||||
_USE_KDE4_ALL+= akonadi attica automoc4 ontologies qimageblitz soprano \ | _USE_KDE4_ALL+= akonadi attica automoc4 ontologies qimageblitz soprano \ | ||||
strigi | strigi | ||||
# Meta components | |||||
_USE_KDE4_ALL+= kdeprefix | |||||
# Deprecated | |||||
_USE_KDE4_ALL+= kdehier | |||||
baloo_PORT= sysutils/baloo | baloo_PORT= sysutils/baloo | ||||
baloo_PATH= ${KDE4_PREFIX}/lib/libbaloocore.so | baloo_PATH= ${KDE4_PREFIX}/lib/libbaloocore.so | ||||
Context not available. | |||||
kdelibs_PORT= x11/kdelibs4 | kdelibs_PORT= x11/kdelibs4 | ||||
kdelibs_PATH= ${KDE4_PREFIX}/lib/libkdecore.so | kdelibs_PATH= ${KDE4_PREFIX}/lib/libkdecore.so | ||||
.if ${KDE4_PREFIX} != ${LOCALBASE} | |||||
kdeprefix_PORT= misc/kdehier4 | |||||
kdeprefix_PATH= kdehier4>=1.3 | |||||
kdeprefix_TYPE= run | |||||
.endif | |||||
kfilemetadata_PORT= sysutils/kfilemetadata | kfilemetadata_PORT= sysutils/kfilemetadata | ||||
kfilemetadata_PATH= ${KDE4_PREFIX}/lib/libkfilemetadata.so | kfilemetadata_PATH= ${KDE4_PREFIX}/lib/libkfilemetadata.so | ||||
Context not available. | |||||
.for component in ${USE_KDE4:O:u:C/_.+//} | .for component in ${USE_KDE4:O:u:C/_.+//} | ||||
# Check that the component is valid. | # Check that the component is valid. | ||||
. if ${_USE_KDE4_ALL:M${component}} != "" | . if ${_USE_KDE4_ALL:M${component}} != "" | ||||
# Skip meta-components (e.g. kdeprefix). | # Skip meta-components | ||||
. if defined(${component}_PORT) && defined(${component}_PATH) | . if defined(${component}_PORT) && defined(${component}_PATH) | ||||
${component}_DEPENDS= ${${component}_PATH}:${${component}_PORT} | ${component}_DEPENDS= ${${component}_PATH}:${${component}_PORT} | ||||
# Check if a dependency type is explicitly requested. | # Check if a dependency type is explicitly requested. | ||||
Context not available. |