summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-27 12:08:05 +0100
committerJustin Lecher <jlec@gentoo.org>2015-10-27 12:11:11 +0100
commitc930063a72fdb869c1f52c83982996604e631271 (patch)
treea9371efeadbdf7bb1858b549f49845b2cfb8fd8c /app-text/djvu/djvu-3.5.27.ebuild
parentsci-chemistry/mustang: Version Bump (diff)
downloadgentoo-c930063a72fdb869c1f52c83982996604e631271.tar.gz
gentoo-c930063a72fdb869c1f52c83982996604e631271.tar.bz2
gentoo-c930063a72fdb869c1f52c83982996604e631271.zip
app-text/djvu: Use optfeature
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'app-text/djvu/djvu-3.5.27.ebuild')
-rw-r--r--app-text/djvu/djvu-3.5.27.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-text/djvu/djvu-3.5.27.ebuild b/app-text/djvu/djvu-3.5.27.ebuild
index be1c6c35e06d..1322b75fda9e 100644
--- a/app-text/djvu/djvu-3.5.27.ebuild
+++ b/app-text/djvu/djvu-3.5.27.ebuild
@@ -3,6 +3,7 @@
# $Id$
EAPI=5
+
inherit eutils fdo-mime flag-o-matic
MY_P="${PN}libre-${PV#*_p}"
@@ -54,9 +55,8 @@ src_install() {
pkg_postinst() {
fdo-mime_mime_database_update
- if ! has_version app-text/djview; then
- elog "For djviewer or browser plugin, emerge app-text/djview."
- fi
+ has_version app-text/djview || \
+ optfeature "For djviewer or browser plugin" app-text/djview
}
pkg_postrm() {