/[gentoo-x86]/dev-tex/latex2rtf/latex2rtf-2.2.1b.ebuild
Gentoo

Contents of /dev-tex/latex2rtf/latex2rtf-2.2.1b.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Dec 3 16:22:45 2014 UTC (3 months, 3 weeks ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -2 lines
depend on sys-apps/man for stable version, bug #438496

Signed-off-by: aballier@gentoo.org
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/latex2rtf-2.2.1b.ebuild,v 1.7 2012/09/09 15:50:33 armin76 Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="LaTeX to RTF converter"
10 HOMEPAGE="http://latex2rtf.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/latex2rtf/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
15 SLOT="0"
16 IUSE="doc test"
17 S="${WORKDIR}/${P%b}"
18
19 RDEPEND="virtual/latex-base
20 media-gfx/imagemagick"
21 DEPEND="${RDEPEND}
22 sys-apps/man
23 doc? ( virtual/texi2dvi )
24 test? (
25 dev-texlive/texlive-langgerman
26 dev-texlive/texlive-fontsrecommended
27 dev-texlive/texlive-latexextra
28 dev-tex/latex2html
29 )"
30
31 src_prepare() {
32 # We are case sensitive...
33 mv copyright Copyright || die
34 }
35
36 src_compile() {
37 export VARTEXFONTS="${T}/fonts"
38 # Set DESTDIR here too so that compiled-in paths are correct.
39 emake DESTDIR="${EPREFIX}/usr" CC="$(tc-getCC)" || die "emake failed"
40 if use doc; then
41 cd "${S}/doc"
42 emake realclean
43 emake -j1
44 fi
45 }
46
47 src_install() {
48 dodoc README* HACKING ToDo ChangeLog doc/credits
49 emake DESTDIR="${ED}/usr" install
50 # if doc is not used, only the text version is intalled.
51 if use doc; then
52 emake DESTDIR="${ED}/usr" install-info
53 fi
54 }

  ViewVC Help
Powered by ViewVC 1.1.20