From 1628ff46a7cdf516519e6725bbd8a6a9e584bbda Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Thu, 18 Aug 2011 10:02:33 +0000 Subject: Make it fully working and restrict to correct port. Approved by: flo --- www/firefox-i18n/Makefile | 9 ++++++--- www/firefox-i18n/pkg-descr | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'www/firefox-i18n') diff --git a/www/firefox-i18n/Makefile b/www/firefox-i18n/Makefile index 5dbf167c4a99..eaa8f51c096d 100644 --- a/www/firefox-i18n/Makefile +++ b/www/firefox-i18n/Makefile @@ -7,6 +7,7 @@ PORTNAME= firefox-i18n PORTVERSION= 6.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITE_SUBDIR= firefox/releases/${PORTVERSION}/linux-i686/xpi PKGNAMEPREFIX= @@ -19,7 +20,7 @@ COMMENT= Localized interface for Firefox 5.0 EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip USE_FIREFOX= yes -USE_XPI= *firefox +USE_XPI= firefox USE_SUBMAKE= yes @@ -56,8 +57,10 @@ do-extract: then \ exit 1; \ fi; \ - cd ${WRKSRC}/langpack-$$lang@firefox.mozilla.org/chrome; \ - ${LOCALBASE}/bin/zip -r $$lang.jar $$lang; \ + cd ${WRKSRC}/langpack-$$lang@firefox.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 .if !exists(${OPTIONSFILE}) && !defined(PACKAGE_BUILDING) diff --git a/www/firefox-i18n/pkg-descr b/www/firefox-i18n/pkg-descr index a5c2aba789c3..21e5b0448665 100644 --- a/www/firefox-i18n/pkg-descr +++ b/www/firefox-i18n/pkg-descr @@ -1,3 +1,3 @@ -Language packs for Firefox 4.0 +Language packs for Firefox WWW: http://www.mozilla.org/projects/l10n/ -- cgit v1.2.3