summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-04-03 22:04:45 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-04-03 22:31:35 +0900
commit460ed17a4e7caf7368bbef9ca0b6fde8f9544dbc (patch)
treeda9cd1a7010cd3aa9db0216b493b195c11360a48 /www-client/w3m
parentwww-client/w3m: tidy (diff)
downloadgentoo-460ed17a4e7caf7368bbef9ca0b6fde8f9544dbc.tar.gz
gentoo-460ed17a4e7caf7368bbef9ca0b6fde8f9544dbc.tar.bz2
gentoo-460ed17a4e7caf7368bbef9ca0b6fde8f9544dbc.zip
www-client/w3m: add l10n_de USE flag
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'www-client/w3m')
-rw-r--r--www-client/w3m/w3m-0.5.3-r9.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/www-client/w3m/w3m-0.5.3-r9.ebuild b/www-client/w3m/w3m-0.5.3-r9.ebuild
index b308ff9c0ffc..a4a9eb180c89 100644
--- a/www-client/w3m/w3m-0.5.3-r9.ebuild
+++ b/www-client/w3m/w3m-0.5.3-r9.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/tats/${PN}/archive/v${PV}+${MY_REL}.tar.gz -> ${MY_P
LICENSE="w3m"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
-IUSE="X fbcon gpm gtk imlib l10n_ja libressl lynxkeymap nls nntp ssl unicode xface"
+IUSE="X fbcon gpm gtk imlib l10n_de l10n_ja libressl lynxkeymap nls nntp ssl unicode xface"
# We cannot build w3m with gtk+2 w/o X because gtk+2 ebuild doesn't
# allow us to build w/o X, so we have to give up framebuffer w3mimg....
@@ -111,6 +111,14 @@ src_install() {
newdoc Bonus/README.eng README.Bonus
docinto html/en
dodoc doc/*.html
+ if use l10n_de; then
+ docinto de
+ dodoc doc-de/README*
+ docinto html/de
+ dodoc doc-de/*.html
+ else
+ rm -rf "${ED}"/usr/share/man/de
+ fi
if use l10n_ja; then
docinto ja
dodoc doc-jp/{HISTORY,README,keymap,menu}*