/[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.3 - (hide annotations) (download)
Thu Jun 30 10:13:17 2011 UTC (8 years, 9 months ago) by hwoarang
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable on amd64 wrt bug #373415

(Portage version: 2.1.10.3/cvs/Linux x86_64)

1 mattst88 1.2 # Copyright 1999-2011 Gentoo Foundation
2 aballier 1.1 # Distributed under the terms of the GNU General Public License v2
3 hwoarang 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-tex/pgf/pgf-2.10.ebuild,v 1.2 2011/06/14 03:27:40 mattst88 Exp $
4 aballier 1.1
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 hwoarang 1.3 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 aballier 1.1 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