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.0.2.ebuild
Date: Fri, 28 Sep 2007 13:43:17
Message-Id: E1IbFzJ-0005fI-L1@stork.gentoo.org
1 markusle 07/09/28 13:34:37
2
3 Modified: ChangeLog
4 Added: epix-1.2.0.2.ebuild
5 Log:
6 Version bump (see bug #194061).
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.19 sci-visualization/epix/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 15 Sep 2007 13:15:57 -0000 1.18
23 +++ ChangeLog 28 Sep 2007 13:34:37 -0000 1.19
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-visualization/epix
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.18 2007/09/15 13:15:57 markusle Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.19 2007/09/28 13:34:37 markusle Exp $
29 +
30 +*epix-1.2.0.2 (28 Sep 2007)
31 +
32 + 28 Sep 2007; Markus Dittrich <markusle@g.o> +epix-1.2.0.2.ebuild:
33 + Version bump (see bug #194061).
34
35 *epix-1.1.17 (15 Sep 2007)
36
37
38
39
40 1.1 sci-visualization/epix/epix-1.2.0.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/epix-1.2.0.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/epix-1.2.0.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: epix-1.2.0.2.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/epix-1.2.0.2.ebuild,v 1.1 2007/09/28 13:34:37 markusle Exp $
50
51 inherit elisp-common flag-o-matic toolchain-funcs bash-completion
52
53 MY_PV="${PV/%.2/-2}"
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/${PN}-${MY_PV}_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 S="${WORKDIR}/${PN}-${MY_PV}"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${FILESDIR}"/${PN}-1.1.17-doc-gentoo.patch
75 sed -e 's:doc/${PACKAGE_TARNAME}:doc/${PACKAGE_TARNAME}-${PACKAGE_VERSION}:' \
76 -i configure || die "sed on configure failed"
77 }
78
79
80 src_compile() {
81 cd "${S}"
82 econf --with-nolisp || die "configure failed"
83 emake || die "compile failed"
84 }
85
86
87 src_install() {
88 emake DESTDIR="${D}" install || die "install failed"
89 if use emacs; then
90 # do compilation here as the make install target will
91 # create the .el file
92 elisp-compile *.el || die "elisp-compile failed!"
93 elisp-install ${PN} *.elc *.el || die "elisp-install failed!"
94 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
95 fi
96 dobashcompletion bash_completions \
97 || die "install of bash completions failed"
98 }
99
100 pkg_postinst() {
101 use emacs && elisp-site-regen
102 }
103
104 pkg_postrm() {
105 use emacs && elisp-site-regen
106 }
107
108
109
110 --
111 gentoo-commits@g.o mailing list