aboutsummaryrefslogtreecommitdiff
path: root/mail/thunderbird-esr-i18n/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird-esr-i18n/Makefile')
-rw-r--r--mail/thunderbird-esr-i18n/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/thunderbird-esr-i18n/Makefile b/mail/thunderbird-esr-i18n/Makefile
index 620fdfe7a311..c5984ee0d10f 100644
--- a/mail/thunderbird-esr-i18n/Makefile
+++ b/mail/thunderbird-esr-i18n/Makefile
@@ -7,6 +7,7 @@
PORTNAME= thunderbird-i18n
PORTVERSION= 6.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITE_SUBDIR= thunderbird/releases/${PORTVERSION}/linux-i686/xpi
PKGNAMEPREFIX=
@@ -24,7 +25,7 @@ RUN_DEPENDS+= xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-swit
NO_BUILD= yes
USE_THUNDERBIRD= yes
-USE_XPI= *thunderbird
+USE_XPI= thunderbird
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 \
@@ -58,8 +59,10 @@ do-extract:
then \
exit 1; \
fi; \
- cd ${WRKSRC}/langpack-$$lang@thunderbird.mozilla.org/chrome; \
- ${LOCALBASE}/bin/zip -r $$lang.jar $$lang; \
+ cd ${WRKSRC}/langpack-$$lang@thunderbird.mozilla.org/chrome/$$lang; \
+ ${LOCALBASE}/bin/zip -r ../$$lang.jar locale; \
+ cd ..; ${RM} -rf $$lang; cd ..; \
+ ${REINPLACE_CMD} -i "" "s,chrome/$$lang,jar:chrome/$$lang.jar!," chrome.manifest; \
done
do-install: