summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-06-22 16:09:52 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-06-22 16:09:52 +0000
commit5083cf24801b3d6237a5c0fbcf0714066cbe072a (patch)
tree7b39255c788b3339d70171e577d82e449a98c052 /dev-tex/latex2rtf
parentMarking binutils-config-3-r3 ppc64 for bug 420355 (diff)
downloadgentoo-2-5083cf24801b3d6237a5c0fbcf0714066cbe072a.tar.gz
gentoo-2-5083cf24801b3d6237a5c0fbcf0714066cbe072a.tar.bz2
gentoo-2-5083cf24801b3d6237a5c0fbcf0714066cbe072a.zip
version bump
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex/latex2rtf')
-rw-r--r--dev-tex/latex2rtf/ChangeLog9
-rw-r--r--dev-tex/latex2rtf/latex2rtf-2.2.1b.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/dev-tex/latex2rtf/ChangeLog b/dev-tex/latex2rtf/ChangeLog
index dbcddf94df7d..350633b4ef02 100644
--- a/dev-tex/latex2rtf/ChangeLog
+++ b/dev-tex/latex2rtf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tex/latex2rtf
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/ChangeLog,v 1.34 2011/10/05 19:04:40 aballier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/ChangeLog,v 1.35 2012/06/22 16:09:52 aballier Exp $
+
+*latex2rtf-2.2.1b (22 Jun 2012)
+
+ 22 Jun 2012; Alexis Ballier <aballier@gentoo.org> +latex2rtf-2.2.1b.ebuild:
+ version bump
05 Oct 2011; Alexis Ballier <aballier@gentoo.org> latex2rtf-1.9.19.ebuild,
latex2rtf-2.1.0.ebuild:
diff --git a/dev-tex/latex2rtf/latex2rtf-2.2.1b.ebuild b/dev-tex/latex2rtf/latex2rtf-2.2.1b.ebuild
new file mode 100644
index 000000000000..54a0898c5bd7
--- /dev/null
+++ b/dev-tex/latex2rtf/latex2rtf-2.2.1b.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/latex2rtf-2.2.1b.ebuild,v 1.1 2012/06/22 16:09:52 aballier Exp $
+
+EAPI=4
+
+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"
+S="${WORKDIR}/${P%b}"
+
+RDEPEND="virtual/latex-base
+ media-gfx/imagemagick"
+DEPEND="${RDEPEND}
+ doc? ( virtual/texi2dvi )
+ test? (
+ dev-texlive/texlive-langgerman
+ dev-texlive/texlive-fontsrecommended
+ dev-tex/latex2html
+ )"
+
+src_prepare() {
+ # We are case sensitive...
+ mv copyright Copyright || die
+}
+
+src_compile() {
+ export VARTEXFONTS="${T}/fonts"
+ # Set DESTDIR here too so that compiled-in paths are correct.
+ emake DESTDIR="${EPREFIX}/usr" CC="$(tc-getCC)" || die "emake failed"
+ if use doc; then
+ cd "${S}/doc"
+ emake realclean
+ emake -j1
+ fi
+}
+
+src_install() {
+ dodoc README* HACKING ToDo ChangeLog doc/credits
+ emake DESTDIR="${ED}/usr" install
+ # if doc is not used, only the text version is intalled.
+ if use doc; then
+ emake DESTDIR="${ED}/usr" install-info
+ fi
+}