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