summaryrefslogtreecommitdiff
blob: abb1ee65ebf157ab6ca3a5e657702c95db816572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-4.05-r1.ebuild,v 1.1 2001/10/06 15:30:15 danarmak Exp $

A=linux-ar-405.tar.gz
S=${WORKDIR}/ILINXR.install
DESCRIPTION="Adobe's PDF reader"
SRC_URI="ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/${A}"
HOMEPAGE="http://www.adobe.com/products/acrobat/"

DEPEND=""
RDEPEND="virtual/x11"

src_compile() {

  tar xvf ILINXR.TAR
  tar xvf READ.TAR 
  sed -e "s:REPLACE_ME:/usr/lib/Acrobat4/Reader:" \
	bin/acroread.sh > acroread
}

src_install () {

  dodir /usr/lib/Acrobat4
  for i in Browsers Reader Resource
  do
    cp -a ${S}/${i} ${D}/usr/lib/Acrobat4
  done
  exeinto /usr/bin
  doexe acroread
  dodoc ReadMe LICREAD.TXT
  dodir /opt/netscape/plugins
  dosym /usr/lib/Acrobat4/Browsers/intellinux/nppdf.so /opt/netscape/plugins
}