summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/acroread-asianfonts/ChangeLog8
-rw-r--r--media-fonts/acroread-asianfonts/Manifest6
-rw-r--r--media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20050728.ebuild59
-rw-r--r--media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.200507284
4 files changed, 74 insertions, 3 deletions
diff --git a/media-fonts/acroread-asianfonts/ChangeLog b/media-fonts/acroread-asianfonts/ChangeLog
index 475a5722aa8a..189a9a4f535f 100644
--- a/media-fonts/acroread-asianfonts/ChangeLog
+++ b/media-fonts/acroread-asianfonts/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-fonts/acroread-asianfonts
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/ChangeLog,v 1.12 2005/09/25 05:05:17 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/ChangeLog,v 1.13 2005/11/08 23:14:27 matsuu Exp $
+
+*acroread-asianfonts-7.0.20050728 (08 Nov 2005)
+
+ 08 Nov 2005; MATSUU Takuto <matsuu@gentoo.org>
+ +acroread-asianfonts-7.0.20050728.ebuild:
+ Version bumped. Bug 109798.
25 Sep 2005; MATSUU Takuto <matsuu@gentoo.org>
-acroread-asianfonts-7.0.20020815.ebuild:
diff --git a/media-fonts/acroread-asianfonts/Manifest b/media-fonts/acroread-asianfonts/Manifest
index 2c0b28a99724..5ac525364ff8 100644
--- a/media-fonts/acroread-asianfonts/Manifest
+++ b/media-fonts/acroread-asianfonts/Manifest
@@ -1,4 +1,6 @@
+MD5 6cfcabd3de70f345cc46db0e02f9ac3a ChangeLog 2241
MD5 0404ddceb4f04f1fa7c6ed819a9c69a0 acroread-asianfonts-5.0.20020815.ebuild 1860
-MD5 962fd6d2d0474ac2aaed927e707e56f6 ChangeLog 2068
-MD5 9088d4a413fe0b465560c753492acf1f metadata.xml 175
+MD5 0cb9dae3f6cc10dde73c446149214ca9 acroread-asianfonts-7.0.20050728.ebuild 1871
MD5 fa09b5ed5d7b5b0f9579df23428a52c4 files/digest-acroread-asianfonts-5.0.20020815 241
+MD5 64cd68f505c6cf99065e55b6ce7fd81e files/digest-acroread-asianfonts-7.0.20050728 242
+MD5 9088d4a413fe0b465560c753492acf1f metadata.xml 175
diff --git a/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20050728.ebuild b/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20050728.ebuild
new file mode 100644
index 000000000000..a715690f79f3
--- /dev/null
+++ b/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20050728.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.20050728.ebuild,v 1.1 2005/11/08 23:14:27 matsuu Exp $
+
+BASE_URI="ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0/misc"
+
+DESCRIPTION="Asian font packs for Adobe Acrobat Reader"
+HOMEPAGE="http://www.adobe.com/products/acrobat/acrrasianfontpack.html"
+SRC_URI="linguas_zh_CN? ( ${BASE_URI}/chsfont.tar.gz )
+ linguas_zh_TW? ( ${BASE_URI}/chtfont.tar.gz )
+ linguas_ja? ( ${BASE_URI}/jpnfont.tar.gz )
+ linguas_ko? ( ${BASE_URI}/korfont.tar.gz )"
+
+SLOT="0"
+LICENSE="Adobe"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+RESTRICT="nomirror"
+
+DEPEND="=app-text/acroread-7*"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ einfo
+ einfo "You need to set LINGUAS to desired font pack name."
+ einfo "e.g. set LINGUAS=\"ja zh_TW\" to get Japanese and"
+ einfo "Traditional Chinese font packs. Available LINGUAS"
+ einfo "are: zh_CN, zh_TW, ja and ko."
+ einfo
+ if ! useq linguas_zh_CN && ! useq linguas_zh_TW && ! useq linguas_ja && ! useq linguas_ko ; then
+ die "You need to set LINGUAS variable to emerge ${PN}."
+ fi
+}
+
+src_install() {
+ INSTALLDIR="/opt/Acrobat7/Resource"
+ INST_LANG=""
+ useq linguas_zh_CN && INST_LANG="${INST_LANG} CHS"
+ useq linguas_zh_TW && INST_LANG="${INST_LANG} CHT"
+ useq linguas_ja && INST_LANG="${INST_LANG} JPN"
+ useq linguas_ko && INST_LANG="${INST_LANG} KOR"
+
+ cd ${WORKDIR}
+ dodir ${INSTALLDIR}
+ for lang in ${INST_LANG}
+ do
+ einfo "Installing ${lang} pack ..."
+ tar xf "${lang}KIT/LANG${lang}.TAR" --no-same-owner -C ${D}/${INSTALLDIR}
+ done
+
+ einfo "Installing Asian CMaps ..."
+ tar xf ${INST_LANG/* /}KIT/LANGCOM.TAR --no-same-owner -C ${D}/${INSTALLDIR}
+
+ insinto ${INSTALLDIR}
+ doins ${INST_LANG/* /}KIT/LICREAD.TXT || die
+
+ chown -R --dereference 0:0 ${D}/${INSTALLDIR}
+}
diff --git a/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.20050728 b/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.20050728
new file mode 100644
index 000000000000..bf37734c6baf
--- /dev/null
+++ b/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.20050728
@@ -0,0 +1,4 @@
+MD5 a03c3c13b436f3cac9a54224b09fc6ff chsfont.tar.gz 13504625
+MD5 4b22f29264847cc5a69886b784a4543c chtfont.tar.gz 9098909
+MD5 e0cfe558379515a6563995c8935f8903 jpnfont.tar.gz 10653654
+MD5 3cd6dd6041ea42b67b3d0351a2c74ddd korfont.tar.gz 5323926