summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-04-06 03:57:22 +0000
committerMamoru Komachi <usata@gentoo.org>2005-04-06 03:57:22 +0000
commit98fac55b450e162d64440a2b85f7564a6674c3f0 (patch)
tree4f18fcfd0beadbeeefb0e4bf8be66139a7634714 /dev-tex
parentFix stable tracking. Probably was a typo. (diff)
downloadgentoo-2-98fac55b450e162d64440a2b85f7564a6674c3f0.tar.gz
gentoo-2-98fac55b450e162d64440a2b85f7564a6674c3f0.tar.bz2
gentoo-2-98fac55b450e162d64440a2b85f7564a6674c3f0.zip
Version bumped.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/preview-latex/ChangeLog8
-rw-r--r--dev-tex/preview-latex/Manifest6
-rw-r--r--dev-tex/preview-latex/files/digest-preview-latex-0.9.11
-rw-r--r--dev-tex/preview-latex/preview-latex-0.9.1.ebuild76
4 files changed, 88 insertions, 3 deletions
diff --git a/dev-tex/preview-latex/ChangeLog b/dev-tex/preview-latex/ChangeLog
index e620964e38a5..88ff60651790 100644
--- a/dev-tex/preview-latex/ChangeLog
+++ b/dev-tex/preview-latex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tex/preview-latex
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/preview-latex/ChangeLog,v 1.11 2005/03/11 14:09:07 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/preview-latex/ChangeLog,v 1.12 2005/04/06 03:57:22 usata Exp $
+
+*preview-latex-0.9.1 (06 Apr 2005)
+
+ 06 Apr 2005; Mamoru KOMACHI <usata@gentoo.org>
+ +preview-latex-0.9.1.ebuild:
+ Version bumped.
11 Mar 2005; David Holm <dholm@gentoo.org> preview-latex-0.8.1.ebuild:
Added to ~ppc.
diff --git a/dev-tex/preview-latex/Manifest b/dev-tex/preview-latex/Manifest
index 1349f0944b61..fe721ac0baeb 100644
--- a/dev-tex/preview-latex/Manifest
+++ b/dev-tex/preview-latex/Manifest
@@ -1,7 +1,9 @@
-MD5 9eaf4e620d509214ece2902d1f3b98dd ChangeLog 1598
-MD5 786cb4377be8732dba7dbf85a457e85f metadata.xml 183
MD5 c721113736a30a8115c3017e82a4433f preview-latex-0.7.8.ebuild 1889
+MD5 786cb4377be8732dba7dbf85a457e85f metadata.xml 183
+MD5 9eaf4e620d509214ece2902d1f3b98dd ChangeLog 1598
MD5 6167bc61d78dee833985fcc59c5d9e85 preview-latex-0.8.1.ebuild 1957
+MD5 3c2db65ab7594cda41ce693cc704ef79 preview-latex-0.9.1.ebuild 1957
MD5 a8cbe2c49c69efd921b171793b8cbfe7 files/60preview-latex-gentoo.el 138
MD5 229b82d8b5e7e15c2897794cbe5a1d8c files/digest-preview-latex-0.7.8 71
MD5 766b775e89ec92226d5461b9418c847d files/digest-preview-latex-0.8.1 71
+MD5 3495f3ff4f11f7beb9756ec2871204c1 files/digest-preview-latex-0.9.1 71
diff --git a/dev-tex/preview-latex/files/digest-preview-latex-0.9.1 b/dev-tex/preview-latex/files/digest-preview-latex-0.9.1
new file mode 100644
index 000000000000..884e7d8b8eac
--- /dev/null
+++ b/dev-tex/preview-latex/files/digest-preview-latex-0.9.1
@@ -0,0 +1 @@
+MD5 453ebc8a970555ad4cd1145777177c21 preview-latex-0.9.1.tar.gz 281428
diff --git a/dev-tex/preview-latex/preview-latex-0.9.1.ebuild b/dev-tex/preview-latex/preview-latex-0.9.1.ebuild
new file mode 100644
index 000000000000..6a02c523a458
--- /dev/null
+++ b/dev-tex/preview-latex/preview-latex-0.9.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/preview-latex/preview-latex-0.9.1.ebuild,v 1.1 2005/04/06 03:57:22 usata Exp $
+
+inherit latex-package elisp-common
+
+DESCRIPTION="Renders embed latex environments such as math or figures in realtime"
+HOMEPAGE="http://preview-latex.sourceforge.net/"
+SRC_URI="mirror://sourceforge/preview-latex/${P}.tar.gz"
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
+IUSE="emacs xemacs"
+
+# if you don't have either emacs or xemacs, defaults to emacs. bug #54183
+DEPEND="emacs? ( virtual/emacs
+ >=app-emacs/auctex-11.55 )
+ xemacs? ( virtual/xemacs
+ >=app-xemacs/auctex-1.32
+ app-xemacs/fsf-compat )
+ !xemacs? ( virtual/emacs
+ >=app-emacs/auctex-11.55 )
+ virtual/ghostscript
+ virtual/tetex"
+
+src_unpack() {
+ unpack ${A}
+ cp -a ${P}/* ${T}
+}
+
+src_compile() {
+ local myconf
+ export LC_ALL=en_US.ISO8859-1
+
+ if use emacs || ! use xemacs ; then
+ econf --with-emacs \
+ --with-lispdir=${D}/usr/share/emacs/site-lisp/${PN} \
+ || die
+ emake -j1 || die "make ${PN} for emacs failed"
+ fi
+ if use xemacs; then
+ cd ${T}
+ econf --with-xemacs \
+ --with-packagedir=${D}/usr/lib/xemacs/site-packages \
+ || die
+ emake -j1 || die "make ${PN} for xemacs failed"
+ fi
+}
+
+src_install() {
+
+ if use emacs || ! use xemacs ; then
+ # hack.- we cant call texhash within the make install because of
+ # sandbox violations. doing it later by hand
+ einstall texmfdir=${D}${TEXMF} TEXHASH=/bin/true || die
+ elisp-site-file-install ${FILESDIR}/60preview-latex-gentoo.el
+ fi
+ if use xemacs; then
+ cd ${T}
+ einstall texmfdir=${D}${TEXMF} TEXHASH=/bin/true || die
+ fi
+
+ dodoc ChangeLog FAQ INSTALL PROBLEMS README RELEASE TODO doc/preview-latex.dvi
+}
+
+pkg_postinst() {
+ latex-package_pkg_postinst
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ latex-package_pkg_postrm
+ use emacs && elisp-site-regen
+}