Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
cd "${S}/doc/generic/pgf" || die
dodoc AUTHORS ChangeLog README
if use doc; then
- insinto /usr/share/doc/${PF}/texdoc
+ docinto /usr/share/doc/${P}/texdoc
# pgfmanual is now split from the main tar archive
newdoc "${DISTDIR}/${P}-pgfmanual.pdf" pgfmanual.pdf
doins -r images macros text-en version-*
- dosym "/usr/share/doc/${PF}/texdoc" "${TEXMF}/doc/latex/${PN}"
- docompress -x "/usr/share/doc/${PF}/texdoc/"
+ dosym "${ED}/usr/share/doc/${P}/texdoc" "${TEXMF}/doc/latex/${PN}"
+ docompress -x "/usr/share/doc/${P}/texdoc/"
fi
}