summaryrefslogtreecommitdiff
path: root/www/contao29-translations/options.mk
blob: ee9eecb8b0676d3e60fbeac84a49988da1e4c6fa (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
# $NetBSD: options.mk,v 1.4 2010/07/28 16:30:46 taca Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.contao-translations

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

CT_TRANSLATIONS.af=	TYPOlight-Afrikaans-v1.zip	# 2008/01/15
CT_TRANSLATIONS.bg=	TYPOlight-Bulgarian-v18.zip	# 2010/02/18
CT_TRANSLATIONS.bs=	TYPOlight-Bosnian-v10.zip	# 2010/03/18
CT_TRANSLATIONS.ca=	TYPOlight-Catalan-v4.zip	# 2008/09/24
CT_TRANSLATIONS.cs=	TYPOlight-Czech-v24.zip		# 2010/07/08
CT_TRANSLATIONS.da=	TYPOlight-Danish-v11.zip	# 2010/07/26
CT_TRANSLATIONS.es=	TYPOlight-Spanish-v14.zip	# 2010/06/10
CT_TRANSLATIONS.fa=	TYPOlight-Persian-v5.zip	# 2010/07/06
CT_TRANSLATIONS.fi=	TYPOlight-Finnish-v1.zip	# 2009/11/03
CT_TRANSLATIONS.fr=	TYPOlight-French-v57.zip	# 2010/07/19
CT_TRANSLATIONS.gl=	TYPOlight-Galician-v3.zip	# 2010/03/26
CT_TRANSLATIONS.gn=	TYPOlight-Guarani-v1.zip	# 2010/07/14
CT_TRANSLATIONS.hr=	TYPOlight-Croatian-v9.zip	# 2010/07/20
CT_TRANSLATIONS.hu=	TYPOlight-Hungarian-v5.zip	# 2010/07/19
CT_TRANSLATIONS.id=	TYPOlight-Indonesian-v1.zip	# 2009/01/13
CT_TRANSLATIONS.is=	TYPOlight-Icelandic-v5.zip	# 2010/02/10
CT_TRANSLATIONS.it=	TYPOlight-Italian-v24.zip	# 2010/07/02
CT_TRANSLATIONS.ja=	TYPOlight-Japanese-v33.zip	# 2010/07/19
CT_TRANSLATIONS.lt=	TYPOlight-Lithuanian-v4.zip	# 2010/04/14
CT_TRANSLATIONS.lv=	TYPOlight-Latvian-v25.zip	# 2010/07/15
CT_TRANSLATIONS.nl=	TYPOlight-Dutch-v46.zip		# 2010/07/26
CT_TRANSLATIONS.no=	TYPOlight-Norwegian-v11.zip	# 2009/11/16
CT_TRANSLATIONS.pl=	TYPOlight-Polish-v28.zip	# 2010/07/02
CT_TRANSLATIONS.pt=	TYPOlight-Portuguese-v7.zip	# 2009/11/01
CT_TRANSLATIONS.ro=	TYPOlight-Romanian-v10.zip	# 2009/07/02
CT_TRANSLATIONS.ru=	TYPOlight-Russian-v34.zip	# 2010/07/06
CT_TRANSLATIONS.sk=	TYPOlight-Slovak-v8.zip		# 2009/08/15
CT_TRANSLATIONS.sl=	TYPOlight-Slovenian-v7.zip	# 2010/07/15
CT_TRANSLATIONS.sq=	TYPOlight-Albanian-v4.zip	# 2008/12/14
CT_TRANSLATIONS.sr=	TYPOlight-Serbian-v7.zip	# 2010/05/10
CT_TRANSLATIONS.sv=	TYPOlight-Swedish-v52.zip	# 2010/07/19
CT_TRANSLATIONS.th=	TYPOlight-Thai-v2.zip		# 2008/11/23
CT_TRANSLATIONS.tl=	TYPOlight-Tagalog-v1.zip	# 2010/01/29
CT_TRANSLATIONS.tr=	TYPOlight-Turkish-v11.zip	# 2010/06/14
CT_TRANSLATIONS.uk=	TYPOlight-Ukrainian-v14.zip	# 2010/07/02
CT_TRANSLATIONS.zh=	TYPOlight-Chinese-v20.zip	# 2010/01/29

.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}/
PLIST_SRC+=	PLIST.${l}
.endfor