summaryrefslogtreecommitdiff
path: root/www/contao211-translations/options.mk
blob: bf32bbdd08f58a21e503e4decaf0bb08b3cbc39b (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# $NetBSD: options.mk,v 1.5 2012/03/12 15:43:13 taca Exp $

# Not yet ready for Contao 2.11:
#	af ar bs ca da es fi gl gn hr hu id is ku lt
#	no rm sk sl sr th tl tr uk zh
#
CT_SUPPORTED_LANGUAGES=	bg cs fa fr it ja lv nl pl pt ro ru sv

CT_TRANSLATIONS.af=	TYPOlight-Afrikaans-v1.zip	# 2008/01/15
CT_TRANSLATIONS.ar=	Contao-Arabic-v3.zip		# 2010/10/30
CT_TRANSLATIONS.bg=	Contao-Bulgarian-v24.zip	# 2012/02/29
CT_TRANSLATIONS.bs=	Contao-Bosnian-v15.zip		# 2010/09/12
CT_TRANSLATIONS.ca=	TYPOlight-Catalan-v4.zip	# 2008/09/24
CT_TRANSLATIONS.cs=	Contao-Czech-v47.zip		# 2012/03/10
CT_TRANSLATIONS.da=	Contao-Danish-v15.zip		# 2010/08/31
CT_TRANSLATIONS.es=	Contao-Spanish-v17.zip		# 2011/12/31
CT_TRANSLATIONS.fa=	Contao-Persian-v12.zip		# 2012/03/10
CT_TRANSLATIONS.fi=	Contao-Finnish-v8.zip		# 2012/01/03
CT_TRANSLATIONS.fr=	Contao-French-v80.zip		# 2012/03/09
CT_TRANSLATIONS.gl=	TYPOlight-Galician-v3.zip	# 2010/03/26
CT_TRANSLATIONS.gn=	Contao-Guarani-v6.zip		# 2011/09/18
CT_TRANSLATIONS.hr=	Contao-Croatian-v16.zip		# 2011/09/02
CT_TRANSLATIONS.hu=	Contao-Hungarian-v12.zip	# 2011/09/14
CT_TRANSLATIONS.id=	TYPOlight-Indonesian-v1.zip	# 2009/01/13
CT_TRANSLATIONS.is=	TYPOlight-Icelandic-v5.zip	# 2010/02/10
CT_TRANSLATIONS.it=	Contao-Italian-v31.zip		# 2012/03/09
CT_TRANSLATIONS.ja=	Contao-Japanese-v82.zip		# 2012/03/09
CT_TRANSLATIONS.ku=	Contao-Kurdish-v5.zip		# 2010/12/24
CT_TRANSLATIONS.lt=	Contao-Lithuanian-v8.zip	# 2010/11/20
CT_TRANSLATIONS.lv=	Contao-Latvian-v36.zip		# 2012/03/10
CT_TRANSLATIONS.nl=	Contao-Dutch-v58.zip		# 2012/02/16
CT_TRANSLATIONS.no=	TYPOlight-Norwegian-v11.zip	# 2009/11/16
CT_TRANSLATIONS.pl=	Contao-Polish-v32.zip		# 2012/02/17
CT_TRANSLATIONS.pt=	Contao-Portuguese-v12.zip	# 2012/02/16
CT_TRANSLATIONS.rm=	Contao-Rhaeto-Romance-v5.zip	# 2011/10/22
CT_TRANSLATIONS.ro=	Contao-Romanian-v14.zip		# 2012/02/18
CT_TRANSLATIONS.ru=	Contao-Russian-v46.zip		# 2012/02/25
CT_TRANSLATIONS.sk=	Contao-Slovak-v9.zip		# 2011/03/18
CT_TRANSLATIONS.sl=	Contao-Slovenian-v12.zip	# 2012/01/17
CT_TRANSLATIONS.sq=	Contao-Albanian-v7.zip		# 2012/02/16
CT_TRANSLATIONS.sr=	Contao-Serbian-v8.zip		# 2011/05/24
CT_TRANSLATIONS.sv=	Contao-Swedish-v64.zip		# 2012/03/10
CT_TRANSLATIONS.th=	TYPOlight-Thai-v2.zip		# 2008/11/23
CT_TRANSLATIONS.tl=	TYPOlight-Tagalog-v1.zip	# 2010/01/29
CT_TRANSLATIONS.tr=	Contao-Turkish-v14.zip		# 2011/03/24
CT_TRANSLATIONS.uk=	Contao-Ukrainian-v15.zip	# 2011/03/09
CT_TRANSLATIONS.zh=	TYPOlight-Chinese-v20.zip	# 2010/01/29

PKG_OPTIONS_VAR=	PKG_OPTIONS.contao${CT_VERS}-translations

.for l in ${CT_SUPPORTED_LANGUAGES}
PKG_SUPPORTED_OPTIONS+=	lang-${l}
PKG_SUGGESTED_OPTIONS+=	lang-${l}
.endfor

.include "../../mk/bsd.options.mk"

.for l in ${PKG_OPTIONS:Mlang-*}
CT_LANGUAGES+=	${l:S/^lang-//1}
.endfor

.for l in ${CT_LANGUAGES}
CT_DISTFILES+=	${CT_TRANSLATIONS.${l}}
SITES.${CT_TRANSLATIONS.${l}}= \
	http://www.contao.org/download.html?iso=${l}&file=tl_files/languages/${l}/
.endfor