landry 5779555926 Update to firefox 22.0.
- see http://www.mozilla.org/en-US/firefox/22.0/releasenotes/ (ok,
  webrtc isnt enabled yet by default on *BSD but we're working on it :)
- fixes MFSA 2013-49->62
- remove all patches related to sydneyaudio which got removed upstream,
  sound uses libcubeb which has a native sndio backend since ages (thx
to ratchov!). also remove related post-patch target while here.
- add temporary workaround (TERM=xterm) for bug #878089
- switch i386 to use clang again, using --disable-debug-symbols to make
  the code smaller (who said 'gross hack' ?)
- update patch-gfx_thebes_gfxPlatform_cpp to match what got commited
  upstream in r52b02042b27f
- remove patch-js_src_vm_SPSProfiler_cpp which unbroke powerpc, finally
  got commited in 22 branch
- rework fx-i18n's MESSAGE to be more in line with reality (discussed
  with Marcus Merighi)
2013-06-26 19:29:13 +00:00

59 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile.inc,v 1.25 2013/06/26 19:29:16 landry Exp $
# keep in sync with working archs.. sigh
ONLY_FOR_ARCHS = amd64 i386 powerpc
PKG_ARCH = *
FV = 22.0
V = ${FV:C/b.$//}
NAME = firefox-i18n
CATEGORIES = www
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/firefox/releases/${FV}/linux-i686/xpi/ \
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${FV}/linux-i686/xpi/ \
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${FV}/linux-i686/xpi/
LANGUAGES = af ak ar ast be bg bn-BD bn-IN br bs 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 nso \
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
BUILD_DEPENDS = archivers/unzip
RUN_DEPENDS = firefox-${FV:S/b/beta/}:www/mozilla-firefox
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 Firefox
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/firefox-$V/browser/extensions
${INSTALL_DATA} ${FULLDISTDIR}/$L.xpi ${PREFIX}/lib/firefox-$V/browser/extensions/langpack-$L@firefox.mozilla.org.xpi