diff options
Diffstat (limited to 'sys-apps/man-pages/man-pages-6.0_rc1.ebuild')
-rw-r--r-- | sys-apps/man-pages/man-pages-6.0_rc1.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sys-apps/man-pages/man-pages-6.0_rc1.ebuild b/sys-apps/man-pages/man-pages-6.0_rc1.ebuild index 662077f8568b..ca09d48f31f6 100644 --- a/sys-apps/man-pages/man-pages-6.0_rc1.ebuild +++ b/sys-apps/man-pages/man-pages-6.0_rc1.ebuild @@ -31,8 +31,9 @@ SRC_URI+=" LICENSE="man-pages GPL-2+ BSD" SLOT="0" -IUSE_L10N=" de es fr it ja nl pl pt-BR ro ru zh-CN" -IUSE="${IUSE_L10N// / l10n_}" +# Keep the following in sync with app-i18n/man-pages-l10n +MY_L10N=( cs da de el es fi fr hu id it mk nb nl pl pt-BR ro sr sv uk vi ) +IUSE="l10n_ja l10n_ru l10n_zh-CN ${MY_L10N[@]/#/l10n_}" RESTRICT="binchecks" # Block packages that used to install colliding man pages: @@ -43,18 +44,14 @@ RDEPEND=" !<dev-libs/libbsd-0.8.3-r1 " PDEPEND=" - l10n_de? ( app-i18n/man-pages-l10n[l10n_de(-)] ) - l10n_es? ( app-i18n/man-pages-l10n[l10n_es(-)] ) - l10n_fr? ( app-i18n/man-pages-l10n[l10n_fr(-)] ) - l10n_it? ( app-i18n/man-pages-l10n[l10n_it(-)] ) l10n_ja? ( app-i18n/man-pages-ja ) - l10n_nl? ( app-i18n/man-pages-l10n[l10n_nl(-)] ) - l10n_pl? ( app-i18n/man-pages-l10n[l10n_pl(-)] ) - l10n_pt-BR? ( app-i18n/man-pages-l10n[l10n_pt-BR(-)] ) - l10n_ro? ( app-i18n/man-pages-l10n[l10n_ro(-)] ) l10n_ru? ( app-i18n/man-pages-ru ) l10n_zh-CN? ( app-i18n/man-pages-zh_CN ) " +for lang in "${MY_L10N[@]}"; do + PDEPEND+=" l10n_${lang}? ( app-i18n/man-pages-l10n[l10n_${lang}(-)] )" +done +unset lang src_unpack() { default |