diff options
author | Alex Dupre <ale@FreeBSD.org> | 2011-08-18 10:02:33 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2011-08-18 10:02:33 +0000 |
commit | 1628ff46a7cdf516519e6725bbd8a6a9e584bbda (patch) | |
tree | 9842a0872b22105c034c5281b4691db7adb8f98c /www/firefox-i18n | |
parent | 87b5e43a927f564afb64630c9304ec658c9af7e8 (diff) |
Make it fully working and restrict to correct port.
Approved by: flo
Notes
Notes:
svn path=/head/; revision=279960
Diffstat (limited to 'www/firefox-i18n')
-rw-r--r-- | www/firefox-i18n/Makefile | 9 | ||||
-rw-r--r-- | www/firefox-i18n/pkg-descr | 2 |
2 files changed, 7 insertions, 4 deletions
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/ |