diff options
author | Stefan Jones <cretin@gentoo.org> | 2004-10-08 03:20:24 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2004-10-08 03:20:24 +0000 |
commit | cc64637bb03d7c7d345e7e6b9d3cba9eaf4fcbdb (patch) | |
tree | 6bfdc3f7557255ad8c3eb27d83477b329c51358b /app-sci | |
parent | remove libsmpeg if USE=-sdl #66510 (diff) | |
download | historical-cc64637bb03d7c7d345e7e6b9d3cba9eaf4fcbdb.tar.gz historical-cc64637bb03d7c7d345e7e6b9d3cba9eaf4fcbdb.tar.bz2 historical-cc64637bb03d7c7d345e7e6b9d3cba9eaf4fcbdb.zip |
New emacs install method
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/maxima/ChangeLog | 7 | ||||
-rw-r--r-- | app-sci/maxima/Manifest | 5 | ||||
-rw-r--r-- | app-sci/maxima/files/50maxima-gentoo.el | 7 | ||||
-rw-r--r-- | app-sci/maxima/files/digest-maxima-5.9.1-r1 | 1 | ||||
-rw-r--r-- | app-sci/maxima/maxima-5.9.1-r1.ebuild | 92 |
5 files changed, 110 insertions, 2 deletions
diff --git a/app-sci/maxima/ChangeLog b/app-sci/maxima/ChangeLog index 7dffef05a979..1897668cf675 100644 --- a/app-sci/maxima/ChangeLog +++ b/app-sci/maxima/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-sci/maxima # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/maxima/ChangeLog,v 1.15 2004/10/07 13:18:47 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/maxima/ChangeLog,v 1.16 2004/10/08 03:20:24 cretin Exp $ + +*maxima-5.9.1-r1 (07 Oct 2004) + + 07 Oct 2004; Stefan Jones <cretin@gentoo.org> maxima-5.9.1-r1.ebuild: + Add user submitted emacs install, bug #66135 07 Oct 2004; Patrick Kursawe <phosphan@gentoo.org> maxima-5.9.1.ebuild: Escaping what should be escaped in postinst output - see bug #65395 diff --git a/app-sci/maxima/Manifest b/app-sci/maxima/Manifest index 54f9ba8828ab..5f073d3b9a09 100644 --- a/app-sci/maxima/Manifest +++ b/app-sci/maxima/Manifest @@ -1,11 +1,14 @@ MD5 870604232354646e69c57d16da1a6af8 maxima-5.9.0-r3.ebuild 2477 MD5 780474ef22cbaff6cd18228747a7fd83 maxima-5.9.0-r2.ebuild 2357 +MD5 eaf258157b0eaedc28e8cda2c4db383f maxima-5.9.1-r1.ebuild 2432 MD5 c460b4acb43710708be8561f6aecac41 maxima-5.9.1.ebuild 2490 -MD5 2b9e2dc44f4e88299860e9c15d0a540d ChangeLog 2464 +MD5 da977d8cdcc76204626b18c3e6ed72ca ChangeLog 2614 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 MD5 b91d1554583fba944bc04476c4af394e maxima-5.9.0.ebuild 778 MD5 aaa91ea4812a84a1054b82e69d3fe05b files/digest-maxima-5.9.0-r2 65 MD5 aaa91ea4812a84a1054b82e69d3fe05b files/digest-maxima-5.9.0-r3 65 +MD5 6f3becd603f999b2bb7488753ec07518 files/digest-maxima-5.9.1-r1 65 +MD5 6957a9bafd71a24b58e148bb2ee58257 files/50maxima-gentoo.el 346 MD5 aaa91ea4812a84a1054b82e69d3fe05b files/digest-maxima-5.9.0 65 MD5 6f3becd603f999b2bb7488753ec07518 files/digest-maxima-5.9.1 65 MD5 55d928e715074355a442baf0934487de files/maxima-emacs.patch 826 diff --git a/app-sci/maxima/files/50maxima-gentoo.el b/app-sci/maxima/files/50maxima-gentoo.el new file mode 100644 index 000000000000..ec4ccf00c6bc --- /dev/null +++ b/app-sci/maxima/files/50maxima-gentoo.el @@ -0,0 +1,7 @@ +(setq load-path (cons "/usr/share/maxima/5.9.1/emacs" load-path)) +(autoload 'maxima-mode "maxima" "Maxima mode" t) +(autoload 'maxima "maxima" "Maxima interactive" t) +(setq auto-mode-alist (cons '("\\.max" . maxima-mode) auto-mode-alist)) +(autoload 'emaxima-mode "emaxima" "EMaxima" t) +(add-hook 'emaxima-mode-hook 'emaxima-mark-file-as-emaxima) + diff --git a/app-sci/maxima/files/digest-maxima-5.9.1-r1 b/app-sci/maxima/files/digest-maxima-5.9.1-r1 new file mode 100644 index 000000000000..a849fad9cf86 --- /dev/null +++ b/app-sci/maxima/files/digest-maxima-5.9.1-r1 @@ -0,0 +1 @@ +MD5 659acfad1f61444cf5b38f6c28279d40 maxima-5.9.1.tar.gz 8093534 diff --git a/app-sci/maxima/maxima-5.9.1-r1.ebuild b/app-sci/maxima/maxima-5.9.1-r1.ebuild new file mode 100644 index 000000000000..b8d4d156787c --- /dev/null +++ b/app-sci/maxima/maxima-5.9.1-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/maxima/maxima-5.9.1-r1.ebuild,v 1.1 2004/10/08 03:20:24 cretin Exp $ + +inherit eutils elisp-common + +DESCRIPTION="Free computer algebra environment, based on Macsyma" +HOMEPAGE="http://maxima.sourceforge.net/" +SRC_URI="mirror://sourceforge/maxima/${P}.tar.gz" + +LICENSE="GPL-2 AECA" +SLOT="0" +KEYWORDS="~x86" +IUSE="cmucl clisp gcl sbcl tetex emacs auctex" + +DEPEND="tetex? ( virtual/tetex ) + emacs? ( virtual/emacs ) + auctex? ( app-emacs/auctex ) + >=sys-apps/texinfo-4.3 + x86? ( !clisp? ( !sbcl? ( !gcl? ( !cmucl? ( dev-lisp/cmucl ) ) ) ) ) + clisp? ( >=dev-lisp/clisp-2.33.2-r1 ) + x86? ( cmucl? ( >=dev-lisp/cmucl-19a ) ) + x86? ( gcl? ( >=dev-lisp/gcl-2.6.4 ) ) + x86? ( sbcl? ( >=dev-lisp/sbcl-0.8.14 ) )" +RDEPEND=">=dev-lang/tk-8.3.3 + >=media-gfx/gnuplot-4.0-r1" + +src_unpack() { + unpack ${A} + cd ${S}/interfaces/emacs/emaxima + epatch ${FILESDIR}/maxima-emacs.patch +} + +src_compile() { + local myconf="" + if use cmucl || use clisp || use gcl || use sbcl; then + if use cmucl; then + myconf="${myconf} --enable-cmucl" + fi + if use clisp; then + myconf="${myconf} --enable-clisp" + fi + if use gcl; then + ewarn "Important - GCL must be installed with" + ewarn "ANSI support. Otherwise this build will" + ewarn "fail. To check this, start gcl and look" + ewarn "for a header like the following:" + ewarn "GCL (GNU Common Lisp) 2.6.5 ANSI" + ewarn "If you see CtL1 where ANSI is, then you" + ewarn "need to emerge gcl using something like" + ewarn "USE=\"ansi\" emerge gcl" + myconf="${myconf} --enable-gcl" + fi + if use sbcl; then + myconf="${myconf} --enable-sbcl" + fi + else + myconf="${myconf} --enable-cmucl" + fi + + ./configure --prefix=/usr ${myconf} || die + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + 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 + #move docs to the appropriate place + dodoc AUTHORS ChangeLog COPYING NEWS README* + mv ${D}/usr/share/${PN}/${PV}/doc/* ${D}/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 +} |