source: media-fonts/corefonts/corefonts-1-r7.ebuild @ b9d3a6e

Revision b9d3a6e, 1.9 KB checked in by Mario Fetka <mario.fetka@…>, 11 months ago (diff)

Bump

  • Property mode set to 100644
Line 
1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-fonts/corefonts/corefonts-1-r7.ebuild,v 1.2 2015/04/28 09:19:30 yngwin Exp $
4
5EAPI=5
6inherit font
7
8DESCRIPTION="Microsoft's TrueType core fonts"
9HOMEPAGE="http://corefonts.sourceforge.net/"
10SRC_URI="mirror://gentoo/EUupdate.EXE
11        mirror://sourceforge/corefonts/andale32.exe
12        mirror://sourceforge/corefonts/arialb32.exe
13        mirror://sourceforge/corefonts/comic32.exe
14        mirror://sourceforge/corefonts/courie32.exe
15        mirror://sourceforge/corefonts/georgi32.exe
16        mirror://sourceforge/corefonts/impact32.exe
17        mirror://sourceforge/corefonts/webdin32.exe
18        mirror://sourceforge/corefonts/wd97vwr32.exe
19        https://master.dl.sourceforge.net/project/corefonts/OldFiles/IELPKTH.CAB
20        mirror://sourceforge/corefonts/times32.exe
21        mirror://sourceforge/corefonts/trebuc32.exe
22        mirror://sourceforge/corefonts/verdan32.exe
23        https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe"
24
25
26LICENSE="MSttfEULA"
27SLOT="0"
28KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~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"
29IUSE="X"
30
31DEPEND="app-arch/cabextract"
32
33S=${WORKDIR}
34FONT_S=${WORKDIR}
35FONT_SUFFIX="ttf"
36
37src_unpack() {
38        for exe in ${A} ; do
39                echo ">>> Unpacking ${exe} to ${WORKDIR}"
40                cabextract --lowercase "${DISTDIR}"/${exe} > /dev/null \
41                        || die "failed to unpack ${exe}"
42        done
43        cabextract -F --lowercase  "${WORKDIR}/viewer1.cab" > /dev/null \
44                || die "failed to unpack extra fonts"
45        cabextract --lowercase  "${WORKDIR}/ppviewer.cab" > /dev/null \
46                || die "failed to unpack extra fonts"
47}
48
49src_install() {
50        font_src_install
51        # The license explicitly states that the license must be distributed with the
52        # fonts. The only way to do that for the binpkg is to include it.
53        dodoc license.txt
54}
Note: See TracBrowser for help on using the repository browser.