/[gentoo-x86]/app-editors/kile/kile-2.1.3.ebuild
Gentoo

Contents of /app-editors/kile/kile-2.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Sep 26 12:36:19 2012 UTC (18 months, 3 weeks ago) by johu
Branch: MAIN
Version bump.

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

1 johu 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/app-editors/kile/kile-2.1.2-r1.ebuild,v 1.3 2012/08/04 12:14:58 johu Exp $
4    
5     EAPI=4
6    
7     if [[ ${PV} != *9999* ]]; then
8     KDE_DOC_DIRS="doc"
9     KDE_HANDBOOK="optional"
10     MY_P=${P/_beta/b}
11     SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
12     else
13     EGIT_REPO_URI="http://anongit.kde.org/kile"
14     GIT_ECLASS="git"
15     fi
16    
17     inherit kde4-base ${GIT_ECLASS}
18    
19     DESCRIPTION="A Latex Editor and TeX shell for KDE"
20     HOMEPAGE="http://kile.sourceforge.net/"
21    
22     LICENSE="FDL-1.2 GPL-2"
23     KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
24     SLOT="4"
25     IUSE="debug +pdf +png"
26    
27     DEPEND="
28     x11-misc/shared-mime-info
29     "
30     RDEPEND="${DEPEND}
31     $(add_kdebase_dep kdebase-data)
32     || (
33     $(add_kdebase_dep okular 'pdf?,postscript')
34     app-text/acroread
35     )
36     virtual/latex-base
37     virtual/tex-base
38     pdf? (
39     app-text/dvipdfmx
40     app-text/ghostscript-gpl
41     )
42     png? (
43     app-text/dvipng
44     media-gfx/imagemagick[png]
45     )
46     "
47    
48     S=${WORKDIR}/${MY_P}
49    
50     DOCS=( kile-remote-control.txt )
51    
52     src_prepare() {
53     kde4-base_src_prepare
54    
55     # I know upstream wants to help us but it doesn't work..
56     sed -e '/INSTALL( FILES AUTHORS/s/^/#DISABLED /' \
57     -i CMakeLists.txt || die
58    
59     [[ ${PV} != *9999* ]] && { use handbook || rm -fr doc ; }
60     }

  ViewVC Help
Powered by ViewVC 1.1.20