summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bock <nicolasbock@gentoo.org>2017-12-27 05:40:19 -0700
committerNicolas Bock <nicolasbock@gentoo.org>2017-12-27 06:11:17 -0700
commitf87fe616ab11bfb005996763714c9617dad94a14 (patch)
treef6629ea4afe3e37e70149b26f2145100a284bc9e /mail-client
parentx11-libs/libgksu: remove old (diff)
downloadgentoo-f87fe616ab11bfb005996763714c9617dad94a14.tar.gz
gentoo-f87fe616ab11bfb005996763714c9617dad94a14.tar.bz2
gentoo-f87fe616ab11bfb005996763714c9617dad94a14.zip
mail-client/neomutt: Build man pages unconditionally
Man pages are built without additional dependencies. Closes: https://bugs.gentoo.org/641132 Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/neomutt/neomutt-20171215.ebuild15
1 files changed, 1 insertions, 14 deletions
diff --git a/mail-client/neomutt/neomutt-20171215.ebuild b/mail-client/neomutt/neomutt-20171215.ebuild
index 7b36a57de365..3741c7d074e7 100644
--- a/mail-client/neomutt/neomutt-20171215.ebuild
+++ b/mail-client/neomutt/neomutt-20171215.ebuild
@@ -98,21 +98,8 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install
-
- # A man-page is always handy, so fake one
- if use !doc; then
- emake -C doc neomuttrc.man
- # make the fake slightly better, bug #413405
- sed -e 's#@docdir@/manual.txt#http://www.neomutt.org/guide#' \
- -e 's#in @docdir@,#at http://www.neomutt.org/,#' \
- -e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \
- -e "s#@bindir@#${EPREFIX}/usr/bin#" \
- doc/neomutt.man > neomutt.1 || die
- cp doc/neomuttrc.man neomuttrc.5 || die
- doman neomutt.1 neomuttrc.5
- fi
-
dodoc COPYRIGHT LICENSE* ChangeLog* README*
+ doman doc/*.{1,5}
}
pkg_postinst() {