blob: 4d84f7f57ca1cee71ebbf9999bf9d9558cd6b90f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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}
}
|