aboutsummaryrefslogtreecommitdiffstats
path: root/misc/kde4-l10n
diff options
context:
space:
mode:
authorfluffy <fluffy@FreeBSD.org>2010-05-18 13:43:33 +0800
committerfluffy <fluffy@FreeBSD.org>2010-05-18 13:43:33 +0800
commite856a0b39105ead38c4af1c5a152564476ea8968 (patch)
tree46dad19b98a473a1c71e03d39d2dae31f150c3c0 /misc/kde4-l10n
parentd43803afd1e9407e559bc0f2b25267bf22516788 (diff)
downloadfreebsd-ports-gnome-e856a0b39105ead38c4af1c5a152564476ea8968.tar.gz
freebsd-ports-gnome-e856a0b39105ead38c4af1c5a152564476ea8968.tar.zst
freebsd-ports-gnome-e856a0b39105ead38c4af1c5a152564476ea8968.zip
- Fix handling of ca@valencia l10n package
Noticed by: QAT
Diffstat (limited to 'misc/kde4-l10n')
-rw-r--r--misc/kde4-l10n/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/misc/kde4-l10n/Makefile b/misc/kde4-l10n/Makefile
index 5cacb236c35f..d5d0794cf6dc 100644
--- a/misc/kde4-l10n/Makefile
+++ b/misc/kde4-l10n/Makefile
@@ -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
@@ -56,6 +51,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}
.endif