1 |
markusle 08/09/27 11:01:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gri-2.12.18.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc9/cvs/Linux 2.6.26-SENTINEL-2 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.23 sci-misc/gri/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gri/ChangeLog?rev=1.23&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gri/ChangeLog?rev=1.23&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gri/ChangeLog?r1=1.22&r2=1.23 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-misc/gri/ChangeLog,v |
19 |
retrieving revision 1.22 |
20 |
retrieving revision 1.23 |
21 |
diff -u -r1.22 -r1.23 |
22 |
--- ChangeLog 24 Aug 2008 17:29:46 -0000 1.22 |
23 |
+++ ChangeLog 27 Sep 2008 11:01:32 -0000 1.23 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sci-misc/gri |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/ChangeLog,v 1.22 2008/08/24 17:29:46 ulm Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/ChangeLog,v 1.23 2008/09/27 11:01:32 markusle Exp $ |
29 |
+ |
30 |
+*gri-2.12.18 (27 Sep 2008) |
31 |
+ |
32 |
+ 27 Sep 2008; Markus Dittrich <markusle@g.o> +gri-2.12.18.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
24 Aug 2008; Ulrich Mueller <ulm@g.o> -gri-2.12.14.ebuild, |
36 |
gri-2.12.16-r1.ebuild, gri-2.12.17.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 sci-misc/gri/gri-2.12.18.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gri/gri-2.12.18.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gri/gri-2.12.18.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: gri-2.12.18.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sci-misc/gri/gri-2.12.18.ebuild,v 1.1 2008/09/27 11:01:32 markusle Exp $ |
50 |
|
51 |
inherit eutils elisp-common |
52 |
|
53 |
DESCRIPTION="language for scientific graphics programming" |
54 |
HOMEPAGE="http://gri.sourceforge.net/" |
55 |
SRC_URI="mirror://sourceforge/gri/${P}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~amd64 ~ppc ~x86" |
60 |
IUSE="doc emacs examples" |
61 |
RESTRICT="test" |
62 |
|
63 |
DEPEND=">=sci-libs/netcdf-3.5.0 |
64 |
virtual/latex-base |
65 |
media-gfx/imagemagick |
66 |
virtual/ghostscript |
67 |
emacs? ( virtual/emacs )" |
68 |
|
69 |
SITEFILE="50gri-gentoo.el" |
70 |
|
71 |
src_compile() { |
72 |
econf || die "econf failed." |
73 |
emake || die "emake failed." |
74 |
if use emacs; then |
75 |
elisp-compile src/*.el || die "elisp-compile failed" |
76 |
fi |
77 |
} |
78 |
|
79 |
src_install() { |
80 |
# Replace PREFIX now and correct paths in the startup message. |
81 |
sed -e s,PREFIX/share/gri/doc/,/usr/share/doc/${P}/, -i "${S}/src/startup.msg" |
82 |
|
83 |
einstall || die "einstall failed." |
84 |
|
85 |
# license text not necessary |
86 |
rm "${D}"/usr/share/gri/doc/license.txt |
87 |
|
88 |
# install target installs it always and in the wrong location |
89 |
# remove it here and call elisp-install in case of USE=emacs below |
90 |
rm -rf "${D}"/usr/share/emacs |
91 |
|
92 |
if ! use doc; then |
93 |
sed -e "s/Manual at.*//" -i "${D}"/usr/share/gri/startup.msg |
94 |
rm "${D}"/usr/share/gri/doc/cmdrefcard.ps |
95 |
rm "${D}"/usr/share/gri/doc/refcard.ps |
96 |
rm -rf "${D}"/usr/share/gri/doc/html |
97 |
fi |
98 |
if ! use examples; then |
99 |
sed -e "s/Examples at.*//" -i "${D}"/usr/share/gri/startup.msg |
100 |
rm -rf "${D}"/usr/share/gri/doc/examples |
101 |
fi |
102 |
|
103 |
dodoc README |
104 |
|
105 |
#move docs to the proper place |
106 |
mv "${D}"/usr/share/gri/doc/* "${D}/usr/share/doc/${PF}" |
107 |
rmdir "${D}/usr/share/gri/doc/" |
108 |
|
109 |
if use emacs; then |
110 |
cd src |
111 |
elisp-install ${PN} *.{el,elc} || die "elisp-install failed" |
112 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ |
113 |
|| die "elisp-site-file-install failed" |
114 |
fi |
115 |
} |
116 |
|
117 |
pkg_postinst() { |
118 |
use emacs && elisp-site-regen |
119 |
} |
120 |
|
121 |
pkg_postrm() { |
122 |
use emacs && elisp-site-regen |
123 |
} |