Install info files in "/usr/share/info", not "/usr/info" (fixes bug #105705).
authorOlivier Fisette <ribosome@gentoo.org>
Sat, 1 Oct 2005 22:25:27 +0000 (22:25 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Sat, 1 Oct 2005 22:25:27 +0000 (22:25 +0000)
Package-Manager: portage-2.0.51.22-r2

sci-mathematics/maxima/ChangeLog
sci-mathematics/maxima/Manifest
sci-mathematics/maxima/files/digest-maxima-5.9.1-r5 [new file with mode: 0644]
sci-mathematics/maxima/maxima-5.9.1-r5.ebuild [new file with mode: 0644]

index 66300cac301517ac545f480c9c4ed0e3c1111d42..67657238c0b257d3892a7d2981f40177e53832a9 100644 (file)
@@ -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)
 
index 1805b5361fe593771269eeb2ba0445f6a4554003..caf9d1b7434a5437463d3c29bdd7bc2d24ae9a79 100644 (file)
@@ -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 (file)
index 0000000..a849fad
--- /dev/null
@@ -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 (file)
index 0000000..8ae3917
--- /dev/null
@@ -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
+}