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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jan 28 11:42:08 2007 UTC (12 years, 3 months ago) by masterdriverz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove insecure versions due to glsa 200611-21; bug 164198
(Portage version: 2.1.2_rc4-r3)
 (Unsigned Manifest commit)

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.1.ebuild,v 1.1 2006/06/24 13:24:06 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
31 nl nn pa pl pt pt_BR ro ru rw sk sr sr@Latn sv ta tr zh_CN"
32 for lang in ${LANGS}; do
33 IUSE="${IUSE} linguas_${lang}"
34 done
35
36 src_unpack() {
37 kde_src_unpack
38
39 if [[ -n ${LINGUAS} ]]; then
40 MAKE_TRANSL=$(echo $(echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d))
41 einfo "Building translations for: ${MAKE_TRANSL}"
42 sed -i -e "s:^SUBDIRS.*=.*:SUBDIRS = ${MAKE_TRANSL}:" ${S}/translations/Makefile.am || die "sed for locale failed"
43 rm -f ${S}/configure
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20