summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/stix-fonts/stix-fonts-1.0.0-r1.ebuild')
-rw-r--r--media-fonts/stix-fonts/stix-fonts-1.0.0-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/media-fonts/stix-fonts/stix-fonts-1.0.0-r1.ebuild b/media-fonts/stix-fonts/stix-fonts-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..fad31034bf3d
--- /dev/null
+++ b/media-fonts/stix-fonts/stix-fonts-1.0.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit font
+
+DESCRIPTION="Comprehensive OpenType font set of mathematical symbols and alphabets"
+HOMEPAGE="http://www.stixfonts.org/"
+SRC_URI="mirror://gentoo/STIXv${PV}.zip"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="amd64 arm ~mips ppc ~ppc64 x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S="${WORKDIR}/STIXv${PV}"
+FONT_SUFFIX="otf"
+FONT_S="${S}/Fonts"
+FONT_CONF=( "${FILESDIR}"/61-stix.conf )
+
+src_install() {
+ # DOCS can't do files with spaces so handle it ourselves
+ font_src_install
+ dodoc "STIX Font Release Documentation 2010.pdf"
+ use doc && dodoc "${S}"/Glyphs/*.pdf
+}
+
+RESTRICT="strip binchecks"