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

Contents of /app-editors/kile/kile-1.9_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Mar 17 13:06:33 2006 UTC (13 years, 2 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump.
(Portage version: 2.1_pre6-r3)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/kile/kile-1.9_rc1.ebuild,v 1.1 2006/03/01 15:59:42 flameeyes Exp $
4
5 inherit kde
6
7 MY_P="${P/_rc/rc}"
8 S="${WORKDIR}/${MY_P}"
9
10 DESCRIPTION="A Latex Editor and TeX shell for kde"
11 HOMEPAGE="http://kile.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/kile/${MY_P}.tar.bz2"
13 LICENSE="GPL-2"
14
15 SLOT=0
16 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
17 IUSE="kde"
18
19 RDEPEND="dev-lang/perl
20 virtual/tetex
21 dev-tex/latex2html
22 kde? ( || ( ( kde-base/kpdf
23 kde-base/kghostview
24 kde-base/kdvi
25 kde-base/kviewshell )
26 kde-base/kdegraphics ) )"
27
28 need-kde 3.2
29
30 LANGS="br ca cs cy da de el en_GB es et eu fi fr ga gl hi hu is it ja lt mt nb nl nn pa pl pt pt_BR ro rw sk sr sr@Latn sv ta tr zh_CN"
31 for lang in ${LANGS}; do
32 IUSE="${IUSE} linguas_${lang}"
33 done
34
35 PATCHES="${FILESDIR}/${P}-gcc41.patch"
36
37 src_unpack() {
38 kde_src_unpack
39
40 if [[ -n ${LINGUAS} ]]; then
41 MAKE_TRANSL=$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))
42 einfo "Building translations for: ${MAKE_TRANSL}"
43 sed -i -e "s:^SUBDIRS.*=.*:SUBDIRS = ${MAKE_TRANSL}:" ${S}/translations/Makefile.am || die "sed for locale failed"
44 rm -f ${S}/configure
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20