2011-10-03 17:25:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.51 2011/10/03 21:25:54 landry Exp $
|
2010-07-10 09:43:46 -04:00
|
|
|
|
|
|
|
# keep in sync with www/mozilla/mozilla.port.mk
|
Update to thunderbird-i18n 5.0.
A bunch of languages added (ar,br,en-US,et,fy-NL,gd,gl,is,rm,si,sq,ta-LK),
a bunch of languages removed (af,el,be,gu-IN,mk,zh-CN)..
Install the langpacks as plain xpi instead of unzipping them.
2011-07-24 03:13:01 -04:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386 powerpc
|
2007-05-01 08:43:17 -04:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
2006-07-02 12:32:35 -04:00
|
|
|
|
2011-10-03 17:25:54 -04:00
|
|
|
V= 7.0.1
|
2006-07-02 12:32:35 -04:00
|
|
|
NAME= thunderbird-i18n
|
2008-09-27 15:14:32 -04:00
|
|
|
PKGNAME= ${NAME}-${V}
|
2011-09-16 06:31:20 -04:00
|
|
|
REVISION = 0
|
2006-07-02 12:32:35 -04:00
|
|
|
|
|
|
|
CATEGORIES= mail
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.mozilla.org/projects/l10n/
|
|
|
|
|
2007-05-22 14:47:14 -04:00
|
|
|
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
|
2006-07-02 12:32:35 -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/thunderbird/releases/${V}/linux-i686/xpi/ \
|
|
|
|
ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${V}/linux-i686/xpi/
|
2006-07-02 12:32:35 -04:00
|
|
|
|
2011-08-23 16:21:13 -04:00
|
|
|
LANGUAGES= 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 pl \
|
Update to thunderbird-i18n 5.0.
A bunch of languages added (ar,br,en-US,et,fy-NL,gd,gl,is,rm,si,sq,ta-LK),
a bunch of languages removed (af,el,be,gu-IN,mk,zh-CN)..
Install the langpacks as plain xpi instead of unzipping them.
2011-07-24 03:13:01 -04:00
|
|
|
pt-BR pt-PT rm ru si sk sl sq sv-SE ta-LK tr uk zh-TW
|
2006-07-02 12:32:35 -04:00
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
BUILD_DEPENDS= archivers/unzip
|
2011-07-08 07:08:59 -04:00
|
|
|
RUN_DEPENDS= thunderbird-${V}:mail/mozilla-thunderbird
|
2006-07-02 12:32:35 -04:00
|
|
|
|
Update to thunderbird-i18n 5.0.
A bunch of languages added (ar,br,en-US,et,fy-NL,gd,gl,is,rm,si,sq,ta-LK),
a bunch of languages removed (af,el,be,gu-IN,mk,zh-CN)..
Install the langpacks as plain xpi instead of unzipping them.
2011-07-24 03:13:01 -04:00
|
|
|
DIST_SUBDIR= mozilla/${NAME}-${V}
|
2006-07-02 12:32:35 -04:00
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
Update to thunderbird-i18n 5.0.
A bunch of languages added (ar,br,en-US,et,fy-NL,gd,gl,is,rm,si,sq,ta-LK),
a bunch of languages removed (af,el,be,gu-IN,mk,zh-CN)..
Install the langpacks as plain xpi instead of unzipping them.
2011-07-24 03:13:01 -04:00
|
|
|
EXTRACT_ONLY=
|
2006-07-02 12:32:35 -04:00
|
|
|
|
2008-09-27 15:14:32 -04:00
|
|
|
# define one language for the main package
|
|
|
|
SUBPACKAGE?= -en-GB
|
2006-11-22 02:54:11 -05:00
|
|
|
|
2008-09-27 15:14:32 -04:00
|
|
|
.for i in ${LANGUAGES}
|
2006-07-02 12:32:35 -04:00
|
|
|
MULTI_PACKAGES+=-$i
|
|
|
|
DISTFILES+= $i.xpi
|
2007-07-26 13:49:15 -04:00
|
|
|
PKGNAME-$i= ${NAME}-$i-${V}
|
2006-07-02 12:32:35 -04:00
|
|
|
COMMENT-$i= $i language pack for Thunderbird
|
|
|
|
LPACKDIR-$i= ${PREFIX}/mozilla-thunderbird/extensions/langpack-$i@thunderbird.mozilla.org
|
|
|
|
.endfor
|
2009-01-09 10:45:41 -05:00
|
|
|
PKGNAME-en-GB= ${NAME}-en-GB-${V}
|
2006-07-02 12:32:35 -04:00
|
|
|
|
|
|
|
# use the same for all subpackages
|
|
|
|
MESSAGE= ${PKGDIR}/MESSAGE
|
Update to thunderbird-i18n 5.0.
A bunch of languages added (ar,br,en-US,et,fy-NL,gd,gl,is,rm,si,sq,ta-LK),
a bunch of languages removed (af,el,be,gu-IN,mk,zh-CN)..
Install the langpacks as plain xpi instead of unzipping them.
2011-07-24 03:13:01 -04:00
|
|
|
SUBST_VARS= V
|
2006-07-02 12:32:35 -04:00
|
|
|
|
|
|
|
do-install:
|
Update to thunderbird-i18n 5.0.
A bunch of languages added (ar,br,en-US,et,fy-NL,gd,gl,is,rm,si,sq,ta-LK),
a bunch of languages removed (af,el,be,gu-IN,mk,zh-CN)..
Install the langpacks as plain xpi instead of unzipping them.
2011-07-24 03:13:01 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/thunderbird-$V/extensions
|
2008-09-27 15:14:32 -04:00
|
|
|
.for i in ${LANGUAGES}
|
Update to thunderbird-i18n 5.0.
A bunch of languages added (ar,br,en-US,et,fy-NL,gd,gl,is,rm,si,sq,ta-LK),
a bunch of languages removed (af,el,be,gu-IN,mk,zh-CN)..
Install the langpacks as plain xpi instead of unzipping them.
2011-07-24 03:13:01 -04:00
|
|
|
${INSTALL_DATA} ${FULLDISTDIR}/$i.xpi ${PREFIX}/lib/thunderbird-$V/extensions/langpack-$i@thunderbird.mozilla.org.xpi
|
2006-07-02 12:32:35 -04:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|