summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-12-04 11:58:39 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-12-04 11:58:39 +0000
commite3e40828846058b88d64cfa11fde4a4aef4915b1 (patch)
tree3188e8f520ecc83955f5b7a98fadd8c29cc91c56 /sci-mathematics
parentVersion bump (diff)
downloadgentoo-2-e3e40828846058b88d64cfa11fde4a4aef4915b1.tar.gz
gentoo-2-e3e40828846058b88d64cfa11fde4a4aef4915b1.tar.bz2
gentoo-2-e3e40828846058b88d64cfa11fde4a4aef4915b1.zip
Modernized with newer wxwigets eclass, fixed missing running dependencies
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/wxmaxima/ChangeLog6
-rw-r--r--sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild18
2 files changed, 16 insertions, 8 deletions
diff --git a/sci-mathematics/wxmaxima/ChangeLog b/sci-mathematics/wxmaxima/ChangeLog
index c2ac91c248dc..64d59f27dd32 100644
--- a/sci-mathematics/wxmaxima/ChangeLog
+++ b/sci-mathematics/wxmaxima/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/wxmaxima
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.6 2007/09/29 00:16:14 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.7 2007/12/04 11:58:39 bicatali Exp $
+
+ 04 Dec 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ wxmaxima-0.7.3a.ebuild:
+ Modernized with newer wxwigets eclass, fixed missing running dependencies
29 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> wxmaxima-0.7.1.ebuild,
wxmaxima-0.7.3a.ebuild:
diff --git a/sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild b/sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild
index 5401c53edddb..95bd8341b8a8 100644
--- a/sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild
+++ b/sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild,v 1.2 2007/09/29 00:16:14 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild,v 1.3 2007/12/04 11:58:39 bicatali Exp $
+WX_GTK_VER="2.6"
inherit eutils autotools wxwidgets fdo-mime
MYP=wxMaxima-${PV}
@@ -16,17 +17,20 @@ KEYWORDS="~amd64 ~x86"
IUSE="unicode"
DEPEND=">=dev-libs/libxml2-2.5.0
=x11-libs/wxGTK-2.6*"
-RDEPEND=">=sci-mathematics/maxima-5.13.0"
+RDEPEND="${DEPEND}
+ >=sci-mathematics/maxima-5.13.0"
-S=${WORKDIR}/${MYP}
+S="${WORKDIR}/${MYP}"
-src_compile () {
- export WX_GTK_VER="2.6"
+pkg_setup() {
if use unicode; then
need-wxwidgets unicode
else
- need-wxwidgets gtk2
+ need-wxwidgets ansi
fi
+}
+
+src_compile () {
# consistent package names
sed -i \
@@ -54,7 +58,7 @@ src_install () {
make_desktop_entry wxmaxima "wxMaxima ${PV}" wxmaxima \
"Science;Math;Education"
- dosym ${PORTDIR}/licenses/${LICENSE} /usr/share/${PN}/COPYING
+ dosym "${PORTDIR}"/licenses/${LICENSE} /usr/share/${PN}/COPYING
dodir /usr/share/doc/${PF}
dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
dodoc AUTHORS