dev-scheme/chicken: tidy up ebuild.
authorPatrice Clement <monsieurp@gentoo.org>
Wed, 5 Oct 2016 07:56:43 +0000 (09:56 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 5 Oct 2016 07:57:02 +0000 (09:57 +0200)
Package-Manager: portage-2.3.0

dev-scheme/chicken/chicken-4.10.0-r1.ebuild

index 66d267584f7ebdd7b4cc4b89bb1c688d27048470..7144653adc1f03727d199b1781d93d1d2e2e4515 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI=5
 
 inherit eutils multilib versionator
 
@@ -17,10 +17,14 @@ KEYWORDS="alpha amd64 ppc ppc64 x86"
 IUSE="emacs doc"
 DOCS=( NEWS README LICENSE )
 
-DEPEND="sys-apps/texinfo
-               emacs? ( virtual/emacs )"
-RDEPEND="emacs? ( virtual/emacs
-               app-emacs/scheme-complete )"
+DEPEND="
+       sys-apps/texinfo
+       emacs? ( virtual/emacs )"
+RDEPEND="
+       emacs? (
+               virtual/emacs
+               app-emacs/scheme-complete
+       )"
 
 src_prepare() {
        #Because chicken's Upstream is in the habit of using variables that
@@ -34,8 +38,7 @@ src_prepare() {
                -i defaults.make || die
 
        # remove HTML documentation if the user doesn't USE=doc
-       if ! use "doc"
-       then
+       if ! use "doc"; then
                rm -rf manual-html || die
        fi
 }
@@ -59,9 +62,7 @@ src_install() {
 
        dodoc ${DOCS}
 
-       if use "doc"
-       then
+       if use "doc"; then
                dodoc -r manual-html
        fi
-
 }