summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-06-13 22:20:57 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-06-13 22:20:57 +0000
commitda5c6a99c1b18b0783aada5a0c5dc7f26aa631b5 (patch)
treea86f4fc464db4a5ce42f1f93570bae5bb407eac2 /sci-mathematics
parentAdd missing unzip dependency (thanks to Piotr Szymaniak in bug #371515). (diff)
downloadgentoo-2-da5c6a99c1b18b0783aada5a0c5dc7f26aa631b5.tar.gz
gentoo-2-da5c6a99c1b18b0783aada5a0c5dc7f26aa631b5.tar.bz2
gentoo-2-da5c6a99c1b18b0783aada5a0c5dc7f26aa631b5.zip
Version bump. Changed to use homebrewed makefiles
(Portage version: 2.1.10.2/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/mathomatic/ChangeLog8
-rw-r--r--sci-mathematics/mathomatic/mathomatic-15.6.2.ebuild (renamed from sci-mathematics/mathomatic/mathomatic-15.5.2.ebuild)29
2 files changed, 15 insertions, 22 deletions
diff --git a/sci-mathematics/mathomatic/ChangeLog b/sci-mathematics/mathomatic/ChangeLog
index ae9549281b63..b8bb8b0ebdef 100644
--- a/sci-mathematics/mathomatic/ChangeLog
+++ b/sci-mathematics/mathomatic/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-mathematics/mathomatic
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/ChangeLog,v 1.57 2011/05/03 16:29:31 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/ChangeLog,v 1.58 2011/06/13 22:20:57 bicatali Exp $
+
+*mathomatic-15.6.2 (13 Jun 2011)
+
+ 13 Jun 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ -mathomatic-15.5.2.ebuild, +mathomatic-15.6.2.ebuild:
+ Version bump. Changed to use homebrewed makefiles
*mathomatic-15.6.0 (03 May 2011)
diff --git a/sci-mathematics/mathomatic/mathomatic-15.5.2.ebuild b/sci-mathematics/mathomatic/mathomatic-15.6.2.ebuild
index 854cd4ad2ba7..ed93361692b9 100644
--- a/sci-mathematics/mathomatic/mathomatic-15.5.2.ebuild
+++ b/sci-mathematics/mathomatic/mathomatic-15.6.2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/mathomatic-15.5.2.ebuild,v 1.2 2011/04/11 04:57:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/mathomatic-15.6.2.ebuild,v 1.1 2011/06/13 22:20:57 bicatali Exp $
EAPI=4
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Automatic algebraic manipulator"
HOMEPAGE="http://www.mathomatic.org/"
@@ -19,31 +19,18 @@ DEPEND="sys-libs/readline
RDEPEND="${DEPEND}
gnuplot? ( sci-visualization/gnuplot )"
-src_prepare() {
- sed -i -e 's/time -p//g' makefile primes/makefile || die
-}
-
src_compile() {
emake READLINE=1 CC=$(tc-getCC)
emake CC=$(tc-getCC) -C primes
}
-src_test() {
- emake test
- emake -C primes test
-}
-
src_install() {
- dobin mathomatic
- dobin primes/matho-{mult,primes,pascal,sumsq} primes/primorial
+ emake prefix="${EPREFIX}usr" DESTDIR="${D}" bininstall
+ emake prefix="${EPREFIX}usr" DESTDIR="${D}" -C primes install
dodoc changes.txt README.txt AUTHORS
- doman mathomatic.1 primes/*.1
- doicon icons/mathomatic.png
- domenu icons/mathomatic.desktop
newdoc primes/README.txt README-primes.txt
- if use doc; then
- dohtml doc/*
- insinto /usr/share/doc/${PF}
- doins -r tests examples m4
- fi
+ use doc && emake \
+ prefix="${EPREFIX}usr" \
+ mathdocdir="${EPREFIX}usr/share/doc/${PF}" \
+ DESTDIR="${D}" docinstall
}