New version. Ebuild clean-ups. Fixed location of help files (bug #106308).
authorOlivier Fisette <ribosome@gentoo.org>
Sun, 2 Oct 2005 02:47:46 +0000 (02:47 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Sun, 2 Oct 2005 02:47:46 +0000 (02:47 +0000)
Package-Manager: portage-2.0.51.22-r2

sci-mathematics/yacas/ChangeLog
sci-mathematics/yacas/Manifest
sci-mathematics/yacas/files/digest-yacas-1.0.58 [new file with mode: 0644]
sci-mathematics/yacas/yacas-1.0.56.ebuild
sci-mathematics/yacas/yacas-1.0.57.ebuild
sci-mathematics/yacas/yacas-1.0.58.ebuild [new file with mode: 0644]

index ab2436bf283d38917234676ca36d115f7d5b166d..3b66664f72e8129a61b786c1453a3335da6cf126 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sci-mathematics/yacas
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.4 2005/01/14 17:05:53 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/ChangeLog,v 1.5 2005/10/02 02:47:45 ribosome Exp $
+
+*yacas-1.0.58 (02 Oct 2005)
+
+  02 Oct 2005; Olivier Fisette <ribosome@gentoo.org> yacas-1.0.56.ebuild,
+  yacas-1.0.57.ebuild, +yacas-1.0.58.ebuild:
+  New version. Ebuild clean-ups. Fixed location of help files (bug #106308).
 
 *yacas-1.0.57 (14 Jan 2005)
 
index 19a727275d80170e445be204cd45240537c0b2d2..c5f0c95652f542196dbb1b9457f328d63e006910 100644 (file)
@@ -1,8 +1,10 @@
-MD5 2776d31ce8877df278bdb7ae2924dfac yacas-1.0.57.ebuild 1164
-MD5 20a61dc92ddb7f0745c4bdb15abb999f yacas-1.0.56.ebuild 1337
-MD5 f6a0d8a4a6012482cdc93c69f3910350 ChangeLog 2452
+MD5 1be4437420e7596162d8f8eed6212119 yacas-1.0.57.ebuild 1445
+MD5 5d5cdc9104e23720c296277ed1212723 yacas-1.0.56.ebuild 1606
+MD5 b30503ab4331ba2b3f931f7a528b9272 yacas-1.0.58.ebuild 1411
+MD5 b40075e54074bf385478939de86c5348 ChangeLog 2678
 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
 MD5 5c748030f6e6f803d4e272ce57a31361 files/digest-yacas-1.0.56 130
 MD5 e222e9a7debd7c3e79ee700005276c93 files/digest-yacas-1.0.57 65
+MD5 7a24f28d999fff717cf52796702c816d files/digest-yacas-1.0.58 65
 MD5 b49a5413d88ccb8242bc01dedb22afd0 files/opengl-gcc3.4.patch 227
 MD5 3edf1638789f8529fb17f44a33907e47 files/1.0.57.patch 1955
diff --git a/sci-mathematics/yacas/files/digest-yacas-1.0.58 b/sci-mathematics/yacas/files/digest-yacas-1.0.58
new file mode 100644 (file)
index 0000000..ac8f191
--- /dev/null
@@ -0,0 +1 @@
+MD5 fd7fa942789fdac8fa363e555c86cae9 yacas-1.0.58.tar.gz 2089209
index 96c29b5730b9e0e6f70f442338033a458cf89e1a..d44c00ec1f2ac41a59a1e77b2acc2b7fb2946e23 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 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.2 2005/01/14 09:12:36 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.56.ebuild,v 1.3 2005/10/02 02:47:45 ribosome Exp $
 
 inherit eutils
 
@@ -23,9 +23,9 @@ DEPEND="virtual/libc
 
 src_unpack() {
        unpack ${A}
-       cd ${S}
-       epatch ${WORKDIR}/${P}.patch
-       epatch ${FILESDIR}/opengl-gcc3.4.patch
+       cd "${S}"
+       epatch "${WORKDIR}"/${P}.patch
+       epatch "${FILESDIR}"/opengl-gcc3.4.patch
 }
 
 src_compile() {
@@ -42,11 +42,14 @@ src_install() {
        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}
+       cd "${S}"
 
-       DESTDIR=${D} make install-strip || die
+       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/
+       mv "${D}"/usr/share/${PN}/documentation "${D}"/usr/share/doc/${PF}/html
+       rmdir "${D}"/usr/include/
+       sed -e "s|\":FindFile(\"documentation/ref.html\"):\"|localhost/usr/share/doc/${PF}/html/ref.html|" \
+               -e "s|\":FindFile(\"documentation/books.html\"):\"|localhost/usr/share/doc/${PF}/html/books.html|" \
+               -i "${D}"/usr/share/${PN}/yacasinit.ys || die
 }
index 8405b4783a9f64f5fd9283e679cde14d720fde9c..cb50c2e3e298cf90b6f1ac4e4bf99bf57d8ee923 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.57.ebuild,v 1.1 2005/01/14 17:05:53 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.57.ebuild,v 1.2 2005/10/02 02:47:45 ribosome Exp $
 
 inherit eutils
 
@@ -16,13 +16,13 @@ KEYWORDS="~x86 ~ppc ~amd64"
 
 DEPEND="virtual/libc
        >=sys-apps/sed-4
-       glut? ( media-libs/glut )"
-
+       glut? ( media-libs/glut )
+       www-client/lynx"
 
 src_unpack() {
        unpack ${A}
-       cd ${S}
-       epatch ${FILESDIR}/${PV}.patch
+       cd "${S}"
+       epatch "${FILESDIR}"/${PV}.patch
        if ! use glut; then
                sed -e 's:opengl::g' -i plugins/Makefile.in || die "sed (opengl) failed"
                sed -e 's/\(^PLUGINDOCSCHAPTERS.*\)opengl.chapt\(.*\)/\1 \2/' -i \
@@ -39,7 +39,10 @@ src_install() {
        make DESTDIR="${D}" 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/
-       rm ${D}/usr/share/${PN}/include/win32*
+       mv "${D}"/usr/share/${PN}/documentation "${D}"/usr/share/doc/${PF}/html
+       rmdir "${D}"/usr/include/
+       rm "${D}"/usr/share/${PN}/include/win32*
+       sed -e "s|\":FindFile(\"documentation/ref.html\"):\"|localhost/usr/share/doc/${PF}/html/ref.html|" \
+               -e "s|\":FindFile(\"documentation/books.html\"):\"|localhost/usr/share/doc/${PF}/html/books.html|" \
+               -i "${D}"/usr/share/${PN}/yacasinit.ys || die
 }
diff --git a/sci-mathematics/yacas/yacas-1.0.58.ebuild b/sci-mathematics/yacas/yacas-1.0.58.ebuild
new file mode 100644 (file)
index 0000000..66c245f
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.58.ebuild,v 1.1 2005/10/02 02:47:45 ribosome Exp $
+
+inherit eutils
+
+IUSE="glut"
+
+DESCRIPTION="very powerful general purpose Computer Algebra System"
+HOMEPAGE="http://yacas.sourceforge.net/"
+SRC_URI="http://${PN}.sourceforge.net/backups/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+DEPEND="virtual/libc
+       >=sys-apps/sed-4
+       glut? ( media-libs/glut )
+       www-client/lynx"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       if ! use glut; then
+               sed -e 's:opengl::g' -i plugins/Makefile.in || die "sed (opengl) failed"
+               sed -e 's/\(^PLUGINDOCSCHAPTERS.*\)opengl.chapt\(.*\)/\1 \2/' -i \
+               manmake/Makefile.in || die 'sed (manmake) failed'
+       fi
+}
+
+src_compile() {
+       econf --with-numlib=native || die "./configure failed"
+       emake || die
+}
+
+src_install() {
+       make DESTDIR="${D}" 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/
+       rm "${D}"/usr/share/${PN}/include/win32*
+       sed -e "s|\":FindFile(\"documentation/ref.html\"):\"|localhost/usr/share/doc/${PF}/html/ref.html|" \
+               -e "s|\":FindFile(\"documentation/books.html\"):\"|localhost/usr/share/doc/${PF}/html/books.html|" \
+               -i "${D}"/usr/share/${PN}/yacasinit.ys || die
+}