summaryrefslogtreecommitdiff
path: root/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild')
-rw-r--r--app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild b/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
index a0b09d5647aa..5f1a969db7bd 100644
--- a/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
+++ b/app-text/stardict/stardict-4.0.0_pre20170304-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -132,8 +132,9 @@ src_install() {
dodoc lib/{AUTHORS,ChangeLog,README}
if use examples; then
- insinto /usr/share/doc/${PF}/dict
- doins dict/doc/stardict-textual-dict*
+ docinto dict
+ dodoc dict/doc/stardict-textual-dict*
+ docompress -x /usr/share/doc/${PF}/dict
fi
if use qqwry; then
@@ -178,8 +179,9 @@ src_install() {
dodoc tools/{AUTHORS,ChangeLog,README}
if use examples; then
- insinto /usr/share/doc/${PF}/tools
- doins tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
+ docinto tools
+ dodoc tools/src/{dictbuilder.{example,readme},example.ifo,example_treedict.tar.bz2}
+ docompress -x /usr/share/doc/${PF}/tools
fi
fi
}