summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-09-23 10:02:39 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-09-23 10:02:39 +0000
commite26874e7623d20ca65e470b6c5e0b893d2ed293d (patch)
treea5d22bcf4c2db28e683248b790165dc24a53ba5c /app-text/acroread
parentgames_pkg_postinst (diff)
downloadhistorical-e26874e7623d20ca65e470b6c5e0b893d2ed293d.tar.gz
historical-e26874e7623d20ca65e470b6c5e0b893d2ed293d.tar.bz2
historical-e26874e7623d20ca65e470b6c5e0b893d2ed293d.zip
fix use invocation; error check sed; tidy
Diffstat (limited to 'app-text/acroread')
-rw-r--r--app-text/acroread/ChangeLog6
-rw-r--r--app-text/acroread/Manifest6
-rw-r--r--app-text/acroread/acroread-5.09-r1.ebuild27
3 files changed, 23 insertions, 16 deletions
diff --git a/app-text/acroread/ChangeLog b/app-text/acroread/ChangeLog
index d4416a7bd1c4..35e3ca3f2358 100644
--- a/app-text/acroread/ChangeLog
+++ b/app-text/acroread/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/acroread
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.36 2004/09/22 12:29:55 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.37 2004/09/23 10:02:39 mr_bones_ Exp $
+
+ 23 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ acroread-5.09-r1.ebuild:
+ fix use invocation; error check sed; tidy
*acroread-5.09-r1 (22 Sep 2004)
diff --git a/app-text/acroread/Manifest b/app-text/acroread/Manifest
index c515211f4878..27945219dadf 100644
--- a/app-text/acroread/Manifest
+++ b/app-text/acroread/Manifest
@@ -1,6 +1,6 @@
-MD5 737f708685e42e1763d927d6850e0984 acroread-5.09-r1.ebuild 2280
+MD5 135f9b8a7a15e371ff6539b0f9d16105 ChangeLog 6691
MD5 9e36ef1a47e8b93851a7f7f8f31f2190 acroread-5.09.ebuild 2142
-MD5 5403d1006aaad27f8c99bc80fa857083 ChangeLog 6561
+MD5 72a62111082d2e11d012a833750a8bec acroread-5.09-r1.ebuild 2334
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
-MD5 b27aee5f7e9cf1c2026531792e263b1c files/digest-acroread-5.09 62
MD5 b27aee5f7e9cf1c2026531792e263b1c files/digest-acroread-5.09-r1 62
+MD5 b27aee5f7e9cf1c2026531792e263b1c files/digest-acroread-5.09 62
diff --git a/app-text/acroread/acroread-5.09-r1.ebuild b/app-text/acroread/acroread-5.09-r1.ebuild
index 6d29e4c82a1e..f81d9ea8f672 100644
--- a/app-text/acroread/acroread-5.09-r1.ebuild
+++ b/app-text/acroread/acroread-5.09-r1.ebuild
@@ -1,21 +1,20 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-5.09-r1.ebuild,v 1.1 2004/09/22 12:29:55 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-5.09-r1.ebuild,v 1.2 2004/09/23 10:02:39 mr_bones_ 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 noplugin"
+SRC_URI="ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/${MY_P}.tar.gz"
-SLOT="0"
LICENSE="Adobe"
+SLOT="0"
KEYWORDS="-* ~x86 ~amd64"
-
+IUSE="cjk noplugin"
RESTRICT="nostrip"
+
DEPEND="virtual/libc
>=sys-apps/sed-4"
RDEPEND="cjk? ( media-fonts/acroread-asianfonts )
@@ -23,8 +22,10 @@ RDEPEND="cjk? ( media-fonts/acroread-asianfonts )
INSTALLDIR=/opt/Acrobat5
+S="${WORKDIR}"
+
pkg_setup() {
- if [ ! `use noplugin` ]; then
+ if ! use noplugin ; then
einfo
einfo "gtk2 USE flag can cause a slowdown in Mozilla's performance"
einfo "especially when using the acroread plugin to view a PDF file."
@@ -33,7 +34,6 @@ pkg_setup() {
}
src_compile() {
-
tar -xvf LINUXRDR.TAR --no-same-owner
tar -xvf COMMON.TAR --no-same-owner
@@ -45,15 +45,18 @@ src_compile() {
# Workaround till lib symlinks change from lib64 to lib32
# Danny van Dyk <kugelfang@gentoo.org> 2004/08/30
if use amd64 ; then
- sed -i -e "s:^install_dir:export XLOCALEDIR=/usr/X11R6/lib32/X11/locale/\n&:1" acroread
+ sed -i \
+ -e "s:^install_dir:export XLOCALEDIR=/usr/X11R6/lib32/X11/locale/\n&:1" acroread \
+ || die "sed failed"
fi
}
src_install() {
+ local i
dodir ${INSTALLDIR}
DIRS="Reader Resource"
- !(use noplugin) && DIRS="${DIRS} Browsers"
+ use !noplugin && DIRS="${DIRS} Browsers"
for i in ${DIRS}
do
if [ -d ${i} ] ; then
@@ -67,10 +70,10 @@ src_install() {
acroread || die "sed acroread failed"
exeinto ${INSTALLDIR}
- doexe acroread
+ doexe acroread || die "doexe failed"
dodoc README LICREAD.TXT
- if [ ! `use noplugin` ]; then
+ if ! use noplugin ; then
dodir /opt/netscape/plugins
dosym ${INSTALLDIR}/Browsers/intellinux/nppdf.so /opt/netscape/plugins
inst_plugin ${INSTALLDIR}/Browsers/intellinux/nppdf.so