aboutsummaryrefslogtreecommitdiff
path: root/editors/calligra-l10n
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-02-05 11:36:39 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-02-05 11:36:39 +0000
commit617a653c25aedb0d737a611630cfdf8257df2fe0 (patch)
tree309f1c85d8b979eaa5ff9dae4a2ab6b3464b092c /editors/calligra-l10n
parent5106de5039c53a8436ca055a8e631674f0fca76e (diff)
downloadports-617a653c25aedb0d737a611630cfdf8257df2fe0.tar.gz
ports-617a653c25aedb0d737a611630cfdf8257df2fe0.zip
Notes
Diffstat (limited to 'editors/calligra-l10n')
-rw-r--r--editors/calligra-l10n/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/editors/calligra-l10n/Makefile b/editors/calligra-l10n/Makefile
index 92d28203fdef..3eb2779dd58c 100644
--- a/editors/calligra-l10n/Makefile
+++ b/editors/calligra-l10n/Makefile
@@ -33,19 +33,24 @@ zh_TW_PORT= chinese/calligra-l10n-zh_TW
.include "${.CURDIR}/../../misc/kde4-l10n/files/kde4-lang-names"
nb_NAME= Norwegian Bokmal
-OPTIONS= ALL "All localizations" on
+OPTIONS_DEFINE= ALL
+OPTIONS_DEFAULT=ALL
+
+ALL_DESC= All localizations
+
.for lang in ${CALLIGRA_LANG_ALL}
${lang}_DETECT?= ${KDE4_PREFIX}/share/locale/${lang}/LC_MESSAGES/calligra.mo
${lang}_PORT?= editors/calligra-l10n-${lang}
${lang}_NAME?= ${lang}
${lang}_OPTION= ${lang:S/@/_/}
-OPTIONS+= ${${lang}_OPTION} "${${lang}_NAME} localization" off
+OPTIONS_DEFINE+= ${${lang}_OPTION}
+${${lang}_OPTION}_DESC= ${${lang}_NAME} localization
.endfor
.include <bsd.port.options.mk>
.for lang in ${CALLIGRA_LANG_ALL}
-.if defined(WITH_ALL) || defined(WITH_${${lang}_OPTION})
+.if ${PORT_OPTIONS:MALL} || ${PORT_OPTIONS:M${${lang}_OPTION}}
RUN_DEPENDS+= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT}
.endif
.endfor