mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Fix handling of ca@valencia l10n package
Noticed by: QAT
This commit is contained in:
parent
ec66978730
commit
a2919875df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254542
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= kde-l10n
|
||||
PORTVERSION= ${KDE4_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc kde
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
@ -19,13 +20,13 @@ NO_BUILD= yes
|
||||
# NO_INSTALL= yes
|
||||
USE_KDE4= kdeprefix
|
||||
|
||||
KDE4_LANG_ALL= ar bg ca ca_valencia cs csb da de el en_GB es et eu fi fr \
|
||||
KDE4_LANG_ALL= ar bg ca ca@valencia cs csb da de el en_GB es et eu fi fr \
|
||||
fy ga gl gu he hi hr hu is id it ja kk km kn ko lt lv \
|
||||
mai mk ml nb nds nl nn pa pl pt pt_BR ro ru \
|
||||
si sk sl sr sv tg tr uk wa zh_CN zh_TW
|
||||
|
||||
ar_PORT= arabic/kde4-l10n
|
||||
ca_valencia_PORT= misc/kde4-l10n-ca_valencia
|
||||
ca@valencia_PORT= misc/kde4-l10n-ca_valencia
|
||||
de_PORT= german/kde4-l10n
|
||||
fr_PORT= french/kde4-l10n
|
||||
he_PORT= hebrew/kde4-l10n
|
||||
@ -42,12 +43,6 @@ zh_TW_PORT= chinese/kde4-l10n-zh_TW
|
||||
|
||||
.include <${.CURDIR}/files/kde4-lang-names>
|
||||
|
||||
.for lang in ${KDE4_LANG_ALL}
|
||||
${lang}_DETECT?= ${KDE4_PREFIX}/share/locale/${lang}/entry.desktop
|
||||
${lang}_PORT?= misc/kde4-l10n-${lang}
|
||||
${lang}_NAME?= ${lang}
|
||||
.endfor
|
||||
|
||||
OPTIONS= ALL "All localizations" on
|
||||
.for lang in ${KDE4_LANG_ALL}
|
||||
OPTIONS+= ${lang} "${${lang}_NAME} localization" off
|
||||
@ -55,6 +50,12 @@ OPTIONS+= ${lang} "${${lang}_NAME} localization" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.for lang in ${KDE4_LANG_ALL}
|
||||
${lang}_DETECT?= ${KDE4_PREFIX}/share/locale/${lang}/entry.desktop
|
||||
${lang}_PORT?= misc/kde4-l10n-${lang}
|
||||
${lang}_NAME?= ${lang}
|
||||
.endfor
|
||||
|
||||
.for lang in ${KDE4_LANG_ALL}
|
||||
.if defined(WITH_ALL) || defined(WITH_${lang})
|
||||
RUN_DEPENDS+= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT}
|
||||
|
Loading…
Reference in New Issue
Block a user