Lines 16-21
Link Here
|
16 |
# * foo_run Add a run-time dependency (RUN_DEPENDS) |
16 |
# * foo_run Add a run-time dependency (RUN_DEPENDS) |
17 |
# * foo (default) Add both dependencies on component <foo> |
17 |
# * foo (default) Add both dependencies on component <foo> |
18 |
# |
18 |
# |
|
|
19 |
# |
20 |
# To simplify the ports, also: |
21 |
# CATEGORIES If the port is part of one of the KDE Software distribution, |
22 |
# it can add, in addition to 'kde' one of the following: |
23 |
# kde-kde4: part of kde4 release |
24 |
# this will then set default values for MASTER_SITES and DIST_SUBDIR |
25 |
# as well as CPE_VENDOR and LICENSE. |
26 |
# |
19 |
# MAINTAINER: kde@FreeBSD.org |
27 |
# MAINTAINER: kde@FreeBSD.org |
20 |
|
28 |
|
21 |
.if !defined(_INCLUDE_USES_KDE_MK) |
29 |
.if !defined(_INCLUDE_USES_KDE_MK) |
Lines 72-77
Link Here
|
72 |
KDE_PREFIX= ${LOCALBASE} |
80 |
KDE_PREFIX= ${LOCALBASE} |
73 |
# ============================================================================== |
81 |
# ============================================================================== |
74 |
|
82 |
|
|
|
83 |
# === _KDE_DIST HANDLING -- SETTING DEFAULT VALUES ============================= |
84 |
# Doing MASTER_SITES magic based on the category of the port |
85 |
_KDE_CATEGORIES_SUPPORTED= kde-kde4 |
86 |
. for cat in ${_KDE_CATEGORIES_SUPPORTED} |
87 |
. if ${CATEGORIES:M${cat}} |
88 |
. if !defined(_KDE_CATEGORY) |
89 |
_KDE_CATEGORY= ${cat} |
90 |
. else |
91 |
IGNORE?= cannot be installed: multiple kde-<...> categories specified via CATEGORIES=${CATEGORIES} #' |
92 |
. endif |
93 |
. endif |
94 |
. endfor |
95 |
|
96 |
. if defined(_KDE_CATEGORY) |
97 |
# KDE is normally licencensed LGPL 2.0. |
98 |
LICENSE?= LGPL20 |
99 |
|
100 |
# Set CPE Vendor Information |
101 |
# As KDE_DIST is set we can assume it is port release by KDE and the vendor |
102 |
# is therefore kde. |
103 |
CPE_VENDOR?= kde |
104 |
|
105 |
. if ${_KDE_CATEGORY:Mkde-kde4} |
106 |
PORTVERSION?= ${KDE4_VERSION} |
107 |
MASTER_SITES?= KDE/${KDE4_BRANCH}/${KDE4_VERSION}/src |
108 |
DIST_SUBDIR?= KDE/${KDE4_VERSION} |
109 |
. else |
110 |
IGNORE?= unknown CATEGORY value '${_KDE_CATEGORY}' #' |
111 |
. endif |
112 |
. endif #defined(_KDE_CATEGORY) |
113 |
# ============================================================================== |
114 |
|
75 |
# ==== SETUP CMAKE ENVIRONMENT ================================================= |
115 |
# ==== SETUP CMAKE ENVIRONMENT ================================================= |
76 |
# Help cmake to find files when testing ports with non-default PREFIX. |
116 |
# Help cmake to find files when testing ports with non-default PREFIX. |
77 |
CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE}" |
117 |
CMAKE_ARGS+= -DCMAKE_PREFIX_PATH="${LOCALBASE}" |