pkgsrc/www/contao/options.translations.mk

21 lines
561 B
Makefile

# $NetBSD: options.translations.mk,v 1.1 2011/08/12 12:46:42 taca Exp $
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}/
PLIST_SRC+= PLIST.${l}
.endfor