summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-10-05 09:56:43 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-10-05 09:57:02 +0200
commit989ebd5dcbd26380f452e970463e34102b9c9609 (patch)
treeda7f4daa91227e2f6a1d909789ea1bfc3b563e03 /dev-scheme
parentdev-scheme/chicken: remove unused patches. (diff)
downloadgentoo-989ebd5dcbd26380f452e970463e34102b9c9609.tar.gz
gentoo-989ebd5dcbd26380f452e970463e34102b9c9609.tar.bz2
gentoo-989ebd5dcbd26380f452e970463e34102b9c9609.zip
dev-scheme/chicken: tidy up ebuild.
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/chicken/chicken-4.10.0-r1.ebuild23
1 files changed, 12 insertions, 11 deletions
diff --git a/dev-scheme/chicken/chicken-4.10.0-r1.ebuild b/dev-scheme/chicken/chicken-4.10.0-r1.ebuild
index 66d267584f7e..7144653adc1f 100644
--- a/dev-scheme/chicken/chicken-4.10.0-r1.ebuild
+++ b/dev-scheme/chicken/chicken-4.10.0-r1.ebuild
@@ -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
-
}