summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2010-01-07 20:12:38 +0000
committerDror Levin <spatz@gentoo.org>2010-01-07 20:12:38 +0000
commit2a33466f13e04627c3f9d1b3f63c83e6b1b0c041 (patch)
tree22b1ef3f6f9e24c95979a80610a589afbf4110c7 /media-fonts/droid/droid-112_p1-r1.ebuild
parentSet empty HOMEPAGE and LICENSE (diff)
downloadgentoo-2-2a33466f13e04627c3f9d1b3f63c83e6b1b0c041.tar.gz
gentoo-2-2a33466f13e04627c3f9d1b3f63c83e6b1b0c041.tar.bz2
gentoo-2-2a33466f13e04627c3f9d1b3f63c83e6b1b0c041.zip
Install all monotyped versions instead of using USE flags.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts/droid/droid-112_p1-r1.ebuild')
-rw-r--r--media-fonts/droid/droid-112_p1-r1.ebuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/media-fonts/droid/droid-112_p1-r1.ebuild b/media-fonts/droid/droid-112_p1-r1.ebuild
index 66943069c2c4..d9ad2b7d35ba 100644
--- a/media-fonts/droid/droid-112_p1-r1.ebuild
+++ b/media-fonts/droid/droid-112_p1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/droid-112_p1-r1.ebuild,v 1.1 2010/01/07 19:54:16 spatz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/droid/droid-112_p1-r1.ebuild,v 1.2 2010/01/07 20:12:38 spatz Exp $
EAPI="2"
@@ -13,13 +13,13 @@ MY_PN="${PN/d/D}"
DESCRIPTION="Font family from Google's Android project"
HOMEPAGE="http://code.google.com/android/RELEASENOTES.html"
SRC_URI="mirror://gentoo/${P}.tar.gz
- slashed? ( mirror://gentoo/${MY_PN}SansMonoSlashed-${PV}.ttf.bz2 )
- !slashed? ( dotted? ( mirror://gentoo/${MY_PN}SansMonoDotted-${PV}.ttf.bz2 ) )"
+ mirror://gentoo/${MY_PN}SansMonoSlashed-${PV}.ttf.bz2
+ mirror://gentoo/${MY_PN}SansMonoDotted-${PV}.ttf.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="dotted slashed"
+IUSE=""
S=${WORKDIR}/${PN}
FONT_S=${WORKDIR}/${PN}
@@ -28,12 +28,11 @@ FONT_SUFFIX="ttf"
RDEPEND=""
DEPEND=""
-src_prepare() {
- if use slashed; then
- mv "${WORKDIR}/${MY_PN}SansMonoSlashed-${PV}.ttf" \
- "${S}/${MY_PN}SansMono.ttf"
- elif use dotted; then
- mv "${WORKDIR}/${MY_PN}SansMonoDotted-${PV}.ttf" \
- "${S}/${MY_PN}SansMono.ttf"
- fi
+src_unpack() {
+ unpack ${A}
+
+ mv "${WORKDIR}/${MY_PN}SansMonoSlashed-${PV}.ttf" \
+ "${S}/${MY_PN}SansMonoSlashed.ttf"
+ mv "${WORKDIR}/${MY_PN}SansMonoDotted-${PV}.ttf" \
+ "${S}/${MY_PN}SansMonoDotted.ttf"
}