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.1.17.ebuild
Date: Sat, 15 Sep 2007 13:23:26
Message-Id: E1IWXV7-000736-Us@stork.gentoo.org
1 markusle 07/09/15 13:15:57
2
3 Modified: ChangeLog
4 Added: epix-1.1.17.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.18 sci-visualization/epix/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.18&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.18&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/ChangeLog?r1=1.17&r2=1.18
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v
19 retrieving revision 1.17
20 retrieving revision 1.18
21 diff -u -r1.17 -r1.18
22 --- ChangeLog 13 Sep 2007 13:07:17 -0000 1.17
23 +++ ChangeLog 15 Sep 2007 13:15:57 -0000 1.18
24 @@ -1,6 +1,13 @@
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.17 2007/09/13 13:07:17 markusle Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.18 2007/09/15 13:15:57 markusle Exp $
29 +
30 +*epix-1.1.17 (15 Sep 2007)
31 +
32 + 15 Sep 2007; Markus Dittrich <markusle@g.o> +files/epix-1.1.17-doc-gentoo.patch, +epix-1.1.17.ebuild:
33 + Version bump. Thanks much to the maintainer Andrew D. Hwang
34 + <ahwang@××××××××××××××××.edu> for his efforts to making the epix
35 + install on gentoo even smoother!
36
37 13 Sep 2007; Markus Dittrich <markusle@g.o>
38 +files/50epix-gentoo.el:
39
40
41
42 1.1 sci-visualization/epix/epix-1.1.17.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/epix-1.1.17.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/epix/epix-1.1.17.ebuild?rev=1.1&content-type=text/plain
46
47 Index: epix-1.1.17.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.1.17.ebuild,v 1.1 2007/09/15 13:15:57 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}"/${P}-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
78 src_compile() {
79 cd "${S}"
80 econf --with-nolisp || die "configure failed"
81 emake || die "compile failed"
82 }
83
84
85 src_install() {
86 emake DESTDIR="${D}" install || die "install failed"
87 if use emacs; then
88 # do compilation here as the make install target will
89 # create the .el file
90 elisp-compile *.el || die "elisp-compile failed!"
91 elisp-install ${PN} *.elc *.el || die "elisp-install failed!"
92 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
93 fi
94 dobashcompletion bash_completions \
95 || die "install of bash completions failed"
96 }
97
98 pkg_postinst() {
99 use emacs && elisp-site-regen
100 }
101
102 pkg_postrm() {
103 use emacs && elisp-site-regen
104 }
105
106
107
108 --
109 gentoo-commits@g.o mailing list