summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2012-01-07 23:43:23 +0000
committerRyan Hill <dirtyepic@gentoo.org>2012-01-07 23:43:23 +0000
commitae1d0c3e81631f6581b0f0f821a90e44fcaccbae (patch)
treea09cd82af971b0814567f9dd49bc3b41de70e2f2 /media-fonts
parentVersion bump (diff)
downloadgentoo-2-ae1d0c3e81631f6581b0f0f821a90e44fcaccbae.tar.gz
gentoo-2-ae1d0c3e81631f6581b0f0f821a90e44fcaccbae.tar.bz2
gentoo-2-ae1d0c3e81631f6581b0f0f821a90e44fcaccbae.zip
Fix docs installation, only install pdfs w/ USE=doc.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/sil-doulos/ChangeLog5
-rw-r--r--media-fonts/sil-doulos/sil-doulos-4.110.ebuild16
2 files changed, 16 insertions, 5 deletions
diff --git a/media-fonts/sil-doulos/ChangeLog b/media-fonts/sil-doulos/ChangeLog
index f89a9909ac52..e82fc30dda3e 100644
--- a/media-fonts/sil-doulos/ChangeLog
+++ b/media-fonts/sil-doulos/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-fonts/sil-doulos
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-doulos/ChangeLog,v 1.16 2012/01/07 22:22:31 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-doulos/ChangeLog,v 1.17 2012/01/07 23:43:23 dirtyepic Exp $
+
+ 07 Jan 2012; Ryan Hill <dirtyepic@gentoo.org> sil-doulos-4.110.ebuild:
+ Fix docs installation, only install pdfs w/ USE=doc.
07 Jan 2012; Ryan Hill <dirtyepic@gentoo.org> -sil-doulos-4.100.0.ebuild,
-sil-doulos-4.104.ebuild, sil-doulos-4.106.ebuild:
diff --git a/media-fonts/sil-doulos/sil-doulos-4.110.ebuild b/media-fonts/sil-doulos/sil-doulos-4.110.ebuild
index c28da2afe26a..1c10889cc950 100644
--- a/media-fonts/sil-doulos/sil-doulos-4.110.ebuild
+++ b/media-fonts/sil-doulos/sil-doulos-4.110.ebuild
@@ -1,10 +1,13 @@
-# 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/media-fonts/sil-doulos/sil-doulos-4.110.ebuild,v 1.1 2011/12/12 07:26:54 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-doulos/sil-doulos-4.110.ebuild,v 1.2 2012/01/07 23:43:23 dirtyepic Exp $
+
+EAPI="4"
inherit font
MY_P="DoulosSIL-${PV}"
+
DESCRIPTION="SIL Doulos - SIL font for Roman and Cyrillic Languages"
HOMEPAGE="http://scripts.sil.org/DoulosSILfont"
SRC_URI="mirror://gentoo/${MY_P}.zip"
@@ -12,9 +15,9 @@ SRC_URI="mirror://gentoo/${MY_P}.zip"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE=""
+IUSE="doc"
-DOCS=( FONTLOG.txt OFL-FAQ.txt README.txt documentation/DoulosSIL-features.pdf )
+DOCS="OFL-FAQ.txt"
FONT_SUFFIX="ttf"
DEPEND="app-arch/unzip"
@@ -22,3 +25,8 @@ RDEPEND=""
S="${WORKDIR}/${MY_P}"
FONT_S="${S}"
+
+src_install() {
+ font_src_install
+ use doc && dodoc -r "${S}"/documentation
+}