summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2017-12-15 02:52:54 +0700
committerAndrey Grozin <grozin@gentoo.org>2017-12-15 02:52:54 +0700
commit2b727a97843125efd5bf995ec2bf98307301ebf7 (patch)
tree025ab34afea4867cd4e9d47f1442e9067679428c /dev-libs/libunibreak
parentsys-apps/iproute2: stable 4.14.1-r1 for ia64, bug #639536 (diff)
downloadgentoo-2b727a97843125efd5bf995ec2bf98307301ebf7.tar.gz
gentoo-2b727a97843125efd5bf995ec2bf98307301ebf7.tar.bz2
gentoo-2b727a97843125efd5bf995ec2bf98307301ebf7.zip
dev-libs/libunibreak: remove unwanted mans
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'dev-libs/libunibreak')
-rw-r--r--dev-libs/libunibreak/libunibreak-4.0.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-libs/libunibreak/libunibreak-4.0.ebuild b/dev-libs/libunibreak/libunibreak-4.0.ebuild
index 79b94f2d7719..ec0bccd245fe 100644
--- a/dev-libs/libunibreak/libunibreak-4.0.ebuild
+++ b/dev-libs/libunibreak/libunibreak-4.0.ebuild
@@ -32,6 +32,14 @@ src_compile() {
default
if use man; then
doxygen || die 'doxygen failed'
+ pushd "${S}"/doc/man > /dev/null
+ mv man3 x || die
+ mkdir man3 || die
+ for h in graphemebreak linebreak linebreakdef unibreakbase unibreakdef wordbreak; do
+ mv x/${h}.h.3 man3/ || die "man ${h} not found"
+ done
+ rm -rf x || die
+ popd > /dev/null
fi
}
@@ -41,7 +49,5 @@ src_install() {
find "${D}" -name '*.la' -delete || die
if use man; then
doman doc/man/man3/*.3
- PREFIX=`echo "${WORKDIR}" | sed -e 's|/|_|g'`
- rm "${D}usr/share/man/man3/${PREFIX}_${P}_src_.3"* || die 'rm man failed'
fi
}