summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-06-17 17:36:20 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-06-17 17:36:20 +0000
commitdb7eaffdf59abf1d208d28c75fbee2b086779fa0 (patch)
treebba31e1fbfad8ae4577d01bac962b92fbb148071 /www-client
parentVersion bump wrt #227853, remove old (diff)
downloadgentoo-2-db7eaffdf59abf1d208d28c75fbee2b086779fa0.tar.gz
gentoo-2-db7eaffdf59abf1d208d28c75fbee2b086779fa0.tar.bz2
gentoo-2-db7eaffdf59abf1d208d28c75fbee2b086779fa0.zip
Remove redundant variables
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/mozilla-firefox-bin/ChangeLog6
-rw-r--r--www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.ebuild17
2 files changed, 12 insertions, 11 deletions
diff --git a/www-client/mozilla-firefox-bin/ChangeLog b/www-client/mozilla-firefox-bin/ChangeLog
index 9d74f0c02700..a48121b7db7a 100644
--- a/www-client/mozilla-firefox-bin/ChangeLog
+++ b/www-client/mozilla-firefox-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/mozilla-firefox-bin
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/ChangeLog,v 1.143 2008/06/17 17:32:56 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/ChangeLog,v 1.144 2008/06/17 17:36:20 armin76 Exp $
+
+ 17 Jun 2008; Raúl Porcel <armin76@gentoo.org>
+ mozilla-firefox-bin-3.0.ebuild:
+ Remove redundant variables
*mozilla-firefox-bin-3.0 (17 Jun 2008)
diff --git a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.ebuild b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.ebuild
index 487ce7b41398..b25c3d6d2c90 100644
--- a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.ebuild
+++ b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.ebuild
@@ -1,17 +1,14 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.ebuild,v 1.1 2008/06/17 17:32:56 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-3.0.ebuild,v 1.2 2008/06/17 17:36:20 armin76 Exp $
inherit eutils mozilla-launcher multilib mozextension
LANGS="af ar be ca cs da de el en-GB en-US es-AR es-ES eu fi fr fy-NL ga-IE gu-IN he hu id it ja ka ko ku lt mk mn nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ro ru si sk sl sq sr sv-SE tr uk zh-CN zh-TW"
NOSHORTLANGS="en-GB es-AR pt-BR zh-CN"
-MY_PV=${PV/_rc/rc}
-MY_P="${PN}-${MY_PV}"
-
DESCRIPTION="Firefox Web Browser"
-SRC_URI="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${MY_PV}/linux-i686/en-US/firefox-${MY_PV}.tar.bz2"
+SRC_URI="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/linux-i686/en-US/firefox-${PV}.tar.bz2"
HOMEPAGE="http://www.mozilla.com/firefox"
RESTRICT="strip"
@@ -23,14 +20,14 @@ IUSE="restrict-javascript"
for X in ${LANGS} ; do
if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then
SRC_URI="${SRC_URI}
- linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${MY_P/-bin}-xpi/${MY_P/-bin/}-${X}.xpi )"
+ linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
fi
IUSE="${IUSE} linguas_${X/-/_}"
# english is handled internally
if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then
if [ "${X}" != "en-US" ]; then
SRC_URI="${SRC_URI}
- linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${MY_P/-bin}-xpi/${MY_P/-bin/}-${X}.xpi )"
+ linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
fi
IUSE="${IUSE} linguas_${X%%-*}"
fi
@@ -83,11 +80,11 @@ linguas() {
}
src_unpack() {
- unpack firefox-${MY_PV}.tar.bz2
+ unpack firefox-${PV}.tar.bz2
linguas
for X in ${linguas}; do
- [[ ${X} != "en" ]] && xpi_unpack "${MY_P/-bin/}-${X}.xpi"
+ [[ ${X} != "en" ]] && xpi_unpack "${P/-bin/}-${X}.xpi"
done
if [[ ${linguas} != "" && ${linguas} != "en" ]]; then
einfo "Selected language packs (first will be default): ${linguas}"
@@ -103,7 +100,7 @@ src_install() {
linguas
for X in ${linguas}; do
- [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${MY_P/-bin/}-${X}"
+ [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P/-bin/}-${X}"
done
local LANG=${linguas%% *}