linamh/media-fonts/corefonts/corefonts-1-r6.ebuild
geos_one e84dc616cd media-fonts/corefonts: add vista fonts
(Portage version: 2.2.0_alpha41/svn/Linux x86_64, RepoMan options: --force)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2976 6952d904-891a-0410-993b-d76249ca496b
2011-07-16 06:25:45 +00:00

48 lines
1.8 KiB
Bash

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/corefonts/corefonts-1-r4.ebuild,v 1.10 2010/01/09 21:22:09 fauli Exp $
inherit font
DESCRIPTION="Microsoft's TrueType core fonts"
HOMEPAGE="http://corefonts.sourceforge.net/"
SRC_URI="mirror://sourceforge/corefonts/andale32.exe
mirror://sourceforge/corefonts/arial32.exe
mirror://sourceforge/corefonts/arialb32.exe
mirror://sourceforge/corefonts/comic32.exe
mirror://sourceforge/corefonts/courie32.exe
mirror://sourceforge/corefonts/georgi32.exe
http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/IELPKTH.CAB
mirror://sourceforge/corefonts/impact32.exe
mirror://sourceforge/corefonts/times32.exe
mirror://sourceforge/corefonts/trebuc32.exe
mirror://sourceforge/corefonts/verdan32.exe
mirror://sourceforge/corefonts/wd97vwr32.exe
mirror://sourceforge/corefonts/webdin32.exe
http://download.microsoft.com/download/9/F/7/9F742C8F-8C70-4498-B4D1-539BE36A1077/PowerPointViewer.exe"
LICENSE="MSttfEULA MSWordViewerEULA"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="X"
DEPEND="app-arch/cabextract"
RDEPEND=""
S=${WORKDIR}
FONT_S=${WORKDIR}
FONT_SUFFIX="ttf"
src_unpack() {
for exe in ${A} ; do
echo ">>> Unpacking ${exe} to ${WORKDIR}"
cabextract --lowercase "${DISTDIR}"/${exe} > /dev/null \
|| die "failed to unpack ${exe}"
done
cabextract --lowercase ${S}/viewer1.cab > /dev/null \
|| die "failed to unpack viewer1.cab"
cabextract --lowercase ${S}/ppviewer.cab > /dev/null \
|| die "failed to unpack viewer1.cab"
}