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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Mar 19 18:21:39 2014 UTC (5 years, 2 months ago) by johu
Branch: MAIN
Revision bump syncs with kde overlay ebuild state. EAPI 5 and less code.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

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

  ViewVC Help
Powered by ViewVC 1.1.20