Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/auctex: auctex-11.86.ebuild ChangeLog
Date: Wed, 24 Feb 2010 20:00:28
Message-Id: E1NkNPH-000611-1b@stork.gentoo.org
1 ulm 10/02/24 20:00:27
2
3 Modified: ChangeLog
4 Added: auctex-11.86.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc63/cvs/Linux i686)
8
9 Revision Changes Path
10 1.98 app-emacs/auctex/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/auctex/ChangeLog?rev=1.98&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/auctex/ChangeLog?rev=1.98&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/auctex/ChangeLog?r1=1.97&r2=1.98
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v
19 retrieving revision 1.97
20 retrieving revision 1.98
21 diff -u -r1.97 -r1.98
22 --- ChangeLog 30 Jan 2010 18:03:35 -0000 1.97
23 +++ ChangeLog 24 Feb 2010 20:00:26 -0000 1.98
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-emacs/auctex
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v 1.97 2010/01/30 18:03:35 ulm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v 1.98 2010/02/24 20:00:26 ulm Exp $
29 +
30 +*auctex-11.86 (24 Feb 2010)
31 +
32 + 24 Feb 2010; Ulrich Mueller <ulm@g.o> +auctex-11.86.ebuild:
33 + Version bump.
34
35 *auctex-11.85-r1 (30 Jan 2010)
36
37
38
39
40 1.1 app-emacs/auctex/auctex-11.86.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/auctex/auctex-11.86.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/auctex/auctex-11.86.ebuild?rev=1.1&content-type=text/plain
44
45 Index: auctex-11.86.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/auctex-11.86.ebuild,v 1.1 2010/02/24 20:00:26 ulm Exp $
50
51 EAPI=3
52
53 inherit elisp eutils latex-package
54
55 DESCRIPTION="Extended support for writing, formatting and using (La)TeX, Texinfo and BibTeX files"
56 HOMEPAGE="http://www.gnu.org/software/auctex/"
57 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
58
59 LICENSE="GPL-3 FDL-1.2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
62 IUSE="preview-latex"
63
64 DEPEND="virtual/latex-base
65 preview-latex? ( !dev-tex/preview-latex
66 app-text/dvipng
67 app-text/ghostscript-gpl )"
68 RDEPEND="${DEPEND}"
69
70 TEXMF="/usr/share/texmf-site"
71
72 src_configure() {
73 # Remove broken Info file (will be recreated by the build system)
74 rm doc/auctex.info*
75
76 EMACS_NAME=emacs EMACS_FLAVOUR=emacs econf --disable-build-dir-test \
77 --with-auto-dir="${EPREFIX}/var/lib/auctex" \
78 --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
79 --with-packagelispdir="${EPREFIX}${SITELISP}/${PN}" \
80 --with-packagedatadir="${EPREFIX}${SITEETC}/${PN}" \
81 --with-texmf-dir="${EPREFIX}${TEXMF}" \
82 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
83 $(use_enable preview-latex preview) || die "econf failed"
84 }
85
86 src_compile() {
87 emake || die "emake failed"
88 cd doc; emake tex-ref.pdf || die "creation of tex-ref.pdf failed"
89 }
90
91 src_install() {
92 emake -j1 DESTDIR="${D}" install || die "emake install failed"
93 elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die
94 if use preview-latex; then
95 elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el" || die
96 fi
97 keepdir /var/lib/auctex
98 dodoc ChangeLog CHANGES README RELEASE TODO FAQ INSTALL*
99 }
100
101 pkg_postinst() {
102 # rebuild TeX-inputfiles-database
103 use preview-latex && latex-package_pkg_postinst
104 elisp-site-regen
105 }
106
107 pkg_postrm(){
108 use preview-latex && latex-package_pkg_postrm
109 elisp-site-regen
110 }