diff options
author | 2012-01-02 13:41:33 +0000 | |
---|---|---|
committer | 2012-01-02 13:41:33 +0000 | |
commit | ab238c301d44af1073ab5284b0104f50ce694f3a (patch) | |
tree | f1fc85926e2ec8ccb7e60e992532c7462c6016b3 /net-ftp | |
parent | Description for USE flag "neon" (diff) | |
download | gentoo-2-ab238c301d44af1073ab5284b0104f50ce694f3a.tar.gz gentoo-2-ab238c301d44af1073ab5284b0104f50ce694f3a.tar.bz2 gentoo-2-ab238c301d44af1073ab5284b0104f50ce694f3a.zip |
Add LINGUAS support (bug #396629).
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/lftp/ChangeLog | 7 | ||||
-rw-r--r-- | net-ftp/lftp/lftp-4.3.4.ebuild | 16 |
2 files changed, 18 insertions, 5 deletions
diff --git a/net-ftp/lftp/ChangeLog b/net-ftp/lftp/ChangeLog index 2954350293c1..4b6964531400 100644 --- a/net-ftp/lftp/ChangeLog +++ b/net-ftp/lftp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-ftp/lftp -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.333 2011/12/31 19:47:05 jer Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/ChangeLog,v 1.334 2012/01/02 13:41:33 jer Exp $ + + 02 Jan 2012; Jeroen Roovers <jer@gentoo.org> lftp-4.3.4.ebuild: + Add LINGUAS support (bug #396629). *lftp-4.3.4 (31 Dec 2011) diff --git a/net-ftp/lftp/lftp-4.3.4.ebuild b/net-ftp/lftp/lftp-4.3.4.ebuild index d1b5d4ee2299..c4a09d7ea88e 100644 --- a/net-ftp/lftp/lftp-4.3.4.ebuild +++ b/net-ftp/lftp/lftp-4.3.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.3.4.ebuild,v 1.1 2011/12/31 19:47:05 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.3.4.ebuild,v 1.2 2012/01/02 13:41:33 jer Exp $ EAPI="4" @@ -13,7 +13,13 @@ SRC_URI="http://ftp.yars.free.net/pub/source/${PN}/${P}.tar.xz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="ssl gnutls socks5 nls" + +LFTP_LINGUAS="cs de es fr it ja ko pl pt_BR ru zh_CN zh_HK zh_TW" + +IUSE=" + $( for i in ${LFTP_LINGUAS}; do echo linguas_${i}; done ) + ssl gnutls socks5 nls +" RDEPEND=" dev-libs/expat @@ -49,6 +55,10 @@ src_prepare() { } src_configure() { + local LINGUAS=$( + for i in ${LFTP_LINGUAS}; do use linguas_${i} && echo ${i}; done + ) + echo $LINGUAS local myconf="" if use ssl && use gnutls ; then |