diff options
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/maxima/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/maxima/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/maxima/files/digest-maxima-5.9.1-r5 | 1 | ||||
-rw-r--r-- | sci-mathematics/maxima/maxima-5.9.1-r5.ebuild | 97 |
4 files changed, 107 insertions, 1 deletions
diff --git a/sci-mathematics/maxima/ChangeLog b/sci-mathematics/maxima/ChangeLog index 66300cac3015..67657238c0b2 100644 --- a/sci-mathematics/maxima/ChangeLog +++ b/sci-mathematics/maxima/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/maxima # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.10 2005/09/19 04:24:15 ribosome Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.11 2005/10/01 22:25:27 ribosome Exp $ + +*maxima-5.9.1-r5 (01 Oct 2005) + + 01 Oct 2005; Olivier Fisette <ribosome@gentoo.org> + +maxima-5.9.1-r5.ebuild: + Install info files in "/usr/share/info", not "/usr/info" (fixes bug #105705). *maxima-5.9.1-r4 (19 Sep 2005) diff --git a/sci-mathematics/maxima/Manifest b/sci-mathematics/maxima/Manifest index 1805b5361fe5..caf9d1b7434a 100644 --- a/sci-mathematics/maxima/Manifest +++ b/sci-mathematics/maxima/Manifest @@ -2,7 +2,9 @@ MD5 f66b0e67bab788e42e587ce2a7d299a5 maxima-5.9.1-r4.ebuild 2331 MD5 1a4d91430daee0b2899a662587093b22 maxima-5.9.1.ebuild 2494 MD5 2d2997babe7ce0e2e28a5873da76f6de ChangeLog 4720 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 d81b786808716312cf49fb824e60bead maxima-5.9.1-r5.ebuild 2367 MD5 6f3becd603f999b2bb7488753ec07518 files/digest-maxima-5.9.1-r4 65 +MD5 6f3becd603f999b2bb7488753ec07518 files/digest-maxima-5.9.1-r5 65 MD5 6957a9bafd71a24b58e148bb2ee58257 files/50maxima-gentoo.el 346 MD5 6f3becd603f999b2bb7488753ec07518 files/digest-maxima-5.9.1 65 MD5 9d2fde2c70ca34c55c220ac2e46fe463 files/maxima-5.9.1-unicode-fix.patch 9157 diff --git a/sci-mathematics/maxima/files/digest-maxima-5.9.1-r5 b/sci-mathematics/maxima/files/digest-maxima-5.9.1-r5 new file mode 100644 index 000000000000..a849fad9cf86 --- /dev/null +++ b/sci-mathematics/maxima/files/digest-maxima-5.9.1-r5 @@ -0,0 +1 @@ +MD5 659acfad1f61444cf5b38f6c28279d40 maxima-5.9.1.tar.gz 8093534 diff --git a/sci-mathematics/maxima/maxima-5.9.1-r5.ebuild b/sci-mathematics/maxima/maxima-5.9.1-r5.ebuild new file mode 100644 index 000000000000..8ae39172a5b8 --- /dev/null +++ b/sci-mathematics/maxima/maxima-5.9.1-r5.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.9.1-r5.ebuild,v 1.1 2005/10/01 22:25:27 ribosome Exp $ + +inherit eutils elisp-common + +DESCRIPTION="Free computer algebra environment, based on Macsyma" +HOMEPAGE="http://maxima.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 AECA" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="cmucl clisp sbcl tetex emacs auctex" + +DEPEND="tetex? ( virtual/tetex ) + emacs? ( virtual/emacs ) + auctex? ( app-emacs/auctex ) + >=sys-apps/texinfo-4.3 + !clisp? ( !sbcl? ( !cmucl? ( >=dev-lisp/gcl-2.6.7 ) ) ) + cmucl? ( >=dev-lisp/cmucl-19a ) + clisp? ( >=dev-lisp/clisp-2.33.2-r1 ) + sbcl? ( >=dev-lisp/sbcl-0.8.14 )" +RDEPEND=">=dev-lang/tk-8.3.3 + >=media-gfx/gnuplot-4.0-r1" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/maxima-${PV}-unicode-fix.patch + cd "${S}"/interfaces/emacs/emaxima + epatch "${FILESDIR}"/maxima-emacs.patch +} + +src_compile() { + local myconf + myconf="--infodir=/usr/share/info" + if use cmucl || use clisp || use sbcl; then + if use cmucl; then + myconf="${myconf} --enable-cmucl" + fi + if use clisp; then + myconf="${myconf} --enable-clisp" + fi + if use sbcl; then + myconf="${myconf} --enable-sbcl" + fi + else + if ! built_with_use dev-lisp/gcl ansi; then + eerror "GCL must be installed with ANSI." + eerror "Try USE=\"ansi\" emerge gcl" + die "This package needs gcl with USE=ansi" + fi + myconf="${myconf} --enable-gcl" + fi + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + if use emacs + then + elisp-site-file-install "${FILESDIR}"/50maxima-gentoo.el + fi + if use tetex + then + insinto /usr/share/texmf/tex/latex/emaxima + doins "${S}"/interfaces/emacs/emaxima/emaxima.sty + fi + + # Install documentation. + insinto /usr/share/${PN}/${PV}/doc + doins AUTHORS ChangeLog COPYING NEWS README* + dodir /usr/share/doc + dosym /usr/share/${PN}/${PV}/doc /usr/share/doc/${PF} +} + +pkg_postinst() { + if use emacs + then + einfo "Running elisp-site-regen...." + elisp-site-regen + fi + if use tetex + then + einfo "Running mktexlsr to rebuild ls-R database...." + mktexlsr + fi +} + +pkg_postrm() { + if use emacs + then + einfo "Running elisp-site-regen...." + elisp-site-regen + fi +} |