summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-11-25 17:48:00 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-11-25 17:48:00 +0000
commitd87a66c370d57c1ae8426d6b904fc79c549affce (patch)
tree17b3be8829ce95d368ea5f2ae7016923707dc4a3 /sci-mathematics/mathomatic
parentFix kde multilib library path, bug #391283. (diff)
downloadgentoo-2-d87a66c370d57c1ae8426d6b904fc79c549affce.tar.gz
gentoo-2-d87a66c370d57c1ae8426d6b904fc79c549affce.tar.bz2
gentoo-2-d87a66c370d57c1ae8426d6b904fc79c549affce.zip
Version bump
(Portage version: 2.1.10.37/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/mathomatic')
-rw-r--r--sci-mathematics/mathomatic/ChangeLog8
-rw-r--r--sci-mathematics/mathomatic/mathomatic-15.7.1.ebuild (renamed from sci-mathematics/mathomatic/mathomatic-15.6.0.ebuild)29
2 files changed, 18 insertions, 19 deletions
diff --git a/sci-mathematics/mathomatic/ChangeLog b/sci-mathematics/mathomatic/ChangeLog
index 75c9b6f61f5b..94b225ff8c5e 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.59 2011/06/14 16:13:48 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/ChangeLog,v 1.60 2011/11/25 17:48:00 bicatali Exp $
+
+*mathomatic-15.7.1 (25 Nov 2011)
+
+ 25 Nov 2011; Sébastien Fabbro <bicatali@gentoo.org>
+ -mathomatic-15.6.0.ebuild, +mathomatic-15.7.1.ebuild:
+ Version bump
14 Jun 2011; Sébastien Fabbro <bicatali@gentoo.org>
mathomatic-15.6.2.ebuild:
diff --git a/sci-mathematics/mathomatic/mathomatic-15.6.0.ebuild b/sci-mathematics/mathomatic/mathomatic-15.7.1.ebuild
index 1e9c8af7c7b3..894cadaa0e5a 100644
--- a/sci-mathematics/mathomatic/mathomatic-15.6.0.ebuild
+++ b/sci-mathematics/mathomatic/mathomatic-15.7.1.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.6.0.ebuild,v 1.1 2011/05/03 16:29:31 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/mathomatic-15.7.1.ebuild,v 1.1 2011/11/25 17:48:00 bicatali Exp $
EAPI=4
-inherit eutils toolchain-funcs
+inherit toolchain-funcs flag-o-matic
DESCRIPTION="Automatic algebraic manipulator"
HOMEPAGE="http://www.mathomatic.org/"
@@ -19,31 +19,24 @@ 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() {
+ append-cflags -DBOLD_COLOR=1
emake READLINE=1 CC=$(tc-getCC)
emake CC=$(tc-getCC) -C primes
}
src_test() {
- emake test
- emake -C primes test
+ default
+ emake -C primes check
}
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
}