diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2005-03-14 21:27:05 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2005-03-14 21:27:05 +0000 |
commit | b6e4a630aaefc0ea6aa599e1c23edc8503182526 (patch) | |
tree | ea63d7d2cd0aa9398fae49d85fce8f6c3e5aa047 /app-text | |
parent | Ebuild for KDE 3.4 final. (diff) | |
download | gentoo-2-b6e4a630aaefc0ea6aa599e1c23edc8503182526.tar.gz gentoo-2-b6e4a630aaefc0ea6aa599e1c23edc8503182526.tar.bz2 gentoo-2-b6e4a630aaefc0ea6aa599e1c23edc8503182526.zip |
version bump
(Portage version: 1.585-cvs)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/acroread/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/acroread/Manifest | 4 | ||||
-rw-r--r-- | app-text/acroread/acroread-7.0.ebuild | 70 | ||||
-rw-r--r-- | app-text/acroread/files/digest-acroread-7.0 | 1 |
4 files changed, 80 insertions, 2 deletions
diff --git a/app-text/acroread/ChangeLog b/app-text/acroread/ChangeLog index d2e0b6c89011..fd1c48f09175 100644 --- a/app-text/acroread/ChangeLog +++ b/app-text/acroread/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/acroread # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.44 2005/01/14 15:37:44 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/ChangeLog,v 1.45 2005/03/14 21:27:05 genstef Exp $ + +*acroread-7.0 (14 Mar 2005) + + 14 Mar 2005; Stefan Schweizer <genstef@gentoo.org> +acroread-7.0.ebuild: + version bump 14 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> acroread-5.10.ebuild: back to amd64 from of emul-linux-x86 diff --git a/app-text/acroread/Manifest b/app-text/acroread/Manifest index f471b163b5d4..ce9b5d0f90b6 100644 --- a/app-text/acroread/Manifest +++ b/app-text/acroread/Manifest @@ -1,4 +1,6 @@ +MD5 d518e681fde739d3635988d9f3d0158e acroread-7.0.ebuild 1630 MD5 280de59e14d75551c2810de7b332058f acroread-5.10.ebuild 2365 -MD5 a0bbb2179ac17e73e28b0ff6b35fdd63 ChangeLog 7455 +MD5 812fd7f76d98291f3b8255d2b3f494aa ChangeLog 7575 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 MD5 d0981fc5a58874b78a6f2a2b73d3e43d files/digest-acroread-5.10 63 +MD5 c54a04836864a99a8792ef5817a968c1 files/digest-acroread-7.0 73 diff --git a/app-text/acroread/acroread-7.0.ebuild b/app-text/acroread/acroread-7.0.ebuild new file mode 100644 index 000000000000..58ac58f2b8d1 --- /dev/null +++ b/app-text/acroread/acroread-7.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-7.0.ebuild,v 1.1 2005/03/14 21:27:05 genstef Exp $ + +inherit nsplugins eutils + +DESCRIPTION="Adobe's PDF reader" +HOMEPAGE="http://www.adobe.com/products/acrobat/" +SRC_URI="ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/${PV}/enu/AdbeRdr${PV/.}_linux_enu.tar.gz" + +LICENSE="Adobe" +SLOT="0" +KEYWORDS="-* ~x86" +IUSE="cjk noplugin" +RESTRICT="nostrip" + +DEPEND="virtual/libc" +RDEPEND="cjk? ( media-fonts/acroread-asianfonts )" +PROVIDE="virtual/pdfviewer" + +INSTALLDIR=/opt/Acrobat7 + +S=${WORKDIR}/AdobeReader + +src_unpack() { + unpack ${A} + cd ${S} + tar xf COMMON.TAR --no-same-owner + tar xf ILINXR.TAR --no-same-owner +} + +src_install() { + local i + + cp Resource/Support/AdobeReader_KDE.desktop AdobeReader.desktop + domenu AdobeReader.desktop + doicon Resource/Icons/AdobeReader.png + + dodir ${INSTALLDIR} + DIRS="Reader Resource" + use !noplugin && DIRS="${DIRS} Browser" + for i in ${DIRS} + do + if [ -d ${i} ] ; then + chown -R --dereference root:root ${i} + mv ${i} ${D}${INSTALLDIR} + fi + done + + exeinto ${INSTALLDIR} + doexe bin/acroread || die "doexe failed" + dodoc README LICREAD.TXT + + if ! use noplugin ; then + dodir /opt/netscape/plugins + dosym ${INSTALLDIR}/Browser/intellinux/nppdf.so /opt/netscape/plugins + inst_plugin ${INSTALLDIR}/Browser/intellinux/nppdf.so + fi + + #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 + +} + +pkg_postinst () { + # fix wrong directory permissions (bug #25931) + find ${INSTALLDIR} -type d | xargs chmod 755 || die +} diff --git a/app-text/acroread/files/digest-acroread-7.0 b/app-text/acroread/files/digest-acroread-7.0 new file mode 100644 index 000000000000..2d5c7caab4b6 --- /dev/null +++ b/app-text/acroread/files/digest-acroread-7.0 @@ -0,0 +1 @@ +MD5 f847ce21e5d871837f2dc1d2f1baf9a9 AdbeRdr70_linux_enu.tar.gz 40104508 |