summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-05-25 13:51:34 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-05-25 13:51:34 +0000
commitc82d054dab010e02b5a6599548f762964908bb8f (patch)
tree42b871a8c4d00202f727b7cb082de3981a5ba5c0 /dev-tex
parentStable on amd64 wrt bug #320033 (diff)
downloadgentoo-2-c82d054dab010e02b5a6599548f762964908bb8f.tar.gz
gentoo-2-c82d054dab010e02b5a6599548f762964908bb8f.tar.bz2
gentoo-2-c82d054dab010e02b5a6599548f762964908bb8f.zip
version bump, by pavel sanda <ps@twin.jikos.cz>, bug #309115
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/latex2rtf/ChangeLog9
-rw-r--r--dev-tex/latex2rtf/latex2rtf-2.1.0.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/dev-tex/latex2rtf/ChangeLog b/dev-tex/latex2rtf/ChangeLog
index 0c9d3a30045a..b74909105134 100644
--- a/dev-tex/latex2rtf/ChangeLog
+++ b/dev-tex/latex2rtf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tex/latex2rtf
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/ChangeLog,v 1.32 2009/09/06 20:49:03 ranger Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/ChangeLog,v 1.33 2010/05/25 13:51:34 aballier Exp $
+
+*latex2rtf-2.1.0 (25 May 2010)
+
+ 25 May 2010; Alexis Ballier <aballier@gentoo.org> +latex2rtf-2.1.0.ebuild:
+ version bump, by pavel sanda <ps@twin.jikos.cz>, bug #309115
06 Sep 2009; Brent Baude <ranger@gentoo.org> latex2rtf-1.9.19.ebuild:
Marking latex2rtf-1.9.19 ppc64 for bug 276990
diff --git a/dev-tex/latex2rtf/latex2rtf-2.1.0.ebuild b/dev-tex/latex2rtf/latex2rtf-2.1.0.ebuild
new file mode 100644
index 000000000000..97895792265b
--- /dev/null
+++ b/dev-tex/latex2rtf/latex2rtf-2.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/latex2rtf-2.1.0.ebuild,v 1.1 2010/05/25 13:51:34 aballier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="LaTeX to RTF converter"
+HOMEPAGE="http://latex2rtf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/latex2rtf/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="virtual/latex-base
+ media-gfx/imagemagick"
+DEPEND="${RDEPEND}
+ doc? ( virtual/texi2dvi )
+ test? ( || (
+ ( dev-texlive/texlive-langgerman dev-texlive/texlive-fontsrecommended )
+ app-text/ptex
+ )
+ dev-tex/latex2html
+ )"
+
+src_compile() {
+ export VARTEXFONTS="${T}/fonts"
+ emake PREFIX="/usr" CC="$(tc-getCC)" || die "emake failed"
+ if use doc; then
+ cd "${S}/doc"
+ emake clean || die "cleaning docs failed"
+ emake || die "generating docs failed"
+ fi
+}
+
+src_install() {
+ dodoc README ChangeLog doc/credits
+ emake PREFIX="${D}/usr" MAN_INSTALL="${D}/usr/share/man/man1" SUPPORT_INSTALL="${D}/usr/share/doc/${PF}" install || die "make install failed"
+ # if doc is not used, only the text version is intalled.
+ if use doc; then
+ emake INFO_INSTALL="${D}/usr/share/info" install-info || die "installing info documentation failed"
+ fi
+}