diff options
author | makc <makc@FreeBSD.org> | 2010-07-23 05:02:08 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2010-07-23 05:02:08 +0800 |
commit | c33630be6302bb33022e8433d63480fe2df3dafd (patch) | |
tree | df32236478eeb935b3e6c8427da0a51e5674edfe /misc | |
parent | 37f1fd72d5e752f8a96852eb4a664efdda706489 (diff) | |
download | freebsd-ports-gnome-c33630be6302bb33022e8433d63480fe2df3dafd.tar.gz freebsd-ports-gnome-c33630be6302bb33022e8433d63480fe2df3dafd.tar.zst freebsd-ports-gnome-c33630be6302bb33022e8433d63480fe2df3dafd.zip |
Avoid use of @ and Unicode in options
PR: ports/148826
Reported by: Anatoly Borodin <anatoly.borodin at gmail.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/kde4-l10n/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/misc/kde4-l10n/Makefile b/misc/kde4-l10n/Makefile index d5d0794cf6dc..5f7c572a00ed 100644 --- a/misc/kde4-l10n/Makefile +++ b/misc/kde4-l10n/Makefile @@ -42,22 +42,21 @@ zh_CN_PORT= chinese/kde4-l10n-zh_CN zh_TW_PORT= chinese/kde4-l10n-zh_TW .include <${.CURDIR}/files/kde4-lang-names> +nb_NAME= Norwegian Bokmal OPTIONS= ALL "All localizations" on .for lang in ${KDE4_LANG_ALL} -OPTIONS+= ${lang} "${${lang}_NAME} localization" off -.endfor - -.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} +${lang}_OPTION= ${lang:S/@/_/} +OPTIONS+= ${${lang}_OPTION} "${${lang}_NAME} localization" off .endfor +.include <bsd.port.options.mk> + .for lang in ${KDE4_LANG_ALL} -.if defined(WITH_ALL) || defined(WITH_${lang}) +.if defined(WITH_ALL) || defined(WITH_${${lang}_OPTION}) RUN_DEPENDS+= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT} .endif .endfor @@ -65,4 +64,4 @@ RUN_DEPENDS+= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT} do-install: ${DO_NADA} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |