landry 03a1782b5c Update to thunderbird 24.4.0.
- See http://www.mozilla.org/en-US/thunderbird/24.4.0/releasenotes/
- Fixes MFSA-2014-15->17,26->32
- Remove enigmail subpackage, build goo & patches, will be
  superseded by mail/enigmail,-main
- add an all-openbsd.js file to customize default preferences and
  install it in defaults/pref/. Use it to set
extensions.autoDisableScopes to 3, so that extensions installed in
${LOCALBASE}/lib/mozilla/extensions/${APPID} are enabled by default.
- remove patch-mailnews_base_search_src_nsMsgSearchTerm_cpp, merged in
  #885538
2014-03-24 21:23:28 +00:00

57 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile.inc,v 1.30 2014/03/24 21:23:29 landry Exp $
# keep in sync with www/mozilla/mozilla.port.mk
ONLY_FOR_ARCHS = amd64 i386 powerpc sparc64
PKG_ARCH = *
FV = 24.4.0
V = ${FV:C/b.$//}
NAME = thunderbird-i18n
CATEGORIES = mail
HOMEPAGE = https://wiki.mozilla.org/L10n:Home_Page
MAINTAINER = Landry Breuil <landry@openbsd.org>
# Mozilla public license
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${FV}/linux-i686/xpi/ \
http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${FV}/linux-i686/xpi/ \
ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${FV}/linux-i686/xpi/
LANGUAGES = ar be bg bn-BD br ca cs da de el en-GB en-US es-AR es-ES et eu \
fi fr fy-NL ga-IE gd gl he hu id is it ja ko lt nb-NO nl nn-NO \
pa-IN pl pt-BR pt-PT rm ro ru si sk sl sq sv-SE ta-LK tr uk vi \
zh-CN zh-TW
BUILD_DEPENDS = archivers/unzip
RUN_DEPENDS = thunderbird-${FV:S/b/beta/}:mail/mozilla-thunderbird
DIST_SUBDIR = mozilla/${NAME}-${FV}
NO_BUILD = Yes
NO_TEST = Yes
EXTRACT_ONLY =
.for i in ${LANGUAGES}
SUPDISTFILES += $i.xpi
.endfor
PKGNAME = ${NAME}-$L-${FV:S/b/beta/}
COMMENT = $L language pack for Thunderbird
DISTFILES = $L.xpi
# use the same for all subpackages
PKGDIR = ${.CURDIR}/../pkg
PLIST = ${PKGDIR}/PLIST
DESCR = ${PKGDIR}/DESCR
CHECKSUM_FILE = ${.CURDIR}/../distinfo
MESSAGE= ${PKGDIR}/MESSAGE
SUBST_VARS = V L
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/thunderbird-$V/extensions
${INSTALL_DATA} ${FULLDISTDIR}/$L.xpi ${PREFIX}/lib/thunderbird-$V/extensions/langpack-$L@thunderbird.mozilla.org.xpi