summaryrefslogtreecommitdiff
blob: 3659d4ef99a046ef672f6edc89c8f5ec9ed553f1 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/acroread-asianfonts-20020815.ebuild,v 1.6 2004/08/29 23:42:40 kugelfang Exp $

DESCRIPTION="Asian Font Packs for Acrobat Reader 5.0"
HOMEPAGE="http://www.adobe.com/prodindex/acrobat/readstep.html"
BASE_URI="ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/"

SRC_URI="${BASE_URI}/chsfont.tar.gz
	${BASE_URI}/chtfont.tar.gz
	${BASE_URI}/jpnfont.tar.gz
	${BASE_URI}/korfont.tar.gz"

SLOT="0"
LICENSE="Adobe"
KEYWORDS="x86 ~amd64"
IUSE=""

DEPEND="virtual/libc
	app-text/acroread"
S="${WORKDIR}"

INSTALLDIR="/opt/Acrobat5/Resource/Font"

src_install() {
	dodir ${INSTALLDIR}
	for tarfile in `ls *KIT/*.TAR` ; do
		tar -xvf ${tarfile} --no-same-owner -C ${D}/${INSTALLDIR} || die
	done
	chown -R --dereference root:root ${D}/${INSTALLDIR}
}