1 |
commit: a504986abe1633b94442e60f1d95fc8a16615918 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 29 05:09:26 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 29 05:09:26 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a504986a |
7 |
|
8 |
media-gfx/gmic: only install man page if cli interface is installed |
9 |
|
10 |
media-gfx/gmic/gmic-1.7.8.ebuild | 8 +++++--- |
11 |
1 file changed, 5 insertions(+), 3 deletions(-) |
12 |
|
13 |
diff --git a/media-gfx/gmic/gmic-1.7.8.ebuild b/media-gfx/gmic/gmic-1.7.8.ebuild |
14 |
index a15978b..d680021c 100644 |
15 |
--- a/media-gfx/gmic/gmic-1.7.8.ebuild |
16 |
+++ b/media-gfx/gmic/gmic-1.7.8.ebuild |
17 |
@@ -83,8 +83,10 @@ src_configure() { |
18 |
|
19 |
src_install() { |
20 |
cmake-utils_src_install |
21 |
- |
22 |
dodoc README |
23 |
- doman man/${PN}.1 |
24 |
- use cli && newbashcomp resources/${PN}_bashcompletion.sh ${PN} |
25 |
+ |
26 |
+ if use cli; then |
27 |
+ doman man/${PN}.1 |
28 |
+ newbashcomp resources/${PN}_bashcompletion.sh ${PN} |
29 |
+ fi |
30 |
} |