summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-06-28 11:31:38 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-06-28 11:31:38 +0000
commit9a83276ce92d7be26a6040f5a454147b94d6441c (patch)
treeb119a59fc8d2c46b042e0e7269260acf0849cb9d /media-fonts/sil-charis
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-9a83276ce92d7be26a6040f5a454147b94d6441c.tar.gz
gentoo-2-9a83276ce92d7be26a6040f5a454147b94d6441c.tar.bz2
gentoo-2-9a83276ce92d7be26a6040f5a454147b94d6441c.zip
Bump to 4.106. Fixes #273873, ebuild improvements by Nikos Chantziaras
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts/sil-charis')
-rw-r--r--media-fonts/sil-charis/ChangeLog8
-rw-r--r--media-fonts/sil-charis/metadata.xml3
-rw-r--r--media-fonts/sil-charis/sil-charis-4.106.ebuild38
3 files changed, 48 insertions, 1 deletions
diff --git a/media-fonts/sil-charis/ChangeLog b/media-fonts/sil-charis/ChangeLog
index 59b98c825427..f2dcb3ef5b86 100644
--- a/media-fonts/sil-charis/ChangeLog
+++ b/media-fonts/sil-charis/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/sil-charis
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-charis/ChangeLog,v 1.3 2009/03/20 13:42:54 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-charis/ChangeLog,v 1.4 2009/06/28 11:31:38 patrick Exp $
+
+*sil-charis-4.106 (28 Jun 2009)
+
+ 28 Jun 2009; Patrick Lauer <patrick@gentoo.org> +sil-charis-4.106.ebuild,
+ metadata.xml:
+ Bump to 4.106. Fixes #273873, ebuild improvements by Nikos Chantziaras
20 Mar 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
metadata.xml:
diff --git a/media-fonts/sil-charis/metadata.xml b/media-fonts/sil-charis/metadata.xml
index 745b0c13fecf..add35cda6184 100644
--- a/media-fonts/sil-charis/metadata.xml
+++ b/media-fonts/sil-charis/metadata.xml
@@ -12,4 +12,7 @@
proportionally-spaced font optimized for readability in long
printed documents.
</longdescription>
+<use>
+ <flag name="compact">Use more compactly spaced font</flag>
+</use>
</pkgmetadata>
diff --git a/media-fonts/sil-charis/sil-charis-4.106.ebuild b/media-fonts/sil-charis/sil-charis-4.106.ebuild
new file mode 100644
index 000000000000..a156fb2597a4
--- /dev/null
+++ b/media-fonts/sil-charis/sil-charis-4.106.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/sil-charis/sil-charis-4.106.ebuild,v 1.1 2009/06/28 11:31:38 patrick Exp $
+
+EAPI=2
+
+inherit font
+
+MY_PN="CharisSIL"
+
+DESCRIPTION="SIL Charis - SIL fonts for Roman and Cyrillic languages"
+HOMEPAGE="http://scripts.sil.org/CharisSILfont"
+SRC_URI="http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=CharisSIL4.106b.zip&filename=CharisSIL4.106.zip -> CharisSIL4.106.zip
+ compact? ( http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=CharisSILCompact4.106.zip&filename=CharisSILCompact4.106.zip -> CharisSILCompact4.106.zip )"
+
+LICENSE="OFL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="doc +compact"
+
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${MY_PN}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+DOCS="OFL-FAQ.txt"
+
+src_unpack() {
+ unpack ${A}
+ if use compact; then
+ mv "${MY_PN}Compact/"*.ttf "${MY_PN}" || die "mv ${WORKDIR}/${MY_PN}Compact/*.ttf ${WORKDIR}/${MY_PN} failed"
+ fi
+}
+
+src_install() {
+ font_src_install
+ use doc && dodoc *.pdf
+}