summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/intlfonts')
-rw-r--r--media-fonts/intlfonts/Manifest1
-rw-r--r--media-fonts/intlfonts/intlfonts-1.2.1.ebuild33
-rw-r--r--media-fonts/intlfonts/metadata.xml8
3 files changed, 42 insertions, 0 deletions
diff --git a/media-fonts/intlfonts/Manifest b/media-fonts/intlfonts/Manifest
new file mode 100644
index 000000000000..4441ae61b873
--- /dev/null
+++ b/media-fonts/intlfonts/Manifest
@@ -0,0 +1 @@
+DIST intlfonts-1.2.1.tar.gz 24360787 RMD160 cf2fd48c012b3db8b2496edb524ca43ac9ec8623 SHA1 aab4cbc904bc7410fc9f7bb86c8fbc0e1ea7ef80 SHA256 f208ec06573e935116d27994be4b58f8121184f855a85acd2cdb8848479a10f3
diff --git a/media-fonts/intlfonts/intlfonts-1.2.1.ebuild b/media-fonts/intlfonts/intlfonts-1.2.1.ebuild
new file mode 100644
index 000000000000..25225cfff4ce
--- /dev/null
+++ b/media-fonts/intlfonts/intlfonts-1.2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit font
+
+IUSE="bdf"
+
+DESCRIPTION="International X11 fixed fonts"
+HOMEPAGE="http://www.gnu.org/directory/intlfonts.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+
+DEPEND="x11-apps/bdftopcf
+ x11-apps/mkfontdir"
+RDEPEND=""
+
+src_compile() {
+ econf --with-fontdir=/usr/share/fonts/${PN}
+}
+
+src_install() {
+ emake install fontdir="${D}/usr/share/fonts/${PN}" || die
+ find "${D}/usr/share/fonts/${PN}" -name '*.pcf' | xargs gzip -9
+ use bdf || rm -rf "${D}/usr/share/fonts/${PN}/bdf"
+ dodoc ChangeLog NEWS README
+ dodoc Emacs.ap
+ font_xfont_config
+}
diff --git a/media-fonts/intlfonts/metadata.xml b/media-fonts/intlfonts/metadata.xml
new file mode 100644
index 000000000000..8d6a84ca6c14
--- /dev/null
+++ b/media-fonts/intlfonts/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>fonts</herd>
+<use>
+ <flag name='bdf'>Installs BDF fonts in addition to PCF</flag>
+</use>
+</pkgmetadata>