summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r1.ebuild')
-rw-r--r--media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r1.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r1.ebuild b/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..fe37758e9525
--- /dev/null
+++ b/media-fonts/font-misc-ethiopic/font-misc-ethiopic-1.0.3-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+FONT_DIR="OTF"
+
+inherit xorg-2
+
+DESCRIPTION="Miscellaneous Ethiopic fonts"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+FONT_OPTIONS="--with-otf-fontdir=${EPREFIX}/usr/share/fonts/OTF"
+
+src_install() {
+ xorg-2_src_install
+ # TTF fonts are not supposed to be installed.
+ # Also fixes file collision per bug #309689
+ rm -rf "${ED}/usr/share/fonts/TTF" || die
+}