1 |
grozin 08/11/29 04:02:07 |
2 |
|
3 |
Modified: ChangeLog maxima-5.16.3.ebuild |
4 |
Log: |
5 |
Path to texmf-site now hard-coded |
6 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.26-tuxonice i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.60 sci-mathematics/maxima/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/maxima/ChangeLog?rev=1.60&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/maxima/ChangeLog?rev=1.60&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/maxima/ChangeLog?r1=1.59&r2=1.60 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v |
18 |
retrieving revision 1.59 |
19 |
retrieving revision 1.60 |
20 |
diff -u -r1.59 -r1.60 |
21 |
--- ChangeLog 3 Sep 2008 03:03:38 -0000 1.59 |
22 |
+++ ChangeLog 29 Nov 2008 04:02:07 -0000 1.60 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for sci-mathematics/maxima |
25 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.59 2008/09/03 03:03:38 aballier Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/ChangeLog,v 1.60 2008/11/29 04:02:07 grozin Exp $ |
28 |
+ |
29 |
+ 29 Nov 2008; Andrey Grozin <grozin@g.o> maxima-5.16.3.ebuild: |
30 |
+ Path to texmf-site now hard-coded |
31 |
|
32 |
03 Sep 2008; Alexis Ballier <aballier@g.o> maxima-5.15.0-r1.ebuild, |
33 |
maxima-5.16.3.ebuild: |
34 |
|
35 |
|
36 |
|
37 |
1.3 sci-mathematics/maxima/maxima-5.16.3.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/maxima/maxima-5.16.3.ebuild?rev=1.3&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/maxima/maxima-5.16.3.ebuild?rev=1.3&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/maxima/maxima-5.16.3.ebuild?r1=1.2&r2=1.3 |
42 |
|
43 |
Index: maxima-5.16.3.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.16.3.ebuild,v |
46 |
retrieving revision 1.2 |
47 |
retrieving revision 1.3 |
48 |
diff -u -r1.2 -r1.3 |
49 |
--- maxima-5.16.3.ebuild 3 Sep 2008 03:03:38 -0000 1.2 |
50 |
+++ maxima-5.16.3.ebuild 29 Nov 2008 04:02:07 -0000 1.3 |
51 |
@@ -1,6 +1,6 @@ |
52 |
# Copyright 1999-2008 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.16.3.ebuild,v 1.2 2008/09/03 03:03:38 aballier Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/maxima/maxima-5.16.3.ebuild,v 1.3 2008/11/29 04:02:07 grozin Exp $ |
56 |
inherit eutils elisp-common |
57 |
|
58 |
DESCRIPTION="Free computer algebra environment based on Macsyma" |
59 |
@@ -9,7 +9,7 @@ |
60 |
|
61 |
LICENSE="GPL-2 AECA" |
62 |
SLOT="0" |
63 |
-KEYWORDS="~amd64 ~sparc ~x86" |
64 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
65 |
|
66 |
# Supported lisps with readline |
67 |
SUPP_RL="gcl clisp" |
68 |
@@ -62,6 +62,8 @@ |
69 |
DEPEND="${RDEPEND} |
70 |
sys-apps/texinfo" |
71 |
|
72 |
+TEXMF=/usr/share/texmf-site |
73 |
+ |
74 |
pkg_setup() { |
75 |
LISPS="" |
76 |
|
77 |
@@ -89,43 +91,6 @@ |
78 |
ewarn "Please use gcl from http://repo.or.cz/w/gentoo-lisp-overlay.git" |
79 |
fi |
80 |
|
81 |
- # Calculating MAXIMA_TEXMFDIR |
82 |
- if use latex; then |
83 |
- local TEXMFPATH="$(kpsewhich -var-value=TEXMFSITE)" |
84 |
- local TEXMFCONFIGFILE="$(kpsewhich texmf.cnf)" |
85 |
- |
86 |
- if [ -z "${TEXMFPATH}" ]; then |
87 |
- eerror "You haven't defined the TEXMFSITE variable in your TeX config." |
88 |
- eerror "Please do so in the file ${TEXMFCONFIGFILE:-/var/lib/texmf/web2c/texmf.cnf}" |
89 |
- die "Define TEXMFSITE in TeX configuration!" |
90 |
- else |
91 |
- # go through the colon separated list of directories |
92 |
- # (maybe only one) provided in the variable |
93 |
- # TEXMFPATH (generated from TEXMFSITE from TeX's config) |
94 |
- # and choose only the first entry. |
95 |
- # All entries are separated by colons, even when defined |
96 |
- # with semi-colons, kpsewhich changes |
97 |
- # the output to a generic format, so IFS has to be redefined. |
98 |
- local IFS="${IFS}:" |
99 |
- |
100 |
- for strippedpath in ${TEXMFPATH}; do |
101 |
- if [ -d ${strippedpath} ]; then |
102 |
- MAXIMA_TEXMFDIR="${strippedpath}" |
103 |
- break |
104 |
- fi |
105 |
- done |
106 |
- |
107 |
- # verify if an existing path was chosen to prevent from |
108 |
- # installing into the wrong directory |
109 |
- if [ -z ${MAXIMA_TEXMFDIR} ]; then |
110 |
- eerror "TEXMFSITE does not contain any existing directory." |
111 |
- eerror "Please define an existing directory in your TeX config file" |
112 |
- eerror "${TEXMFCONFIGFILE:-/var/lib/texmf/web2c/texmf.cnf} or create at least one of the there specified directories" |
113 |
- die "TEXMFSITE variable did not contain an existing directory" |
114 |
- fi |
115 |
- fi |
116 |
- fi |
117 |
- |
118 |
if use X && ! built_with_use sci-visualization/gnuplot gd wxwindows; then |
119 |
elog "To benefit full plotting capability of maxima," |
120 |
elog "enable the gd USE flag for sci-visualization/gnuplot" |
121 |
@@ -175,7 +140,7 @@ |
122 |
done |
123 |
fi |
124 |
|
125 |
- econf ${myconf} || die "econf failed" |
126 |
+ econf ${myconf} |
127 |
emake || die "emake failed" |
128 |
} |
129 |
|
130 |
@@ -187,7 +152,7 @@ |
131 |
"Science;Math;Education" |
132 |
|
133 |
if use latex; then |
134 |
- insinto "${MAXIMA_TEXMFDIR}"/tex/latex/emaxima |
135 |
+ insinto ${TEXMF}/tex/latex/emaxima |
136 |
doins interfaces/emacs/emaxima/emaxima.sty |
137 |
fi |