diff options
Diffstat (limited to 'mail/thunderbird-i18n/Makefile')
-rw-r--r-- | mail/thunderbird-i18n/Makefile | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/mail/thunderbird-i18n/Makefile b/mail/thunderbird-i18n/Makefile index 8937b2353b00..07df4e6cea96 100644 --- a/mail/thunderbird-i18n/Makefile +++ b/mail/thunderbird-i18n/Makefile @@ -18,27 +18,20 @@ PLIST?= ${WRKDIR}/plist PLISTD?= ${WRKDIR}/plist_dirs PLISTF?= ${WRKDIR}/plist_files -.ifndef WITHOUT_SWITCHER -RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher -.endif - NO_BUILD= yes USE_THUNDERBIRD= 17 USE_XPI= thunderbird linux-thunderbird +USE_SUBMAKE= yes -THUNDERBIRD_I18N_ALL= ar br ca cs da de en-GB en-US es-AR es-ES et eu fi fr \ - fy-NL ga-IE gd gl he hu is it ja ko lt nb-NO nl nn-NO \ - pl pt-BR pt-PT rm ru si sk sl sq sv-SE ta-LK tr uk zh-TW +.include "${.CURDIR}/Makefile.option" +.include <bsd.port.pre.mk> -.ifdef PACKAGE_BUILDING -THUNDERBIRD_I18N?= all -.else -THUNDERBIRD_I18N?= es-ES pt-BR ru ja de fr ko it +.ifndef WITHOUT_SWITCHER +RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher .endif -.if ${THUNDERBIRD_I18N} == all -THUNDERBIRD_I18N_= ${THUNDERBIRD_I18N_ALL} -.endif +.include "${.CURDIR}/Makefile.lang" + THUNDERBIRD_I18N_?= ${THUNDERBIRD_I18N} WDIR= langpack-*@thunderbird.mozilla.org @@ -86,4 +79,4 @@ list-langs: perl -ne 'if(/.*href="([a-zA-Z-]+).xpi.*/){print "$$1 "}' .include "${.CURDIR}/../../www/xpi-adblock/Makefile.xpi" -.include <bsd.port.mk> +.include <bsd.port.post.mk> |