Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/epix: ChangeLog epix-1.2.1.ebuild epix-1.1.17.ebuild epix-1.1.15.ebuild
Date: Fri, 05 Oct 2007 02:09:54
Message-Id: E1IdcUX-0000uJ-1G@stork.gentoo.org
1 markusle 07/10/05 02:00:37
2
3 Modified: ChangeLog
4 Added: epix-1.2.1.ebuild
5 Removed: epix-1.1.17.ebuild epix-1.1.15.ebuild
6 Log:
7 Version bump and removed old versions.
8 (Portage version: 2.1.3.11)
9
10 Revision Changes Path
11 1.20 sci-visualization/epix/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.20&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 28 Sep 2007 13:34:37 -0000 1.19
24 +++ ChangeLog 5 Oct 2007 02:00:36 -0000 1.20
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-visualization/epix
27 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.19 2007/09/28 13:34:37 markusle Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.20 2007/10/05 02:00:36 markusle Exp $
30 +
31 +*epix-1.2.1 (05 Oct 2007)
32 +
33 + 05 Oct 2007; Markus Dittrich <markusle@g.o> -epix-1.1.15.ebuild,
34 + -epix-1.1.17.ebuild, +epix-1.2.1.ebuild:
35 + Version bump and removed old versions.
36
37 *epix-1.2.0.2 (28 Sep 2007)
38
39
40
41
42 1.1 sci-visualization/epix/epix-1.2.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/epix-1.2.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/epix-1.2.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: epix-1.2.1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/epix-1.2.1.ebuild,v 1.1 2007/10/05 02:00:36 markusle Exp $
52
53 inherit elisp-common flag-o-matic toolchain-funcs bash-completion
54
55 DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
56 HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html"
57 SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2"
58 LICENSE="GPL-2"
59
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="emacs"
63
64 DEPEND="virtual/tetex
65 emacs? ( virtual/emacs )"
66
67 SITEFILE=50${PN}-gentoo.el
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${FILESDIR}"/${PN}-1.1.17-doc-gentoo.patch
73 sed -e 's:doc/${PACKAGE_TARNAME}:doc/${PACKAGE_TARNAME}-${PACKAGE_VERSION}:' \
74 -i configure || die "sed on configure failed"
75 }
76
77 src_compile() {
78 cd "${S}"
79 econf --disable-epix-el || die "configure failed"
80 emake || die "compile failed"
81 }
82
83 src_install() {
84 emake DESTDIR="${D}" install || die "install failed"
85 if use emacs; then
86 # do compilation here as the make install target will
87 # create the .el file
88 elisp-compile *.el || die "elisp-compile failed!"
89 elisp-install ${PN} *.elc *.el || die "elisp-install failed!"
90 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
91 fi
92 dobashcompletion bash_completions \
93 || die "install of bash completions failed"
94 }
95
96 pkg_postinst() {
97 use emacs && elisp-site-regen
98 }
99
100 pkg_postrm() {
101 use emacs && elisp-site-regen
102 }
103
104
105
106 --
107 gentoo-commits@g.o mailing list