summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2010-05-18 05:43:33 +0000
committerDima Panov <fluffy@FreeBSD.org>2010-05-18 05:43:33 +0000
commita2919875df6429f5368720db615f2a1ae1b6be46 (patch)
treedcb4d6558f3618fa506b23a14fe2e17307b3b00b /misc
parent- www/apache22 depends on devel/apr1 (diff)
- Fix handling of ca@valencia l10n package
Noticed by: QAT
Notes
Notes: svn path=/head/; revision=254542
Diffstat (limited to 'misc')
-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