Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/wxmaxima: ChangeLog wxmaxima-0.7.6.ebuild
Date: Thu, 09 Oct 2008 10:08:46
Message-Id: E1KnsRn-0003G1-50@stork.gentoo.org
1 bicatali 08/10/09 10:08:43
2
3 Modified: ChangeLog
4 Added: wxmaxima-0.7.6.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
8
9 Revision Changes Path
10 1.19 sci-mathematics/wxmaxima/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 19 Jun 2008 15:16:24 -0000 1.18
23 +++ ChangeLog 9 Oct 2008 10:08:43 -0000 1.19
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-mathematics/wxmaxima
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.18 2008/06/19 15:16:24 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.19 2008/10/09 10:08:43 bicatali Exp $
29 +
30 +*wxmaxima-0.7.6 (09 Oct 2008)
31 +
32 + 09 Oct 2008; Sébastien Fabbro <bicatali@g.o>
33 + +wxmaxima-0.7.6.ebuild:
34 + Version bump
35
36 19 Jun 2008; Sébastien Fabbro <bicatali@g.o>
37 wxmaxima-0.7.5.ebuild:
38
39
40
41 1.1 sci-mathematics/wxmaxima/wxmaxima-0.7.6.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: wxmaxima-0.7.6.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.6.ebuild,v 1.1 2008/10/09 10:08:43 bicatali Exp $
51
52 WX_GTK_VER="2.8"
53 EAPI="2"
54 inherit eutils wxwidgets fdo-mime
55
56 MYP=wxMaxima-${PV}
57
58 DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit."
59 HOMEPAGE="http://wxmaxima.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE="unicode"
66
67 DEPEND=">=dev-libs/libxml2-2.5.0
68 x11-libs/wxGTK:2.8"
69 RDEPEND="${DEPEND}
70 sci-visualization/gnuplot[wxwindows]
71 >=sci-mathematics/maxima-5.15.0"
72
73 S="${WORKDIR}/${MYP}"
74
75 src_prepare() {
76 # consistent package names
77 sed -i \
78 -e "s:${datadir}/wxMaxima:${datadir}/${PN}:g" \
79 Makefile.in data/Makefile.in || die "sed failed"
80
81 sed -i \
82 -e 's:share/wxMaxima:share/wxmaxima:g' \
83 src/wxMaxima.cpp || die "sed failed"
84 }
85
86 src_configure() {
87 econf \
88 --enable-dnd \
89 --enable-printing \
90 --with-wx-config=${WX_CONFIG} \
91 $(use_unicode unicode-glyphs)
92 }
93
94 src_install () {
95 emake DESTDIR="${D}" install || die "emake install failed"
96 doicon wxmaxima.png
97 make_desktop_entry wxmaxima wxMaxima wxmaxima
98 dodir /usr/share/doc/${PF}
99 dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
100 dodoc AUTHORS
101 }
102
103 pkg_postinst() {
104 fdo-mime_desktop_database_update
105 }
106
107 pkg_postrm() {
108 fdo-mime_desktop_database_update
109 }