Lines 9-16
Link Here
|
9 |
# |
9 |
# |
10 |
# USE_KDE List of KF5/Plasma5 components (other ports) that this |
10 |
# USE_KDE List of KF5/Plasma5 components (other ports) that this |
11 |
# port depends on. |
11 |
# port depends on. |
12 |
# * foo_build Add a build-time dependency (BUILD_DEPENDS) |
12 |
# * foo:build Add a build-time dependency (BUILD_DEPENDS) |
13 |
# * foo_run Add a run-time dependency (RUN_DEPENDS) |
13 |
# * foo:run Add a run-time dependency (RUN_DEPENDS) |
14 |
# * foo (default) Add both dependencies on component <foo>, or |
14 |
# * foo (default) Add both dependencies on component <foo>, or |
15 |
# a LIB_DEPENDS if applicable. |
15 |
# a LIB_DEPENDS if applicable. |
16 |
# |
16 |
# |
Lines 25-31
Link Here
|
25 |
# |
25 |
# |
26 |
# option DOCS If the port is part of kde-applications (see CATEGORIES, |
26 |
# option DOCS If the port is part of kde-applications (see CATEGORIES, |
27 |
# above) and has an option defined for DOCS then a dependency |
27 |
# above) and has an option defined for DOCS then a dependency |
28 |
# for doctools_build is added. The option itself doesn't |
28 |
# for doctools:build is added. The option itself doesn't |
29 |
# have to do anything -- the dependency is always there. |
29 |
# have to do anything -- the dependency is always there. |
30 |
# |
30 |
# |
31 |
# KDE_INVENT If the port does not have a regular release, and should |
31 |
# KDE_INVENT If the port does not have a regular release, and should |
Lines 159-165
_KDE_OPTIONS= bogus ${OPTIONS_DEFINE}
Link Here
|
159 |
. if ${_KDE_OPTIONS:MDOCS} |
159 |
. if ${_KDE_OPTIONS:MDOCS} |
160 |
DOCSDIR= ${PREFIX}/share/doc |
160 |
DOCSDIR= ${PREFIX}/share/doc |
161 |
PORTDOCS?= HTML/* |
161 |
PORTDOCS?= HTML/* |
162 |
USE_KDE+= doctools_build |
162 |
USE_KDE+= doctools:build |
163 |
. endif |
163 |
. endif |
164 |
# Further pass along a SHLIB_VER PLIST_SUB |
164 |
# Further pass along a SHLIB_VER PLIST_SUB |
165 |
PLIST_SUB+= KDE_APPLICATIONS_SHLIB_VER=${KDE_APPLICATIONS_SHLIB_VER} \ |
165 |
PLIST_SUB+= KDE_APPLICATIONS_SHLIB_VER=${KDE_APPLICATIONS_SHLIB_VER} \ |
Lines 869-886
kde-${comp}_PATH= ${kde-${comp}${_KDE_VERSION}_LIB}
Link Here
|
869 |
_USE_KDE_ALL= ${_USE_${_KDE_RELNAME}_ALL} |
869 |
_USE_KDE_ALL= ${_USE_${_KDE_RELNAME}_ALL} |
870 |
|
870 |
|
871 |
# Iterate through components deprived of suffix. |
871 |
# Iterate through components deprived of suffix. |
872 |
. for component in ${USE_KDE:O:u:C/_.+//} |
872 |
. for component in ${USE_KDE:O:u:C/:.+//} |
873 |
# Check that the component is valid. |
873 |
# Check that the component is valid. |
874 |
. if ${_USE_KDE_ALL:M${component}} != "" |
874 |
. if ${_USE_KDE_ALL:M${component}} != "" |
875 |
# Skip meta-components (currently none). |
875 |
# Skip meta-components (currently none). |
876 |
. if defined(kde-${component}_PORT) && (defined(kde-${component}_PATH) || defined(kde-${component}_LIB)) |
876 |
. if defined(kde-${component}_PORT) && (defined(kde-${component}_PATH) || defined(kde-${component}_LIB)) |
877 |
# Check if a dependency type is explicitly requested. |
877 |
# Check if a dependency type is explicitly requested. |
878 |
. if ${USE_KDE:M${component}_*} != "" && ${USE_KDE:M${component}} == "" |
878 |
. if ${USE_KDE:M${component}\:*} != "" && ${USE_KDE:M${component}} == "" |
879 |
kde-${component}_TYPE= # empty |
879 |
kde-${component}_TYPE= # empty |
880 |
. if ${USE_KDE:M${component}_build} != "" |
880 |
. if ${USE_KDE:M${component}\:build} != "" |
881 |
kde-${component}_TYPE+= build |
881 |
kde-${component}_TYPE+= build |
882 |
. endif |
882 |
. endif |
883 |
. if ${USE_KDE:M${component}_run} != "" |
883 |
. if ${USE_KDE:M${component}\:run} != "" |
884 |
kde-${component}_TYPE+= run |
884 |
kde-${component}_TYPE+= run |
885 |
. endif |
885 |
. endif |
886 |
. endif # ${USE_KDE:M${component}_*} != "" && ${USE_KDE:M${component}} == "" |
886 |
. endif # ${USE_KDE:M${component}_*} != "" && ${USE_KDE:M${component}} == "" |