/[gentoo-x86]/dev-tex/pgf/pgf-2.10.ebuild
Gentoo

Contents of /dev-tex/pgf/pgf-2.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Jul 23 19:09:55 2011 UTC (8 years, 7 months ago) by armin76
Branch: MAIN
Changes since 1.5: +2 -2 lines
alpha/ia64/s390/sh/sparc stable wrt #373415

(Portage version: 2.1.10.3/cvs/Linux ia64)

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/pgf/pgf-2.10.ebuild,v 1.5 2011/07/15 20:58:51 maekke Exp $
4
5 inherit latex-package
6
7 DESCRIPTION="pgf -- The TeX Portable Graphic Format"
8 HOMEPAGE="http://sourceforge.net/projects/pgf"
9 SRC_URI="mirror://sourceforge/pgf/${PN}_${PV}.tds.zip"
10
11 LICENSE="GPL-2 LPPL-1.3c FDL-1.2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
14 IUSE="doc source"
15
16 RDEPEND="dev-texlive/texlive-latexrecommended
17 >=dev-tex/xcolor-2.11"
18 DEPEND="${RDEPEND}
19 app-arch/unzip"
20
21 TEXMF="/usr/share/texmf-site"
22 S=${WORKDIR}
23
24 src_install() {
25 insinto ${TEXMF}
26 doins -r tex || die
27
28 if use source ; then
29 doins -r source || die
30 fi
31
32 cd "${S}/doc/generic/pgf"
33 dodoc AUTHORS ChangeLog README TODO licenses/LICENSE || die
34 if use doc ; then
35 insinto /usr/share/doc/${PF}
36 doins pgfmanual.pdf || die
37 doins -r images macros text-en version-for-dvipdfm version-for-dvips \
38 version-for-pdftex version-for-tex4ht version-for-vtex || die \
39 "Failed to install documentation"
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20