summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-11-12 18:14:00 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-11-12 18:14:00 +0000
commit9f3d3b5eb9a81aca298610c9d9fcf1c8d53cad75 (patch)
tree3bf1f6a9edc0c8d1adc3e7aaa391ad484f574cc1 /sci-mathematics
parentUpdate dvb_cards.desc. (diff)
downloadgentoo-2-9f3d3b5eb9a81aca298610c9d9fcf1c8d53cad75.tar.gz
gentoo-2-9f3d3b5eb9a81aca298610c9d9fcf1c8d53cad75.tar.bz2
gentoo-2-9f3d3b5eb9a81aca298610c9d9fcf1c8d53cad75.zip
Version bump
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/wxmaxima/ChangeLog8
-rw-r--r--sci-mathematics/wxmaxima/wxmaxima-0.7.4.ebuild6
-rw-r--r--sci-mathematics/wxmaxima/wxmaxima-0.8.3a.ebuild61
3 files changed, 71 insertions, 4 deletions
diff --git a/sci-mathematics/wxmaxima/ChangeLog b/sci-mathematics/wxmaxima/ChangeLog
index e2907d9ff015..3199ad4d5573 100644
--- a/sci-mathematics/wxmaxima/ChangeLog
+++ b/sci-mathematics/wxmaxima/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-mathematics/wxmaxima
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.27 2009/10/07 16:24:19 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.28 2009/11/12 18:14:00 bicatali Exp $
+
+*wxmaxima-0.8.3a (12 Nov 2009)
+
+ 12 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +wxmaxima-0.8.3a.ebuild:
+ Version bump
07 Oct 2009; nixnut <nixnut@gentoo.org> wxmaxima-0.8.2.ebuild:
ppc stable #264649
diff --git a/sci-mathematics/wxmaxima/wxmaxima-0.7.4.ebuild b/sci-mathematics/wxmaxima/wxmaxima-0.7.4.ebuild
index d80adcd0aea0..12b914b2b2a5 100644
--- a/sci-mathematics/wxmaxima/wxmaxima-0.7.4.ebuild
+++ b/sci-mathematics/wxmaxima/wxmaxima-0.7.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.4.ebuild,v 1.7 2008/10/12 11:06:08 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.4.ebuild,v 1.8 2009/11/12 18:14:00 bicatali Exp $
WX_GTK_VER="2.8"
-inherit eutils autotools wxwidgets fdo-mime
+inherit eutils wxwidgets fdo-mime
MYP=wxMaxima-${PV}
diff --git a/sci-mathematics/wxmaxima/wxmaxima-0.8.3a.ebuild b/sci-mathematics/wxmaxima/wxmaxima-0.8.3a.ebuild
new file mode 100644
index 000000000000..aa80b563b30e
--- /dev/null
+++ b/sci-mathematics/wxmaxima/wxmaxima-0.8.3a.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.8.3a.ebuild,v 1.1 2009/11/12 18:14:00 bicatali Exp $
+
+WX_GTK_VER="2.8"
+EAPI="2"
+inherit wxwidgets fdo-mime
+
+MYP=wxMaxima-${PV}
+
+DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit."
+HOMEPAGE="http://wxmaxima.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="unicode"
+
+DEPEND="dev-libs/libxml2
+ x11-libs/wxGTK:2.8"
+RDEPEND="${DEPEND}
+ media-fonts/jsmath
+ sci-visualization/gnuplot[wxwidgets]
+ sci-mathematics/maxima"
+
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+ # consistent package names
+ sed -e "s:${datadir}/wxMaxima:${datadir}/${PN}:g" \
+ -i Makefile.in data/Makefile.in || die "sed failed"
+
+ sed -e 's:share/wxMaxima:share/wxmaxima:g' \
+ -i src/wxMaxima.cpp src/wxMaximaFrame.cpp || die "sed failed"
+}
+
+src_configure() {
+ econf \
+ --enable-dnd \
+ --enable-printing \
+ --with-wx-config=${WX_CONFIG} \
+ $(use_enable unicode unicode-glyphs)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ doicon data/wxmaxima.png
+ make_desktop_entry wxmaxima wxMaxima wxmaxima
+ dodir /usr/share/doc/${PF}
+ dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
+ dodoc AUTHORS
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}