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

Contents of /dev-tex/latex2rtf/latex2rtf-1.9.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Wed Oct 5 19:04:40 2011 UTC (3 years, 1 month ago) by aballier
Branch: MAIN
Changes since 1.14: +5 -6 lines
remove ptex dep as it is going away

(Portage version: 2.2.0_alpha61/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/latex2rtf-1.9.19.ebuild,v 1.14 2009/09/06 20:49:03 ranger Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="LaTeX to RTF converter"
8 HOMEPAGE="http://latex2rtf.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/latex2rtf/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
13 SLOT="0"
14 IUSE="doc test"
15
16 DEPEND="virtual/latex-base
17 media-gfx/imagemagick
18 doc? ( virtual/texi2dvi )
19 test? (
20 dev-texlive/texlive-langgerman
21 dev-texlive/texlive-fontsrecommended
22 dev-tex/latex2html
23 )"
24
25 src_unpack() {
26 unpack ${A}
27 cd "${S}"
28 epatch "${FILESDIR}/${P}-makefile.patch"
29 }
30
31 src_compile() {
32 export VARTEXFONTS="${T}/fonts"
33 emake PREFIX="/usr" CC=$(tc-getCC) || die "emake failed"
34 if use doc; then
35 cd "${S}/doc"
36 emake clean || die "cleaning docs failed"
37 emake || die "generating docs failed"
38 fi
39 }
40
41 src_install() {
42 dodoc README ChangeLog doc/credits
43 emake PREFIX="${D}/usr" MAN_INSTALL="${D}/usr/share/man/man1" SUPPORT_INSTALL="${D}/usr/share/doc/${PF}" install || die "make install failed"
44 # if doc is not used, only the text version is intalled.
45 if use doc; then
46 emake INFO_INSTALL="${D}/usr/share/info" install-info || die "installing info documentation failed"
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20