mail-client/neomutt: Fix documentation directory name
authorChristian Hagau <hagau@ibr.cs.tu-bs.de>
Fri, 24 Apr 2020 00:00:00 +0000 (00:00 +0000)
committerNicolas Bock <nicolasbock@gentoo.org>
Sat, 25 Apr 2020 13:20:52 +0000 (07:20 -0600)
NeoMutt has changed the name of the documentary directory from `doc`
to `docs`, see release notes:

https://github.com/neomutt/neomutt/releases/tag/20200417

Bug: https://bugs.gentoo.org/718650
Signed-off-by: Christian Hagau <ach@hagau.se>
Package-Manager: Portage-2.3.99-r2
Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
mail-client/neomutt/neomutt-20200417.ebuild

index d195e95a243eddf80f5010306d93533c2e095e2a..169bb2a3aa6b1ca49874bb94c18036acdf5e6f8e 100644 (file)
@@ -105,14 +105,14 @@ src_install() {
                        -e '/^\(CC_FOR_BUILD\|CFLAGS_FOR_BUILD\)\s*=/p' \
                        -e '/^\(EXTRA_CFLAGS_FOR_BUILD\|LDFLAGS_FOR_BUILD\)\s*=/p' \
                        -e '/^\(EXEEXT\|SRCDIR\)\s*=/p' \
-                       Makefile > doc/Makefile.fakedoc || die
+                       Makefile > docs/Makefile.fakedoc || die
                sed -n \
                        -e '/^MAKEDOC_CPP\s*=/,/^\s*$/p' \
-                       -e '/^doc\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \
-                       doc/Makefile.autosetup >> doc/Makefile.fakedoc || die
-               emake -f doc/Makefile.fakedoc doc/neomutt.1
-               emake -f doc/Makefile.fakedoc doc/neomuttrc.5
-               doman doc/neomutt.1 doc/neomuttrc.5
+                       -e '/^docs\/\(makedoc$(EXEEXT)\|neomutt\.1\|neomuttrc\.5\)\s*:/,/^\s*$/p' \
+                       docs/Makefile.autosetup >> docs/Makefile.fakedoc || die
+               emake -f docs/Makefile.fakedoc docs/neomutt.1
+               emake -f docs/Makefile.fakedoc docs/neomuttrc.5
+               doman docs/neomutt.1 docs/neomuttrc.5
        fi
 
        dodoc LICENSE* ChangeLog* README*