2011-09-06 15:42:25 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.70 2011/09/06 19:42:25 landry Exp $
|
2010-07-10 09:43:46 -04:00
|
|
|
|
2011-06-28 01:44:38 -04:00
|
|
|
# keep in sync with working archs.. sigh
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc
|
2006-08-03 10:48:13 -04:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
2006-06-25 17:25:44 -04:00
|
|
|
|
2011-09-06 15:42:25 -04:00
|
|
|
V= 6.0.2
|
2006-06-25 17:25:44 -04:00
|
|
|
NAME= firefox-i18n
|
2008-09-27 15:14:32 -04:00
|
|
|
PKGNAME= ${NAME}-${V}
|
2006-06-25 17:25:44 -04:00
|
|
|
|
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.mozilla.org/projects/l10n/
|
|
|
|
|
2007-05-22 14:47:14 -04:00
|
|
|
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
|
2006-06-25 17:25:44 -04:00
|
|
|
|
|
|
|
# Mozilla public license
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-08-23 04:38:13 -04:00
|
|
|
MASTER_SITES= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${V}/linux-i686/xpi/ \
|
|
|
|
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${V}/linux-i686/xpi/
|
2006-06-25 17:25:44 -04:00
|
|
|
|
Update to firefox-i18n 4.0.
Langpacks are now directly installed as xpi files in firefox's
extensions/ subdir, no need to unzip them.
New langpacks: ast, br, en-US, en-ZA, gd, hy-AM, lg, mai, son, ta-LK and
zu. as, kk and oc are gone.
2011-03-30 17:42:38 -04:00
|
|
|
LANGUAGES= af ar ast be bg bn-BD bn-IN br ca cs cy da de el en-GB en-US en-ZA eo es-AR \
|
|
|
|
es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gd gl gu-IN he \
|
|
|
|
hi-IN hr hu hy-AM id \
|
|
|
|
is it ja kk kn ko ku lg lt lv mai mk ml mr nb-NO nl nn-NO \
|
|
|
|
or pa-IN pl pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE \
|
|
|
|
ta-LK ta te th tr uk vi zh-CN zh-TW zu
|
2006-06-25 17:25:44 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
BUILD_DEPENDS= archivers/unzip
|
2011-07-08 07:08:59 -04:00
|
|
|
RUN_DEPENDS= firefox-${V}:www/mozilla-firefox
|
2006-06-25 17:25:44 -04:00
|
|
|
|
2011-07-22 06:04:15 -04:00
|
|
|
DIST_SUBDIR= mozilla/${NAME}-${V}
|
2006-06-25 17:25:44 -04:00
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
Update to firefox-i18n 4.0.
Langpacks are now directly installed as xpi files in firefox's
extensions/ subdir, no need to unzip them.
New langpacks: ast, br, en-US, en-ZA, gd, hy-AM, lg, mai, son, ta-LK and
zu. as, kk and oc are gone.
2011-03-30 17:42:38 -04:00
|
|
|
EXTRACT_ONLY=
|
2006-06-25 17:25:44 -04:00
|
|
|
|
2008-09-27 15:14:32 -04:00
|
|
|
# define one language for the main package
|
|
|
|
SUBPACKAGE?= -en-GB
|
2006-11-22 02:40:24 -05:00
|
|
|
|
2008-09-27 15:14:32 -04:00
|
|
|
.for i in ${LANGUAGES}
|
2006-06-25 17:25:44 -04:00
|
|
|
MULTI_PACKAGES+=-$i
|
|
|
|
DISTFILES+= $i.xpi
|
2007-06-01 04:05:25 -04:00
|
|
|
PKGNAME-$i= ${NAME}-$i-${V}
|
2006-06-25 17:25:44 -04:00
|
|
|
COMMENT-$i= $i language pack for Firefox
|
Update to firefox-i18n 4.0.
Langpacks are now directly installed as xpi files in firefox's
extensions/ subdir, no need to unzip them.
New langpacks: ast, br, en-US, en-ZA, gd, hy-AM, lg, mai, son, ta-LK and
zu. as, kk and oc are gone.
2011-03-30 17:42:38 -04:00
|
|
|
LPACKDIR-$i= ${PREFIX}/lib/firefox-$V/extensions/langpack-$i@firefox.mozilla.org
|
2006-06-25 17:25:44 -04:00
|
|
|
.endfor
|
2008-11-20 19:00:28 -05:00
|
|
|
PKGNAME-en-GB= ${NAME}-en-GB-${V}
|
2006-06-25 17:25:44 -04:00
|
|
|
|
|
|
|
# use the same for all subpackages
|
|
|
|
MESSAGE= ${PKGDIR}/MESSAGE
|
Update to firefox-i18n 4.0.
Langpacks are now directly installed as xpi files in firefox's
extensions/ subdir, no need to unzip them.
New langpacks: ast, br, en-US, en-ZA, gd, hy-AM, lg, mai, son, ta-LK and
zu. as, kk and oc are gone.
2011-03-30 17:42:38 -04:00
|
|
|
SUBST_VARS= V
|
2006-06-25 17:25:44 -04:00
|
|
|
|
|
|
|
do-install:
|
Update to firefox-i18n 4.0.
Langpacks are now directly installed as xpi files in firefox's
extensions/ subdir, no need to unzip them.
New langpacks: ast, br, en-US, en-ZA, gd, hy-AM, lg, mai, son, ta-LK and
zu. as, kk and oc are gone.
2011-03-30 17:42:38 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/firefox-$V/extensions
|
2008-09-27 15:14:32 -04:00
|
|
|
.for i in ${LANGUAGES}
|
Update to firefox-i18n 4.0.
Langpacks are now directly installed as xpi files in firefox's
extensions/ subdir, no need to unzip them.
New langpacks: ast, br, en-US, en-ZA, gd, hy-AM, lg, mai, son, ta-LK and
zu. as, kk and oc are gone.
2011-03-30 17:42:38 -04:00
|
|
|
${INSTALL_DATA} ${FULLDISTDIR}/$i.xpi ${PREFIX}/lib/firefox-$V/extensions/langpack-$i@firefox.mozilla.org.xpi
|
2006-06-25 17:25:44 -04:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|