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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Oct 5 19:04:41 2011 UTC (2 years, 9 months ago) by aballier
Branch: MAIN
Changes since 1.1: +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-2.1.0.ebuild,v 1.1 2010/05/25 13:51:34 aballier Exp $
4
5 inherit 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 RDEPEND="virtual/latex-base
17 media-gfx/imagemagick"
18 DEPEND="${RDEPEND}
19 doc? ( virtual/texi2dvi )
20 test? (
21 dev-texlive/texlive-langgerman
22 dev-texlive/texlive-fontsrecommended
23 dev-tex/latex2html
24 )"
25
26 src_compile() {
27 export VARTEXFONTS="${T}/fonts"
28 emake PREFIX="/usr" CC="$(tc-getCC)" || die "emake failed"
29 if use doc; then
30 cd "${S}/doc"
31 emake clean || die "cleaning docs failed"
32 emake || die "generating docs failed"
33 fi
34 }
35
36 src_install() {
37 dodoc README ChangeLog doc/credits
38 emake PREFIX="${D}/usr" MAN_INSTALL="${D}/usr/share/man/man1" SUPPORT_INSTALL="${D}/usr/share/doc/${PF}" install || die "make install failed"
39 # if doc is not used, only the text version is intalled.
40 if use doc; then
41 emake INFO_INSTALL="${D}/usr/share/info" install-info || die "installing info documentation failed"
42 fi
43 }

  ViewVC Help
Powered by ViewVC 1.1.20