summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2003-07-22 07:32:05 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2003-07-22 07:32:05 +0000
commitfcb9fdb02ed3ccb28a3b5984bf283ce29ca99380 (patch)
tree09c665c48cc73da6da5be4bbc87b8409550ea36b /app-text/acroread
parentadd cjk flag for Asian Font Packs(media-fonts/acroread-asianfonts) (diff)
downloadhistorical-fcb9fdb02ed3ccb28a3b5984bf283ce29ca99380.tar.gz
historical-fcb9fdb02ed3ccb28a3b5984bf283ce29ca99380.tar.bz2
historical-fcb9fdb02ed3ccb28a3b5984bf283ce29ca99380.zip
add cjk flag for Asian Font Packs(media-fonts/acroread-asianfonts)
Diffstat (limited to 'app-text/acroread')
-rw-r--r--app-text/acroread/Manifest4
-rw-r--r--app-text/acroread/acroread-5.07-r1.ebuild63
-rw-r--r--app-text/acroread/files/digest-acroread-5.07-r11
3 files changed, 66 insertions, 2 deletions
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