diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2007-04-08 00:40:28 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2007-04-08 00:40:28 +0000 |
commit | 94272163c23356fd997f9bf1fc7b3c2eda8d48c3 (patch) | |
tree | fd852e74db933438c3dfd29e650a0541a0bd5175 /media-fonts/acroread-asianfonts | |
parent | Marked ~ppc for bug #168560. (diff) | |
download | gentoo-2-94272163c23356fd997f9bf1fc7b3c2eda8d48c3.tar.gz gentoo-2-94272163c23356fd997f9bf1fc7b3c2eda8d48c3.tar.bz2 gentoo-2-94272163c23356fd997f9bf1fc7b3c2eda8d48c3.zip |
Version bumped, bug #152288.
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-fonts/acroread-asianfonts')
3 files changed, 104 insertions, 1 deletions
diff --git a/media-fonts/acroread-asianfonts/ChangeLog b/media-fonts/acroread-asianfonts/ChangeLog index bc2a1ead333a..42447ee0d677 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/ChangeLog,v 1.17 2007/03/19 14:38:44 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-fonts/acroread-asianfonts/ChangeLog,v 1.18 2007/04/08 00:40:27 matsuu Exp $ + +*acroread-asianfonts-7.0.8 (08 Apr 2007) + + 08 Apr 2007; MATSUU Takuto <matsuu@gentoo.org> + +acroread-asianfonts-7.0.8.ebuild: + Version bumped, bug #152288. 19 Mar 2007; Marius Mauch <genone@gentoo.org> acroread-asianfonts-7.0.20050728.ebuild: diff --git a/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.8.ebuild b/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.8.ebuild new file mode 100644 index 000000000000..e02a584e2495 --- /dev/null +++ b/media-fonts/acroread-asianfonts/acroread-asianfonts-7.0.8.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2007 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.8.ebuild,v 1.1 2007/04/08 00:40:27 matsuu Exp $ + +inherit eutils + +BASE_URI="ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/7.0.8/misc/FontPack708_" + +DESCRIPTION="Asian font packs for Adobe Acrobat Reader" +HOMEPAGE="http://www.adobe.com/products/acrobat/acrrasianfontpack.html" +SRC_URI="linguas_zh_CN? ( ${BASE_URI}chs_i386-linux.tar.gz ) + linguas_zh_TW? ( ${BASE_URI}cht_i386-linux.tar.gz ) + linguas_ja? ( ${BASE_URI}jpn_i386-linux.tar.gz ) + linguas_ko? ( ${BASE_URI}kor_i386-linux.tar.gz ) + !linguas_zh_CN? ( !linguas_zh_TW? ( !linguas_ja? ( !linguas_ko? ( + ${BASE_URI}chs_i386-linux.tar.gz + ${BASE_URI}cht_i386-linux.tar.gz + ${BASE_URI}jpn_i386-linux.tar.gz + ${BASE_URI}kor_i386-linux.tar.gz + ) ) ) )" +# linguas_ce? ( ${BASE_URI}ce_i386-linux.tar.gz ) +# linguas_hatv? ( ${BASE_URI}hatv_i386-linux.tar.gz ) +SLOT="0" +LICENSE="Adobe" +KEYWORDS="~amd64 ~x86" +IUSE="linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko" +RESTRICT="nomirror" + +DEPEND=">=app-text/acroread-7.0.8" + +S="${WORKDIR}" + +pkg_setup() { + local NOUSE + + if ! use linguas_zh_CN && ! use linguas_zh_TW && + ! use linguas_ja && ! use linguas_ko ; then + NOUSE=true + else + NOUSE=false + fi + + if ! built_with_use '>=app-text/acroread-7.0.8' linguas_zh_TW && (use linguas_zh_TW || $NOUSE); then + INST_LANG="${INST_LANG} CHT" + fi + + if ! built_with_use '>=app-text/acroread-7.0.8' linguas_ja && (use linguas_ja || $NOUSE); then + INST_LANG="${INST_LANG} JPN" + fi + + if ! built_with_use '>=app-text/acroread-7.0.8' linguas_ko && (use linguas_ko || $NOUSE); then + INST_LANG="${INST_LANG} KOR" + fi + + if ! built_with_use '>=app-text/acroread-7.0.8' linguas_zh_CN && (use linguas_zh_CN || $NOUSE); then + INST_LANG="${INST_LANG} CHS" + fi + + if [ "${INST_LANG}" = "" ] ; then + eerror "You don't have to install acroread-asianfonts." + eerror "Please unmerge acroread-asianfonts." + einfo "# emerge -C acroread-asianfonts" + die "You don't have to install acroread-asianfonts." + fi +} + +src_install() { + local INSTALLDIR="/opt/Acrobat7/Resource" + + 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}" + tar xf ${INST_LANG/* /}KIT/BINCOM.TAR --no-same-owner -C "${D}/${INSTALLDIR}" + + insinto ${INSTALLDIR} + doins ${INST_LANG/* /}KIT/LICREAD.TXT || die + + chown -R -L --dereference 0:0 "${D}/${INSTALLDIR}" +} diff --git a/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.8 b/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.8 new file mode 100644 index 000000000000..aac71f13c498 --- /dev/null +++ b/media-fonts/acroread-asianfonts/files/digest-acroread-asianfonts-7.0.8 @@ -0,0 +1,12 @@ +MD5 4571e19adbe7202b7593f337742eeef3 FontPack708_chs_i386-linux.tar.gz 14118337 +RMD160 b2fb81cf31451a9cb08e6eee930f99be9ebe50ed FontPack708_chs_i386-linux.tar.gz 14118337 +SHA256 a39342d7c017315eb92b93c289bd9ef9c2601f2fd6033c7968fc34d9a50540c2 FontPack708_chs_i386-linux.tar.gz 14118337 +MD5 8dff8bbeaa4c679655784263882f0f87 FontPack708_cht_i386-linux.tar.gz 9713040 +RMD160 dbdffbf834702c0b95aca5e358fba9abb2fde83c FontPack708_cht_i386-linux.tar.gz 9713040 +SHA256 48f16485c192aa5f77cb2c42869f5484b058b71c4631c6d8f1ad7c8d22ebf40d FontPack708_cht_i386-linux.tar.gz 9713040 +MD5 b0bd286409a4bcf34c831fe41c208370 FontPack708_jpn_i386-linux.tar.gz 11268460 +RMD160 78d30b947ce6d17e56e19f6126f53fcfa43dd2c0 FontPack708_jpn_i386-linux.tar.gz 11268460 +SHA256 5621ce6c8e129bc530cfcb4de58bd9d618dda28a69830237dfef7acd93023238 FontPack708_jpn_i386-linux.tar.gz 11268460 +MD5 045fbc3eb8f38da5e1aeec326fdedaa0 FontPack708_kor_i386-linux.tar.gz 5938528 +RMD160 c11cb71f467c3ecd8332ff3a0012989f5cfb2850 FontPack708_kor_i386-linux.tar.gz 5938528 +SHA256 2057a084d5a89dfe2f01d68a68accd09dac88e89620276dcb95a6f1c8f052e76 FontPack708_kor_i386-linux.tar.gz 5938528 |