aboutsummaryrefslogtreecommitdiffstats
path: root/www/seamonkey-i18n
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 /www/seamonkey-i18n
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 'www/seamonkey-i18n')
-rw-r--r--www/seamonkey-i18n/Makefile9
-rw-r--r--www/seamonkey-i18n/pkg-descr2
2 files changed, 7 insertions, 4 deletions
diff --git a/www/seamonkey-i18n/Makefile b/www/seamonkey-i18n/Makefile
index eab06e4ad5c0..435cdc18b6c0 100644
--- a/www/seamonkey-i18n/Makefile
+++ b/www/seamonkey-i18n/Makefile
@@ -7,6 +7,7 @@
PORTNAME= seamonkey-i18n
PORTVERSION= 2.3
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITE_SUBDIR= seamonkey/releases/${PORTVERSION}/langpack
PKGNAMEPREFIX=
@@ -19,7 +20,7 @@ COMMENT= Localized interface for SeaMonkey 2.3
EXTRACT_DEPENDS= zip:${PORTSDIR}/archivers/zip
USE_SEAMONKEY= yes
-USE_XPI= *seamonkey
+USE_XPI= seamonkey
USE_SUBMAKE= yes
@@ -55,8 +56,10 @@ do-extract:
then \
exit 1; \
fi; \
- cd ${WRKSRC}/langpack-$$lang@seamonkey.mozilla.org/chrome; \
- ${LOCALBASE}/bin/zip -r $$lang.jar $$lang; \
+ cd ${WRKSRC}/langpack-$$lang@seamonkey.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/www/seamonkey-i18n/pkg-descr b/www/seamonkey-i18n/pkg-descr
index 15681029c3b6..e433ceaec129 100644
--- a/www/seamonkey-i18n/pkg-descr
+++ b/www/seamonkey-i18n/pkg-descr
@@ -1,3 +1,3 @@
-Language packs for SeaMonkey 2.1
+Language packs for SeaMonkey
WWW: http://www.seamonkey-project.org/releases/#langpacks