1 |
markusle 07/09/11 01:31:32 |
2 |
|
3 |
Modified: ChangeLog epix-1.1.15.ebuild |
4 |
Log: |
5 |
Added emacs support (see bug #182056). |
6 |
(Portage version: 2.1.3.9) |
7 |
|
8 |
Revision Changes Path |
9 |
1.15 sci-visualization/epix/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.15&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.15&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?r1=1.14&r2=1.15 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v |
18 |
retrieving revision 1.14 |
19 |
retrieving revision 1.15 |
20 |
diff -u -r1.14 -r1.15 |
21 |
--- ChangeLog 9 Sep 2007 14:09:50 -0000 1.14 |
22 |
+++ ChangeLog 11 Sep 2007 01:31:32 -0000 1.15 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for sci-visualization/epix |
25 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.14 2007/09/09 14:09:50 markusle Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.15 2007/09/11 01:31:32 markusle Exp $ |
28 |
+ |
29 |
+ 11 Sep 2007; Markus Dittrich <markusle@g.o> epix-1.1.15.ebuild: |
30 |
+ Added emacs support (see bug #182056). Thanks much to |
31 |
+ <opfer@g.o> for his patch. |
32 |
|
33 |
*epix-1.1.15 (09 Sep 2007) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 sci-visualization/epix/epix-1.1.15.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/epix-1.1.15.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/epix-1.1.15.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/epix-1.1.15.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: epix-1.1.15.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/epix/epix-1.1.15.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- epix-1.1.15.ebuild 9 Sep 2007 14:09:50 -0000 1.1 |
51 |
+++ epix-1.1.15.ebuild 11 Sep 2007 01:31:32 -0000 1.2 |
52 |
@@ -1,8 +1,8 @@ |
53 |
# Copyright 1999-2007 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/epix-1.1.15.ebuild,v 1.1 2007/09/09 14:09:50 markusle Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/epix-1.1.15.ebuild,v 1.2 2007/09/11 01:31:32 markusle Exp $ |
57 |
|
58 |
-inherit toolchain-funcs flag-o-matic |
59 |
+inherit elisp-common flag-o-matic toolchain-funcs |
60 |
|
61 |
DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)" |
62 |
HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html" |
63 |
@@ -11,9 +11,11 @@ |
64 |
|
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~x86" |
67 |
-IUSE="" |
68 |
+IUSE="emacs" |
69 |
|
70 |
DEPEND="virtual/tetex" |
71 |
+RDEPEND="emacs? ( virtual/emacs )" |
72 |
+SITEFILE=50${PN}-gentoo.el |
73 |
|
74 |
src_unpack() { |
75 |
unpack ${A} |
76 |
@@ -24,5 +26,20 @@ |
77 |
} |
78 |
|
79 |
src_install() { |
80 |
- make DESTDIR="${D}" install || die "install failed" |
81 |
+ emake DESTDIR="${D}" install || die "install failed" |
82 |
+ if use emacs; then |
83 |
+ # do compilation here as the make install target will |
84 |
+ # create the .el file |
85 |
+ elisp-compile *.el || die "elisp-compile failed!" |
86 |
+ elisp-install ${PN} *.elc *.el || die "elisp-install failed!" |
87 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
88 |
+ fi |
89 |
+} |
90 |
+ |
91 |
+pkg_postinst() { |
92 |
+ use emacs && elisp-site-regen |
93 |
+} |
94 |
+ |
95 |
+pkg_postrm() { |
96 |
+ use emacs && elisp-site-regen |
97 |
} |
98 |
|
99 |
|
100 |
|
101 |
-- |
102 |
gentoo-commits@g.o mailing list |