summaryrefslogtreecommitdiff
path: root/kde-base/cantor/cantor-9999.ebuild
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2011-04-19 20:22:40 -0400
committerJonathan Callen <abcd@gentoo.org>2011-04-19 20:22:40 -0400
commitfcdf4e841363889c52c88d511e2425e57a27b1c9 (patch)
treec4ad564d43ff1d5b0123a8fd519653ec0fc5aa9a /kde-base/cantor/cantor-9999.ebuild
parent7d1338ae1fac142137fa1e03d82678d716a92527 (diff)
downloadkde-fcdf4e841363889c52c88d511e2425e57a27b1c9.tar.gz
kde-fcdf4e841363889c52c88d511e2425e57a27b1c9.tar.bz2
kde-fcdf4e841363889c52c88d511e2425e57a27b1c9.zip
[kde-base] Bump most ebuilds to EAPI=4, various cleanups
(Portage version: 2.2.0_alpha30/git/Linux x86_64, signed Manifest commit with key 229E5838)
Diffstat (limited to 'kde-base/cantor/cantor-9999.ebuild')
-rw-r--r--kde-base/cantor/cantor-9999.ebuild22
1 files changed, 7 insertions, 15 deletions
diff --git a/kde-base/cantor/cantor-9999.ebuild b/kde-base/cantor/cantor-9999.ebuild
index acf0bb8f6b1..7bc58bea0be 100644
--- a/kde-base/cantor/cantor-9999.ebuild
+++ b/kde-base/cantor/cantor-9999.ebuild
@@ -2,16 +2,17 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=3
+EAPI=4
KDE_HANDBOOK="optional"
+KDE_SCM="git"
if [[ ${PV} == *9999 ]]; then
- KDE_SCM="git"
- inherit kde4-base
+ kde_eclass="kde4-base"
else
KMNAME="kdeedu"
- inherit kde4-meta
+ kde_eclass="kde4-meta"
fi
+inherit ${kde_eclass}
DESCRIPTION="KDE4 interface for doing mathematics and scientific computing"
KEYWORDS=""
@@ -31,20 +32,11 @@ src_configure() {
$(cmake-utils_use_with ps LibSpectre)
$(cmake-utils_use_with R)
"
- if [[ ${PV} == *9999 ]]; then
- kde4-base_src_configure
- else
- kde4-meta_src_configure
- fi
-
+ ${kde_eclass}_src_configure
}
pkg_postinst() {
- if [[ ${PV} == *9999 ]]; then
- kde4-base_pkg_postinst
- else
- kde4-meta_pkg_postinst
- fi
+ ${kde_eclass}_pkg_postinst
if ! use R; then
echo