diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-05-17 13:58:06 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-05-17 13:58:06 +0000 |
commit | aab0eca4253d759aa5a69b1f162615154f2947d2 (patch) | |
tree | 5d6865474c0c27f0ec8edb61cc53efb5e0b8c00a /dev-tex/preview-latex | |
parent | Version bump, closes #51275. (Manifest recommit) (diff) | |
download | gentoo-2-aab0eca4253d759aa5a69b1f162615154f2947d2.tar.gz gentoo-2-aab0eca4253d759aa5a69b1f162615154f2947d2.tar.bz2 gentoo-2-aab0eca4253d759aa5a69b1f162615154f2947d2.zip |
Version bumped. Closing bug #51101
Diffstat (limited to 'dev-tex/preview-latex')
-rw-r--r-- | dev-tex/preview-latex/ChangeLog | 7 | ||||
-rw-r--r-- | dev-tex/preview-latex/Manifest | 2 | ||||
-rw-r--r-- | dev-tex/preview-latex/files/digest-preview-latex-0.8.1 | 1 | ||||
-rw-r--r-- | dev-tex/preview-latex/preview-latex-0.8.1.ebuild | 86 |
4 files changed, 95 insertions, 1 deletions
diff --git a/dev-tex/preview-latex/ChangeLog b/dev-tex/preview-latex/ChangeLog index 5e277904ad8c..18596d499758 100644 --- a/dev-tex/preview-latex/ChangeLog +++ b/dev-tex/preview-latex/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-tex/preview-latex # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/preview-latex/ChangeLog,v 1.2 2004/03/22 16:21:22 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/preview-latex/ChangeLog,v 1.3 2004/05/17 13:58:06 usata Exp $ + +*preview-latex-0.8.1 (17 May 2004) + + 17 May 2004; Mamoru KOMACHI <usata@gentoo.org> preview-latex-0.8.1.ebuild: + Version bumped, closing bug #51101 *preview-latex-0.7.8 (01 Feb 2004) diff --git a/dev-tex/preview-latex/Manifest b/dev-tex/preview-latex/Manifest index f589c066e95d..512fa9d9a5ae 100644 --- a/dev-tex/preview-latex/Manifest +++ b/dev-tex/preview-latex/Manifest @@ -1,5 +1,7 @@ MD5 9d8228b8928af3feca29e8f2bee33050 preview-latex-0.7.8.ebuild 2106 MD5 786cb4377be8732dba7dbf85a457e85f metadata.xml 183 MD5 6d70a4ec1a68b824467aeddd28595734 ChangeLog 617 +MD5 93cc8baae382376bee8940458a4abad2 preview-latex-0.8.1.ebuild 2128 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 diff --git a/dev-tex/preview-latex/files/digest-preview-latex-0.8.1 b/dev-tex/preview-latex/files/digest-preview-latex-0.8.1 new file mode 100644 index 000000000000..14582b92db8a --- /dev/null +++ b/dev-tex/preview-latex/files/digest-preview-latex-0.8.1 @@ -0,0 +1 @@ +MD5 9c4afbf5c003da2873be5118a78a08d8 preview-latex-0.8.1.tar.gz 249624 diff --git a/dev-tex/preview-latex/preview-latex-0.8.1.ebuild b/dev-tex/preview-latex/preview-latex-0.8.1.ebuild new file mode 100644 index 000000000000..7b000a51038c --- /dev/null +++ b/dev-tex/preview-latex/preview-latex-0.8.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/preview-latex/preview-latex-0.8.1.ebuild,v 1.1 2004/05/17 13:58:06 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" +IUSE="emacs xemacs" + +DEPEND="emacs? ( virtual/emacs + >=app-emacs/auctex-11.14 ) + xemacs? ( virtual/xemacs + >=app-xemacs/auctex-1.32 ) + virtual/ghostscript + virtual/tetex" + +src_unpack() { + unpack ${A} + cp -a ${P}/* ${T} +} + +src_compile() { + export LC_ALL=en_US.ISO8859-1 + + if [ "`use emacs`" -a "`use xemacs`" ] ; then + econf --with-emacs \ + --with-lispdir=${D}/usr/share/emacs/site-lisp/${PN} \ + || die + emake || die + cd ${T} + econf --with-xemacs \ + --with-packagedir=${D}/usr/lib/xemacs/site-packages \ + || die + emake || die + elif [ "`use emacs`" -o "`use xemacs`" ] ; then + local myconf + if [ "`use emacs`" ] ; then + myconf="--with-emacs + --with-lispdir=${D}/usr/share/emacs/site-lisp/${PN}" + elif [ "`use xemacs`" ] ; then + myconf="--with-xemacs + --with-packagedir=${D}/usr/lib/xemacs/site-packages" + fi + econf ${myconf} || die + emake || die + else + econf || die + emake || die + fi +} + +src_install() { + # hack.- we cant call texhash within the make install because of sandbox violations + # doing it later by hand + if [ "`use emacs`" -a "`use xemacs`" ] ; then + einstall texmfdir=${D}${TEXMF} TEXHASH=/bin/true || die + pushd ${T} + einstall texmfdir=${D}${TEXMF} TEXHASH=/bin/true || die + popd + else + einstall texmfdir=${D}${TEXMF} TEXHASH=/bin/true || die + fi + + if [ -n "`use emacs`" ] ; then + elisp-site-file-install ${FILESDIR}/60preview-latex-gentoo.el + 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 +} |