blob: 4aa63df0ab1d2c6db8b9c7fae05c920ef47551d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.18 2020/08/29 18:45:22 nia Exp $
FIREFOX_VER= 68.12.0esr
PKGNAME= firefox68-l10n-${FIREFOX_VER:S/esr//}
DISTNAME= # empty
CATEGORIES= www
#MASTER_SITES= ${MASTER_SITE_MOZILLA_ALL:=firefox/releases/${FIREFOX_VER}/linux-i686/xpi/}
MASTER_SITES= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/linux-i686/xpi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.mozilla.com/en-US/firefox/
COMMENT= Language packs for www/firefox (version ${PKGVERSION_NOREV:C/\..*//})
SUPERSEDES+= firefox60-l10n-[0-9]*
DEPENDS+= firefox68>=${PKGVERSION_NOREV}:../../www/firefox68
DIST_SUBDIR= ${PKGNAME_NOREV}
DISTFILES= ${XPI_FILES}
NO_BUILD= yes
INSTALLATION_DIRS= lib/firefox68/browser/extensions
FIREFOX_LOCALES= ach af an ar ast az be bg bn br bs ca cak \
cs cy da de dsb el en-CA en-GB en-US eo es-AR \
es-CL es-ES \
es-MX et eu fa ff fi fr fy-NL ga-IE gd gl gn gu-IN \
he hi-IN hr hsb hu hy-AM ia id is it ja ka kab kk km kn \
ko \
lij lt lv mk mr ms my nb-NO ne-NP nl nn-NO oc \
pa-IN pl \
pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta te th \
tr uk uz vi xh zh-CN zh-TW
EXTENSIONS_DIR= ${PREFIX}/lib/firefox68/browser/extensions
XPI_FILES= ${FIREFOX_LOCALES:=.xpi}
do-install:
.for f in ${FIREFOX_LOCALES}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f}.xpi \
${DESTDIR}${EXTENSIONS_DIR}/langpack-${f}@firefox.mozilla.org.xpi
.endfor
.include "../../mk/bsd.pkg.mk"
|