summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2006-11-22 07:57:41 +0000
committerChristian Faulhammer <opfer@gentoo.org>2006-11-22 07:57:41 +0000
commited775e466d572bd387bc147eded2554a7ec3b146 (patch)
tree67a38620e306f78b1930e6f82e48f418316769c5 /app-emacs
parentstable x86, bug #155545 (diff)
downloadgentoo-2-ed775e466d572bd387bc147eded2554a7ec3b146.tar.gz
gentoo-2-ed775e466d572bd387bc147eded2554a7ec3b146.tar.bz2
gentoo-2-ed775e466d572bd387bc147eded2554a7ec3b146.zip
added selfparsing option to SITEFILE, so steps that should follow are detected; prettyprinted ebuild a bit, added some quotes around variables, added trailing slash to HOMEPAGE URI
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/auctex/ChangeLog10
-rw-r--r--app-emacs/auctex/auctex-11.83-r1.ebuild55
-rw-r--r--app-emacs/auctex/files/52auctex-gentoo.el6
-rw-r--r--app-emacs/auctex/files/digest-auctex-11.83-r13
4 files changed, 73 insertions, 1 deletions
diff --git a/app-emacs/auctex/ChangeLog b/app-emacs/auctex/ChangeLog
index e406ff242120..13e4945e67b9 100644
--- a/app-emacs/auctex/ChangeLog
+++ b/app-emacs/auctex/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-emacs/auctex
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v 1.44 2006/11/16 21:20:44 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/ChangeLog,v 1.45 2006/11/22 07:57:41 opfer Exp $
+
+*auctex-11.83-r1 (22 Nov 2006)
+
+ 22 Nov 2006; Christian Faulhammer <opfer@gentoo.org>
+ +files/52auctex-gentoo.el, +auctex-11.83-r1.ebuild:
+ added selfparsing option to SITEFILE, so steps that should follow are
+ detected; prettyprinted ebuild a bit, added some quotes around variables,
+ added trailing slash to HOMEPAGE URI
16 Nov 2006; Christian Faulhammer <opfer@gentoo.org> auctex-11.83.ebuild:
added ghostscript dependency for preview-latex
diff --git a/app-emacs/auctex/auctex-11.83-r1.ebuild b/app-emacs/auctex/auctex-11.83-r1.ebuild
new file mode 100644
index 000000000000..efe90ec376bd
--- /dev/null
+++ b/app-emacs/auctex/auctex-11.83-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/auctex/auctex-11.83-r1.ebuild,v 1.1 2006/11/22 07:57:41 opfer Exp $
+
+inherit elisp eutils latex-package autotools
+
+DESCRIPTION="AUCTeX is an extensible package that supports writing and formatting TeX files"
+HOMEPAGE="http://www.gnu.org/software/auctex/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="preview-latex"
+
+DEPEND="preview-latex? ( !dev-tex/preview-latex
+ app-text/dvipng
+ virtual/ghostscript )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # skip XEmacs detection. this is a workaround for emacs23
+ epatch "${FILESDIR}/${PN}-11.82-configure.diff"
+}
+
+src_compile() {
+ econf --disable-build-dir-test \
+ --with-auto-dir=${D}/var/lib/auctex \
+ --with-lispdir=${D}/usr/share/emacs/site-lisp \
+ $(use_enable preview-latex preview) || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ dosed ${SITELISP}/tex-site.el || die
+ elisp-site-file-install "${FILESDIR}/52auctex-gentoo.el"
+ if use preview-latex; then
+ elisp-site-file-install "${FILESDIR}/60auctex-gentoo.el"
+ fi
+ dodoc ChangeLog CHANGES README RELEASE TODO FAQ INSTALL*
+}
+
+pkg_postinst() {
+ # rebuild TeX-inputfiles-database
+ use preview-latex && latex-package_pkg_postinst
+ elisp-site-regen
+}
+
+pkg_postrm(){
+ use preview-latex && latex-package_pkg_postrm
+ elisp-site-regen
+}
diff --git a/app-emacs/auctex/files/52auctex-gentoo.el b/app-emacs/auctex/files/52auctex-gentoo.el
new file mode 100644
index 000000000000..d3e45c96ad99
--- /dev/null
+++ b/app-emacs/auctex/files/52auctex-gentoo.el
@@ -0,0 +1,6 @@
+
+;;; auctex site-lisp configuration
+
+(load "auctex.el" nil t t)
+;;;;; detect needed steps after rebuild
+(setq TeX-parse-self t) \ No newline at end of file
diff --git a/app-emacs/auctex/files/digest-auctex-11.83-r1 b/app-emacs/auctex/files/digest-auctex-11.83-r1
new file mode 100644
index 000000000000..a6d597835120
--- /dev/null
+++ b/app-emacs/auctex/files/digest-auctex-11.83-r1
@@ -0,0 +1,3 @@
+MD5 19480487036f602841507c0e151674c2 auctex-11.83.tar.gz 889524
+RMD160 3329c1910b00a699e19779fbf00035ce0c059d95 auctex-11.83.tar.gz 889524
+SHA256 c5ee529d40574bfdce880e0d347cdf255a34cd5ff0a7f178dfdb238e621ef53d auctex-11.83.tar.gz 889524