aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2011-08-18 18:02:33 +0800
committerale <ale@FreeBSD.org>2011-08-18 18:02:33 +0800
commit72fd4bc88ed21bf98307c197aa10baceda1da1ae (patch)
tree599ca0d2c234029e86755d620dadbe18374b462d /mail
parentfb1971ae27a583095b1d55806c999a6b9d6d2689 (diff)
downloadfreebsd-ports-gnome-72fd4bc88ed21bf98307c197aa10baceda1da1ae.tar.gz
freebsd-ports-gnome-72fd4bc88ed21bf98307c197aa10baceda1da1ae.tar.zst
freebsd-ports-gnome-72fd4bc88ed21bf98307c197aa10baceda1da1ae.zip
Make it fully working and restrict to correct port.
Approved by: flo
Diffstat (limited to 'mail')
-rw-r--r--mail/thunderbird-esr-i18n/Makefile9
-rw-r--r--mail/thunderbird-i18n/Makefile9
2 files changed, 12 insertions, 6 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:
diff --git a/mail/thunderbird-i18n/Makefile b/mail/thunderbird-i18n/Makefile
index 620fdfe7a311..c5984ee0d10f 100644
--- a/mail/thunderbird-i18n/Makefile
+++ b/mail/thunderbird-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: