# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Your Name # $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-4.05-r2.ebuild,v 1.1 2001/10/20 03:22:08 lordjoe Exp $ P=linux-ar-405 S=${WORKDIR}/ILINXR.install DESCRIPTION="Adobe's PDF reader" SRC_URI="ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/${P}.tar.gz" HOMEPAGE="http://www.adobe.com/products/acrobat/" DEPEND="virtual/glibc" RDEPEND="virtual/x11" src_unpack() { unpack ${A} cd ${S} tar xvf ILINXR.TAR tar xvf READ.TAR sed -e "s:REPLACE_ME:/opt/Acrobat4/Reader:" \ bin/acroread.sh > acroread } src_compile () { einfo "A binary package, nothing to compile" } src_install () { dodir /opt/Acrobat4 for i in Browsers Reader Resource do cp -a ${S}/${i} ${D}/opt/Acrobat4 done exeinto /opt/Acrobat4 doexe acroread dodoc ReadMe LICREAD.TXT into /opt/netscape/plugins dosym /opt/Acrobat4/Browsers/intellinux/nppdf.so /opt/netscape/plugins insinto /etc/env.d doins ${FILESDIR}/10acroread }