aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice-i18n
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 08:47:41 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 08:47:41 +0000
commited2c204738a427b6e006729932c896793a65d932 (patch)
treec9f8da0a12cfc93b8b93cf219bf64fc13eae92b7 /editors/libreoffice-i18n
parent3f57d1f0b9aa8bf6b9160032652271656123d51c (diff)
downloadports-ed2c204738a427b6e006729932c896793a65d932.tar.gz
ports-ed2c204738a427b6e006729932c896793a65d932.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=297863
Diffstat (limited to 'editors/libreoffice-i18n')
-rw-r--r--editors/libreoffice-i18n/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/libreoffice-i18n/Makefile b/editors/libreoffice-i18n/Makefile
index 74259598a194..f7201567bf37 100644
--- a/editors/libreoffice-i18n/Makefile
+++ b/editors/libreoffice-i18n/Makefile
@@ -38,14 +38,16 @@ zh_CN_PORT= chinese/${PORTNAME}-zh_CN
zh_TW_PORT= chinese/${PORTNAME}-zh_TW
vi_PORT= vietnamese/${PORTNAME}
-OPTIONS= ALL "All localizations" on
+OPTIONS_DEFINE= ALL
+ALL_DESC= All locatizations data
+OPTIONS_DEFAULT= ALL
.for lang in ${LO_LANG_ALL}
${lang}_DETECT?= ${PREFIX}/lib/${PORTNAME}/readmes/README_${lang:S/_/-/}
${lang}_PORT?= editors/${PORTNAME}-${lang}
${lang}_NAME?= ${lang}
-${lang}_OPTION= ${lang}
-OPTIONS+= ${${lang}_OPTION} "${${lang}_NAME} localization" off
+OPTIONS_DEFINE+= ${lang}
+${lang}_DESC= ${${lang}_NAME} localization data
.endfor
.include <bsd.port.options.mk>