summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-08-12 03:16:51 +0000
committertaca <taca@pkgsrc.org>2012-08-12 03:16:51 +0000
commit29e2e7f892b70904b6acc41b8259e905a6aed0e2 (patch)
treeeaec70de7a5a5149a4411d514010bc191efed5ac /www
parent0954acef0693f9763f477e3f3c053471c76a877c (diff)
downloadpkgsrc-29e2e7f892b70904b6acc41b8259e905a6aed0e2.tar.gz
* Reflect changes on www.contao.org.
* Utilize contao/options.translations.mk. No functional change.
Diffstat (limited to 'www')
-rw-r--r--www/contao/options.translations.mk4
-rw-r--r--www/contao211-translations/options.mk21
2 files changed, 4 insertions, 21 deletions
diff --git a/www/contao/options.translations.mk b/www/contao/options.translations.mk
index 3e8846ac3d1..0165b26658f 100644
--- a/www/contao/options.translations.mk
+++ b/www/contao/options.translations.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.translations.mk,v 1.1 2011/08/12 12:46:42 taca Exp $
+# $NetBSD: options.translations.mk,v 1.2 2012/08/12 03:16:51 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.contao${CT_VERS}-translations
@@ -16,6 +16,6 @@ CT_LANGUAGES+= ${l:S/^lang-//1}
.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}/
+ http://www.contao.org/files/languages/${l}/
PLIST_SRC+= PLIST.${l}
.endfor
diff --git a/www/contao211-translations/options.mk b/www/contao211-translations/options.mk
index 021ae6d4d5c..50bdb1bb105 100644
--- a/www/contao211-translations/options.mk
+++ b/www/contao211-translations/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.17 2012/08/01 16:25:51 taca Exp $
+# $NetBSD: options.mk,v 1.18 2012/08/12 03:16:51 taca Exp $
# Not yet ready for Contao 2.11:
# af ar bs ca da gl gn hr id is ku
@@ -47,21 +47,4 @@ CT_TRANSLATIONS.tr= Contao-Turkish-v14.zip # 2011/03/24
CT_TRANSLATIONS.uk= Contao-Ukrainian-v17.zip # 2011/07/25
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
+.include "../../www/contao/options.translations.mk"