--- /dev/null
+# ChangeLog for app-sci/yacas
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.1 2004/12/28 15:19:17 ribosome Exp $
+
+*yacas-1.0.56 (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +yacas-1.0.56.ebuild:
+ Moved from app-sci/yacas to sci-mathematics/yacas.
+
+ 18 Dec 2004; Simon Stelling <blubb@gentoo.org> yacas-1.0.56.ebuild:
+ added ~amd64
+
+ 29 Nov 2004; Patrick Kursawe <phosphan@gentoo.org> -files/obsolete_cpp.patch:
+ Updated the patch for obsolete C++ stuff to work for gcc 3.4.3.
+ Patch moved to mirror system because of its size.
+
+ 06 Sep 2004; Patrick Kursawe <phosphan@gentoo.org> -yacas-1.0.54.ebuild,
+ -yacas-1.0.55.ebuild, yacas-1.0.56.ebuild:
+ Declaring .56 stable, removing older versions.
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> yacas-1.0.54.ebuild,
+ yacas-1.0.55.ebuild, yacas-1.0.56.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 20 Apr 2004; David Holm <dholm@gentoo.org> yacas-1.0.56.ebuild:
+ Added to ~ppc.
+
+*yacas-1.0.56 (19 Apr 2004)
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> yacas-1.0.56.ebuild,
+ files/obsolete_cpp.patch:
+ Version bump, patch for some c++ problems
+
+*yacas-1.0.55 (09 Jul 2003)
+
+ 09 Jul 2003; George Shapovalov <george@gentoo.org> yacas-1.0.55.ebuild :
+ version update, made 1.0.54 stable
+
+ 10 Jun 2003; <msterret@gentoo.org> yacas-1.0.54.ebuild:
+ DEPEND on sed >= 4
+
+*yacas-1.0.54 (17 Apr 2003)
+
+ 17 Apr 2003; George Shapovalov <george@gentoo.org> yacas-1.0.54.ebuild, files/digest-yacas-1.0.54 :
+ initial release (#3790)
+ YACAS is a very powerful, general purpose Computer Algebra System.
+ ebuild submitted by Tobias Florek <tflorek@web.de>
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.56.ebuild,v 1.1 2004/12/28 15:19:17 ribosome Exp $
+
+inherit eutils
+
+IUSE="gmp"
+
+DESCRIPTION="very powerful general purpose Computer Algebra System"
+HOMEPAGE="http://yacas.sourceforge.net/"
+SRC_URI="http://${PN}.sourceforge.net/backups/${P}.tar.gz
+ mirror://gentoo/${P}.patch.bz2
+ http://dev.gentoo.org/~phosphan/${P}.patch.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc ~amd64"
+
+DEPEND="virtual/libc
+ >=sys-apps/sed-4
+ gmp? ( >=dev-libs/gmp-4 ) "
+
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${WORKDIR}/${P}.patch
+}
+
+src_compile() {
+ local myconf
+ if use gmp ; then
+ myconf="--with-numlib=gmp"
+ fi
+ econf ${myconf} || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ # a very strange Makefile's, that do not honor standard wrappings :(
+ find -name Makefile |xargs sed -i -e "s:datadir = /usr/share:datadir = ${D}/usr/share:"
+ cd manmake
+ sed -i -e "s:htmldir = :htmldir = ${D}:" -e "s:psdir = :psdir = ${D}:" Makefile
+ cd ${S}
+
+ DESTDIR=${D} make install-strip || die
+
+ dodoc AUTHORS INSTALL NEWS README TODO
+ mv ${D}/usr/share/${PN}/documentation ${D}/usr/share/doc/${PF}/html
+ rmdir ${D}/usr/include/
+}