games-simulation/lincity-ng: Install at least some documentation
authorJames Le Cuirot <chewi@gentoo.org>
Tue, 5 Mar 2019 23:06:29 +0000 (23:06 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Wed, 6 Mar 2019 22:35:09 +0000 (22:35 +0000)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-simulation/lincity-ng/lincity-ng-2.9_beta.ebuild

index 45efc9209306a684b7a514a48dbacf7c4e41c092..264541ba5b17a69c99fc9a2cb23cb05825aaff0e 100644 (file)
@@ -31,8 +31,9 @@ S="${WORKDIR}/${PN}-${P/_/-}"
 
 src_prepare() {
        default
-       sed -i "/COPYING COPYING-data.txt COPYING-fonts.txt CREDITS /d" \
-               Jamfile || die
+
+       # Missing CREDITS files actually breaks the install.
+       sed -i -r "s/\b(COPYING[^ ]*|CREDITS)\b//g" Jamfile || die
 
        # Can't use eautoreconf as it does weird jam stuff.
        autotools_run_tool ./autogen.sh