summaryrefslogtreecommitdiff
path: root/www/firefox36-l10n/Makefile
blob: 67c55289b498b0fd67deb678a674d2e90e5fb7d7 (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
# $NetBSD: Makefile,v 1.13 2018/11/22 12:48:49 ryoon Exp $
#

FIREFOX_VER=	3.6.28
PKGNAME=	firefox36-l10n-${FIREFOX_VER}
DISTNAME=	# empty
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/linux-i686/xpi/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.mozilla.com/en-US/firefox/
COMMENT=	Language packs for www/firefox36 (version 3.6.x)

DIST_SUBDIR=	${PKGNAME_NOREV}
DISTFILES=	${XPI_FILES}

NO_BUILD=	yes

FIREFOX_LOCALES=	af ar as ast be bg bn-BD bn-IN ca cs cy		\
			da de el en-GB 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 id is it ja ka kk kn ko			\
			ku lt lv mk ml mr nb-NO nl nn-NO oc		\
			or pa-IN pl pt-BR pt-PT rm ro ru si sk		\
			sl sq sr sv-SE ta-LK ta te th tr uk		\
			vi zh-CN zh-TW

EXTENSIONS_DIR=		${PREFIX}/lib/firefox36/extensions
XPI_FILES=		${FIREFOX_LOCALES:=.xpi}

# remove head of 3 empty lines
SUBST_CLASSES+=		chop
SUBST_STAGE.chop=	post-configure
SUBST_FILES.chop=	ta-LK/install.rdf
SUBST_SED.chop=		-e '1,3d'

.include "../../www/firefox52/xpi.mk"
.include "../../mk/bsd.pkg.mk"