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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Mar 1 15:59:42 2006 UTC (13 years, 2 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Bump to release candidate, add patch to build with GCC 4.1 (already fixed upstream).
(Portage version: 2.1_pre5-r1)

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_beta2.ebuild,v 1.4 2006/02/05 21:36:07 flameeyes Exp $
4
5 inherit kde
6
7 MY_P="${P/_beta/b}"
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.gz"
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 src_unpack() {
36 kde_src_unpack
37
38 if [[ -n ${LINGUAS} ]]; then
39 MAKE_TRANSL=$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))
40 einfo "Building translations for: ${MAKE_TRANSL}"
41 sed -i -e "s:^SUBDIRS =.*:SUBDIRS = ${MAKE_TRANSL}:" ${S}/translations/Makefile.am || die "sed for locale failed"
42 rm -f ${S}/configure
43 fi
44 }

  ViewVC Help
Powered by ViewVC 1.1.20