summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/segoe/segoe-1.ebuild')
-rw-r--r--media-fonts/segoe/segoe-1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/media-fonts/segoe/segoe-1.ebuild b/media-fonts/segoe/segoe-1.ebuild
new file mode 100644
index 0000000..4d84f7f
--- /dev/null
+++ b/media-fonts/segoe/segoe-1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:$
+
+inherit font
+
+DESCRIPTION="Linotype's Palatino font"
+HOMEPAGE="http://www.linotype.com/1317/palatino-family.html"
+SRC_URI=""
+LICENSE="MSttfEULA"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+
+S=${WORKDIR}
+FONT_S=${WORKDIR}
+FONT_SUFFIX="ttf"
+FONTDIR="/usr/share/fonts/segoe"
+MYDISTDIR="/usr/portage/distfiles"
+
+src_unpack() {
+
+ ls ${MYDISTDIR}/segoeprb.ttf >/dev/null || die "Get segoeprb.ttf and put it in ${MYDISTDIR}"
+ ls ${MYDISTDIR}/segoepr.ttf >/dev/null || die "Get segoepr.ttf and put it in ${MYDISTDIR}"
+ ls ${MYDISTDIR}/segoescb.ttf >/dev/null || die "Get segoescb.ttf and put it in ${MYDISTDIR}"
+ ls ${MYDISTDIR}/segoesc.ttf >/dev/null || die "Get segoesc.ttf and put it in ${MYDISTDIR}"
+ ls ${MYDISTDIR}/segoeuib.ttf >/dev/null || die "Get segoeuib.ttf and put it in ${MYDISTDIR}"
+ ls ${MYDISTDIR}/segoeuii.ttf >/dev/null || die "Get segoeuii.ttf and put it in ${MYDISTDIR}"
+ ls ${MYDISTDIR}/segoeuil.ttf >/dev/null || die "Get segoeuil.ttf and put it in ${MYDISTDIR}"
+ ls ${MYDISTDIR}/segoeui.ttf >/dev/null || die "Get segoeui.ttf and put it in ${MYDISTDIR}"
+ ls ${MYDISTDIR}/segoeuiz.ttf >/dev/null || die "Get segoeuiz.ttf and put it in ${MYDISTDIR}"
+ cp ${MYDISTDIR}/segoeprb.ttf ${MYDISTDIR}/segoepr.ttf \\
+ ${MYDISTDIR}/segoescb.ttf ${MYDISTDIR}/segoesc.ttf \\
+ ${MYDISTDIR}/segoeuib.ttf ${MYDISTDIR}/segoeuii.ttf \\
+ ${MYDISTDIR}/segoeuil.ttf ${MYDISTDIR}/segoeui.ttf \\
+ ${MYDISTDIR}/segoeuiz.ttf ${S}
+}