diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2003-07-22 07:32:05 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2003-07-22 07:32:05 +0000 |
commit | 82337dd0e3847f1ee40ee49d04a02fbc3aa3c732 (patch) | |
tree | 20c665dda0516de52e6eb6c310eab92f6e289f82 /app-text/acroread | |
parent | add cjk flag for Asian Font Packs(media-fonts/acroread-asianfonts) (diff) | |
download | gentoo-2-82337dd0e3847f1ee40ee49d04a02fbc3aa3c732.tar.gz gentoo-2-82337dd0e3847f1ee40ee49d04a02fbc3aa3c732.tar.bz2 gentoo-2-82337dd0e3847f1ee40ee49d04a02fbc3aa3c732.zip |
add cjk flag for Asian Font Packs(media-fonts/acroread-asianfonts)
Diffstat (limited to 'app-text/acroread')
-rw-r--r-- | app-text/acroread/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/acroread/Manifest | 4 | ||||
-rw-r--r-- | app-text/acroread/acroread-5.07-r1.ebuild | 63 | ||||
-rw-r--r-- | app-text/acroread/files/digest-acroread-5.07-r1 | 1 |
4 files changed, 72 insertions, 3 deletions
diff --git a/app-text/acroread/ChangeLog b/app-text/acroread/ChangeLog index ba87e6d8f34f..aff968298727 100644 --- a/app-text/acroread/ChangeLog +++ b/app-text/acroread/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/acroread # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.20 2003/06/18 20:01:08 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.21 2003/07/22 07:31:50 matsuu Exp $ + +*acroread-5.07-r1 (22 Jul 2003) + + 22 Jul 2003; MATSUU Takuto <matsuu@gentoo.org> acroread-5.07-r1.ebuild: + add cjk flag. Bug 20821. *acroread-5.07 (18 Jun 2003) diff --git a/app-text/acroread/Manifest b/app-text/acroread/Manifest index a85ba149c047..d2d989ac63b2 100644 --- a/app-text/acroread/Manifest +++ b/app-text/acroread/Manifest @@ -1,7 +1,7 @@ -MD5 028aa7ba04666983d4e4e3af6b40a2cf ChangeLog 4668 +MD5 74038cd94255289563e78f7f9a9cadbf ChangeLog 4801 MD5 5255a6f6c5d5b0b95e417a3b799c266b acroread-5.06-r3.ebuild 1509 MD5 c17acd6632fafb2f6e44871483dc1507 acroread-5.07.ebuild 1514 -MD5 61e52bab27ab2b1393c2c5f4b73aa873 acroread-5.07-r1.ebuild 1570 +MD5 4fe8c593f6f0466e6d4c394c07af3a55 acroread-5.07-r1.ebuild 1575 MD5 79e83cb62b3ccd74eda3b43c98586688 files/10acroread5 42 MD5 d1913102144d46de313e7c837173b702 files/acroread 1094 MD5 b24ca817ffe64019db4a584006ea3a1a files/acroread-utf8-gentoo.diff 352 diff --git a/app-text/acroread/acroread-5.07-r1.ebuild b/app-text/acroread/acroread-5.07-r1.ebuild new file mode 100644 index 000000000000..2f85f1b94833 --- /dev/null +++ b/app-text/acroread/acroread-5.07-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-5.07-r1.ebuild,v 1.1 2003/07/22 07:31:50 matsuu Exp $ + +inherit nsplugins eutils + +MY_P=linux-${PV/./} +S=${WORKDIR} +DESCRIPTION="Adobe's PDF reader" +SRC_URI="ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/${MY_P}.tar.gz" +HOMEPAGE="http://www.adobe.com/products/acrobat/" +IUSE="cjk" + +SLOT="0" +LICENSE="Adobe" +KEYWORDS="-* ~x86" + +RESTRICT="nostrip" +DEPEND="virtual/glibc + >=sys-apps/sed-4" +RDEPEND="cjk? ( media-fonts/acroread-asianfonts )" + +INSTALLDIR=/opt/Acrobat5 + +src_compile() { + + tar -xvf LINUXRDR.TAR --no-same-owner + tar -xvf COMMON.TAR --no-same-owner + + sed -e "s:REPLACE_ME:${INSTALLDIR}/Reader:" \ + bin/acroread.sh > acroread + + epatch ${FILESDIR}/acroread-utf8-gentoo.diff +} + +src_install() { + + dodir ${INSTALLDIR} + for i in Browsers Reader Resource + do + if [ -d ${i} ] ; then + chown -R --dereference root.root ${i} + cp -Rd ${i} ${D}${INSTALLDIR} + fi + done + + sed -i \ + -e "s:\$PROG =.*:\$PROG = '${INSTALLDIR}/acroread.real':" \ + acroread || die "sed acroread failed" + + exeinto ${INSTALLDIR} + doexe acroread + dodoc README LICREAD.TXT + dodir /opt/netscape/plugins + dosym ${INSTALLDIR}/Browsers/intellinux/nppdf.so /opt/netscape/plugins + + #dynamic environment by T.Henderson@cs.ucl.ac.uk (Tristan Henderson) + dodir /etc/env.d + echo -e "PATH=${INSTALLDIR}\nROOTPATH=${INSTALLDIR}" > \ + ${D}/etc/env.d/10acroread5 + + inst_plugin ${INSTALLDIR}/Browsers/intellinux/nppdf.so +} diff --git a/app-text/acroread/files/digest-acroread-5.07-r1 b/app-text/acroread/files/digest-acroread-5.07-r1 new file mode 100644 index 000000000000..924336b2f9a3 --- /dev/null +++ b/app-text/acroread/files/digest-acroread-5.07-r1 @@ -0,0 +1 @@ +MD5 25f0ab387ebed3bf63ca24962ffcf9fa linux-507.tar.gz 9282753 |