commit:     a504986abe1633b94442e60f1d95fc8a16615918
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 05:09:26 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 05:09:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a504986a

media-gfx/gmic: only install man page if cli interface is installed

 media-gfx/gmic/gmic-1.7.8.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/media-gfx/gmic/gmic-1.7.8.ebuild b/media-gfx/gmic/gmic-1.7.8.ebuild
index a15978b..d680021c 100644
--- a/media-gfx/gmic/gmic-1.7.8.ebuild
+++ b/media-gfx/gmic/gmic-1.7.8.ebuild
@@ -83,8 +83,10 @@ src_configure() {
 
 src_install() {
        cmake-utils_src_install
-
        dodoc README
-       doman man/${PN}.1
-       use cli && newbashcomp resources/${PN}_bashcompletion.sh ${PN}
+
+       if use cli; then
+               doman man/${PN}.1
+               newbashcomp resources/${PN}_bashcompletion.sh ${PN}
+       fi
 }

Reply via email to