if use text; then
docinto text
dodoc "${S}"/text/*
rm -r "${S}"/text
#rm -r "${S}"/text
fi
insinto /usr/share/doc/${PF}
doins -r "${S}"/*