summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-10-29 01:09:26 -0400
committerTim Harder <radhermit@gentoo.org>2016-10-29 01:09:26 -0400
commita504986abe1633b94442e60f1d95fc8a16615918 (patch)
tree42127ccef217f0de249bfb32ad22492640dd4c13 /media-gfx/gmic
parentmedia-gfx/gmic: fix phase ordering (diff)
downloadgentoo-a504986abe1633b94442e60f1d95fc8a16615918.tar.gz
gentoo-a504986abe1633b94442e60f1d95fc8a16615918.tar.bz2
gentoo-a504986abe1633b94442e60f1d95fc8a16615918.zip
media-gfx/gmic: only install man page if cli interface is installed
Diffstat (limited to 'media-gfx/gmic')
-rw-r--r--media-gfx/gmic/gmic-1.7.8.ebuild8
1 files 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 a15978b80a11..d680021c527d 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
}