summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2021-03-09 19:37:18 +0700
committerAndrey Grozin <grozin@gentoo.org>2021-03-09 19:37:18 +0700
commit38917c14689ecd6656b1d52555a70c1f0293c7bf (patch)
tree33774668e6bf169f65ee3d2af80584e0acc73680 /media-gfx/asymptote
parentsys-libs/glibc: remove dependency on virtual/tmpfiles (diff)
downloadgentoo-38917c14689ecd6656b1d52555a70c1f0293c7bf.tar.gz
gentoo-38917c14689ecd6656b1d52555a70c1f0293c7bf.tar.bz2
gentoo-38917c14689ecd6656b1d52555a70c1f0293c7bf.zip
media-gfx/asymptote: a minor ebuild improvement
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'media-gfx/asymptote')
-rw-r--r--media-gfx/asymptote/asymptote-2.69-r1.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/media-gfx/asymptote/asymptote-2.69-r1.ebuild b/media-gfx/asymptote/asymptote-2.69-r1.ebuild
index d28738382b1e..11723a29a480 100644
--- a/media-gfx/asymptote/asymptote-2.69-r1.ebuild
+++ b/media-gfx/asymptote/asymptote-2.69-r1.ebuild
@@ -170,8 +170,8 @@ src_install() {
# examples
if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins \
+ docinto examples
+ dodoc \
examples/*.asy \
examples/*.views \
examples/*.dat \
@@ -183,8 +183,8 @@ src_install() {
doc/*.dat \
doc/pixel.pdf \
doc/extra/*.asy
- insinto /usr/share/${PN}/examples/animations
- doins examples/animations/*.asy
+ docinto examples/animations
+ dodoc examples/animations/*.asy
fi
# LaTeX style
@@ -193,10 +193,10 @@ src_install() {
insinto "${TEXMF}"/tex/latex/${PN}
doins *.sty latexmkrc
if use examples; then
- insinto /usr/share/${PN}/examples
- doins latexusage.tex externalprc.tex
- insinto /usr/share/${PN}/examples/animations
- doins ../examples/animations/*.tex
+ docinto examples
+ dodoc latexusage.tex externalprc.tex
+ docinto examples/animations
+ dodoc ../examples/animations/*.tex
fi
cd .. || die
fi